File tree Expand file tree Collapse file tree 3 files changed +43
-0
lines changed
Expand file tree Collapse file tree 3 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -984,6 +984,33 @@ false
984984</td >
985985 <td>Additional init containers to add to the parent pods</td>
986986 </tr>
987+ <tr>
988+ <td>netdataOpentelemetry.securityContext.runAsUser</td>
989+ <td>int</td>
990+ <td><pre lang="json">
991+ 201
992+ </pre >
993+ </td >
994+ <td>The UID to run the container process</td>
995+ </tr>
996+ <tr>
997+ <td>netdataOpentelemetry.securityContext.runAsGroup</td>
998+ <td>int</td>
999+ <td><pre lang="json">
1000+ 201
1001+ </pre >
1002+ </td >
1003+ <td>The GID to run the container process</td>
1004+ </tr>
1005+ <tr>
1006+ <td>netdataOpentelemetry.securityContext.fsGroup</td>
1007+ <td>int</td>
1008+ <td><pre lang="json">
1009+ 201
1010+ </pre >
1011+ </td >
1012+ <td>The supplementary group for setting permissions on volumes</td>
1013+ </tr>
9871014 </tbody>
9881015</table >
9891016<h3 >Child</h3 >
Original file line number Diff line number Diff line change 3737{{ toYaml . | trim | indent 8 }}
3838{{- end }}
3939 spec :
40+ securityContext :
41+ fsGroup : {{ .Values.netdataOpentelemetry.securityContext.fsGroup }}
4042 serviceAccountName : {{ .Values.serviceAccount.name }}
4143 restartPolicy : Always
4244 {{- if .Values.netdataOpentelemetry.priorityClassName }}
@@ -122,6 +124,9 @@ spec:
122124 periodSeconds : {{ .Values.netdataOpentelemetry.readinessProbe.periodSeconds }}
123125 successThreshold : {{ .Values.netdataOpentelemetry.readinessProbe.successThreshold }}
124126 timeoutSeconds : {{ .Values.netdataOpentelemetry.readinessProbe.timeoutSeconds }}
127+ securityContext :
128+ runAsUser : {{ .Values.netdataOpentelemetry.securityContext.runAsUser }}
129+ runAsGroup : {{ .Values.netdataOpentelemetry.securityContext.runAsGroup }}
125130 volumeMounts :
126131 - name : os-release
127132 mountPath : /host/etc/os-release
Original file line number Diff line number Diff line change @@ -930,6 +930,17 @@ netdataOpentelemetry:
930930 # @section -- Netdata OpenTelemetry
931931 timeoutSeconds : 1
932932
933+ securityContext :
934+ # -- The UID to run the container process
935+ # @section -- Parent
936+ runAsUser : 201
937+ # -- The GID to run the container process
938+ # @section -- Parent
939+ runAsGroup : 201
940+ # -- The supplementary group for setting permissions on volumes
941+ # @section -- Parent
942+ fsGroup : 201
943+
933944 # -- Duration in seconds the pod needs to terminate gracefully
934945 # @section -- Netdata OpenTelemetry
935946 terminationGracePeriodSeconds : 30
You can’t perform that action at this time.
0 commit comments