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

move fsGroupChangePolicy

parent 81b4f733
No related branches found
No related tags found
No related merge requests found
Pipeline #132591 passed
Pipeline: shiny-k8s-example

#132592

    ......@@ -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
    ......
    ......@@ -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
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment