apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - gotk-components.yaml - gotk-sync.yaml patches: - target: kind: Deployment name: (source-controller|helm-controller) patch: |- apiVersion: apps/v1 kind: Deployment metadata: name: not-used spec: template: spec: volumes: - name: host-ca-certs hostPath: path: /etc/ssl/certs type: Directory containers: - name: manager volumeMounts: - name: host-ca-certs mountPath: /etc/ssl/certs readOnly: true