$ kubectl -n flux-system edit deployment helm-controller |
$ kubectl -n flux-system get deployment helm-controller -o yaml > helm-controller.yaml $ vi helm-controller.yaml $ kubectl apply -f helm-controller.yaml |
Patch:
spec: template: spec: securityContext: runAsUser: 999 |
$ kubectl -n flux-system patch deployment notification-controller --patch "$(cat patch.yaml)" |