--- apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: infra-controllers namespace: flux-system spec: interval: 1h retryInterval: 1m timeout: 5m sourceRef: kind: GitRepository name: flux-system path: ./flux/infrastructure/controllers prune: true wait: true --- apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: infra-configs namespace: flux-system spec: dependsOn: - name: infra-controllers interval: 1h retryInterval: 1m timeout: 5m sourceRef: kind: GitRepository name: flux-system path: ./flux/infrastructure/configs prune: true patches: - patch: | - op: replace path: /spec/acme/server value: https://acme-staging-v02.api.letsencrypt.org/directory target: kind: ClusterIssuer name: letsencrypt - patch: | - op: replace path: /metadata/name value: letsencrypt-staging target: kind: ClusterIssuer name: letsencrypt - patch: | - op: replace path: /spec/acme/privateKeySecretRef/name value: letsencrypt-staging target: kind: ClusterIssuer name: letsencrypt