File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
charts/cluster-api-runtime-extensions-nutanix Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ A Helm chart for cluster-api-runtime-extensions-nutanix
3535| helmRepositoryImage.pullPolicy | string | ` "IfNotPresent" ` | |
3636| helmRepositoryImage.repository | string | ` "ghcr.io/nutanix-cloud-native/caren-helm-reg" ` | |
3737| helmRepositoryImage.tag | string | ` "" ` | |
38+ | helmRepositorySecurityContext.fsGroup | int | ` 100 ` | |
39+ | helmRepositorySecurityContext.runAsGroup | int | ` 100 ` | |
40+ | helmRepositorySecurityContext.runAsUser | int | ` 405 ` | |
3841| hooks.ccm.aws.helmAddonStrategy.defaultValueTemplateConfigMap.create | bool | ` true ` | |
3942| hooks.ccm.aws.helmAddonStrategy.defaultValueTemplateConfigMap.name | string | ` "default-aws-ccm-helm-values-template" ` | |
4043| hooks.ccm.aws.k8sMinorVersionToCCMVersion."1.27" | string | ` "v1.27.9" ` | |
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ spec:
101101 periodSeconds : 1
102102 priorityClassName : {{ .Values.priorityClassName }}
103103 securityContext :
104- {{ with .Values.securityContext }}
104+ {{ with .Values.helmRepositorySecurityContext }}
105105 {{- toYaml . | nindent 8}}
106106 {{- end }}
107107 volumes :
Original file line number Diff line number Diff line change @@ -156,8 +156,16 @@ resources:
156156 requests :
157157 cpu : 100m
158158 memory : 128Mi
159+
159160securityContext :
160161 runAsUser : 65532
162+
163+ # The helm-repository containers are based on an Alpine image with a different nonroot user
164+ helmRepositorySecurityContext :
165+ runAsUser : 405
166+ runAsGroup : 100
167+ fsGroup : 100
168+
161169service :
162170 annotations : {}
163171 type : ClusterIP
You can’t perform that action at this time.
0 commit comments