diff --git a/rshiny/Chart.yaml b/rshiny/Chart.yaml index 638e96a593791469e2d6bf06e349b698eb6ea368..2a2d1d2da155fdd852be2b32d5e187d206b61e49 100644 --- a/rshiny/Chart.yaml +++ b/rshiny/Chart.yaml @@ -15,7 +15,7 @@ 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.3.1 +version: 0.4.0 # 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 diff --git a/rshiny/templates/deployment.yaml b/rshiny/templates/deployment.yaml index 06dc656eb919c3b4e836dc942b0190a678ec146e..3f14f692260f144a8bdb4c5f79863a014710a9ca 100644 --- a/rshiny/templates/deployment.yaml +++ b/rshiny/templates/deployment.yaml @@ -29,6 +29,9 @@ spec: containers: - name: rshiny-pod image: {{ .Values.imageFullNameAndTag }} + {{- if .Values.shiny.enforceCommand }} + command: ["shiny-server"] + {{- end }} securityContext: runAsGroup: 999 runAsUser: 999 diff --git a/rshiny/values.yaml b/rshiny/values.yaml index 749e3da53ad027755d9426e2e0a3c46e3242e20f..c42f704336be0e84110ac677347e48111f28b6be 100644 --- a/rshiny/values.yaml +++ b/rshiny/values.yaml @@ -23,7 +23,6 @@ resources: ingress: - enabled: true className: "" annotations: nginx.ingress.kubernetes.io/affinity: cookie @@ -33,3 +32,6 @@ ingress: registry: private: false + +shinyServer: + enforceCommand: true \ No newline at end of file