Skip to content
Snippets Groups Projects
Commit 4423ad2b authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

force to use shiny-server as command for the container, can be diseabled

parent 3922bc1a
No related branches found
No related tags found
No related merge requests found
Pipeline #106648 failed
...@@ -15,7 +15,7 @@ type: application ...@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.1 version: 0.4.0
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to
......
...@@ -29,6 +29,9 @@ spec: ...@@ -29,6 +29,9 @@ spec:
containers: containers:
- name: rshiny-pod - name: rshiny-pod
image: {{ .Values.imageFullNameAndTag }} image: {{ .Values.imageFullNameAndTag }}
{{- if .Values.shiny.enforceCommand }}
command: ["shiny-server"]
{{- end }}
securityContext: securityContext:
runAsGroup: 999 runAsGroup: 999
runAsUser: 999 runAsUser: 999
......
...@@ -23,7 +23,6 @@ resources: ...@@ -23,7 +23,6 @@ resources:
ingress: ingress:
enabled: true
className: "" className: ""
annotations: annotations:
nginx.ingress.kubernetes.io/affinity: cookie nginx.ingress.kubernetes.io/affinity: cookie
...@@ -33,3 +32,6 @@ ingress: ...@@ -33,3 +32,6 @@ ingress:
registry: registry:
private: false private: false
shinyServer:
enforceCommand: true
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment