diff --git a/clusters/production/infrastructure.yaml b/clusters/production/infrastructure.yaml index 0c5480f..3d52ad8 100644 --- a/clusters/production/infrastructure.yaml +++ b/clusters/production/infrastructure.yaml @@ -32,30 +32,17 @@ spec: path: ./infrastructure/configs prune: true patches: - - patch: |- + - patch: | - op: replace path: /spec/acme/server value: https://acme-staging-v02.api.letsencrypt.org/directory - - 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 - # - 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 \ No newline at end of file + name: letsencrypt \ No newline at end of file