From 08d503920e99736bfe2baf07f1f5bf602c8ad582 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Fri, 28 Jun 2024 16:42:01 -0800 Subject: [PATCH] separate patches --- clusters/production/infrastructure.yaml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) 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