diff --git a/shiny-server/Chart.yaml b/shiny-server/Chart.yaml index 9c849d331b0840906688973e33104f41e893c127..9f8239622269b71866e69151fd4a7b0ac10a883e 100644 --- a/shiny-server/Chart.yaml +++ b/shiny-server/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.7.3 +version: 0.7.4 # 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/shiny-server/templates/deployment.yaml b/shiny-server/templates/deployment.yaml index ce0b35dedba27124f81f161d3dfdf28da1b920e5..a0fb8e5c39770687647164e3577c6750dca94978 100644 --- a/shiny-server/templates/deployment.yaml +++ b/shiny-server/templates/deployment.yaml @@ -29,6 +29,9 @@ spec: imagePullSecrets: - name: {{ include "chart.fullname" . }} {{- end }} + securityContext: + runAsNonRoot: true + fsGroupChangePolicy: OnRootMismatch containers: - name: rshiny-pod image: {{ .Values.imageFullNameAndTag }} @@ -36,7 +39,6 @@ spec: runAsGroup: 999 runAsUser: 999 fsGroup: 999 - fsGroupChangePolicy: OnRootMismatch ports: - name: http containerPort: 3838