Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
rstudio versionning
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Feb 16, 2021
1 parent 027fb5b commit b03eebd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 1 addition & 5 deletions charts/rstudio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.7
version: 0.2.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: latest
2 changes: 1 addition & 1 deletion charts/rstudio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.service.image.repository }}:{{ .Values.service.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.service.image.repository }}:{{ .Values.r.version }}"
command: ["/bin/sh","-c"]
args: ["/data/{{ .Values.init.filename}} /init"]
imagePullPolicy: {{ .Values.service.image.pullPolicy }}
Expand Down
12 changes: 12 additions & 0 deletions charts/rstudio/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"r": {
"description": "postgres specific configuration",
"type": "object",
"properties": {
"version": {
"description": "r version",
"type": "string",
"enum": ["3.6.3", "4.0.3"],
"default": "3.6.3"
}
}
},
"resources": {
"description": "Your service will have at least the requested resources and never more than its limits. No limit for a resource and you can consume everything left on the host machine.",
"type": "object",
Expand Down

0 comments on commit b03eebd

Please sign in to comment.