Closed wuzhihui1123 closed 3 months ago
please raise PR against the main
branch
users can configure it via the containerSecurityContext
.
users can configure it via the
containerSecurityContext
.
Certainly! Here is the translation:
Users can configure the spec.containers[*].securityContext vaule within a pod using .Values.containerSecurityContext
, but the spec.securityContext
under the pod cannot be configured. The fsGroupChangePolicy
value under it is fixed to OnRootMismatch
, which makes it impossible to deploy services in Kubernetes versions <=1.20. My modification allows the pod to support custom values for the spec.securityContext
field, making it compatible with deployments in lower versions of Kubernetes.
Can you help reopen my pull request? @zyyw
@wuzhihui1123 wir only Support k8s >= 1.20. There is no intent to support older k8s version
@wuzhihui1123 wir only Support k8s >= 1.20. There is no intent to support older k8s version
Well, it seems I have to fork my own repository. 😂 @Vad1mo
Move the fsGroupChangePolicy value of the registry to the values.yaml, so that different field values can be configured for it.