From 7720efcb91be0cc2ea7d18d0dbbbddf1f232989d Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Tue, 12 Nov 2024 21:32:26 +0000 Subject: [PATCH] chore: to remove --- registry/clusters/dev/homepage.yaml | 27 ++++++++++++++++++--------- registry/clusters/dev/registry.yaml | 2 +- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/registry/clusters/dev/homepage.yaml b/registry/clusters/dev/homepage.yaml index 1ae27c8..ccf793d 100644 --- a/registry/clusters/dev/homepage.yaml +++ b/registry/clusters/dev/homepage.yaml @@ -12,27 +12,36 @@ spec: source: repoURL: https://github.com/mrsimonemms/infrastructure path: registry/components/homepage - targetRevision: HEAD + targetRevision: sje/homepage kustomize: patches: - target: - group: networking.k8s.io - version: v1 - kind: Ingress + group: argoproj.io + version: v1alpha1 + kind: Application name: homepage patch: |- - op: replace - path: /spec/rules/0/host + path: /spec/source/helm/valuesObject/ingress/main/hosts/0/host value: homepage.simonemms.com - target: - group: networking.k8s.io - version: v1 - kind: Ingress + group: argoproj.io + version: v1alpha1 + kind: Application name: homepage patch: |- - op: replace - path: /spec/tls/0/host + path: /spec/source/helm/valuesObject/ingress/main/tls/0/host value: homepage.simonemms.com + - target: + group: argoproj.io + version: v1alpha1 + kind: Application + name: homepage + patch: |- + - op: replace + path: /spec/source/helm/valuesObject/ingress/main/annotations/cert-manager.io~1cluster-issuer + value: letsencrypt-staging2 destination: server: https://kubernetes.default.svc namespace: homepage diff --git a/registry/clusters/dev/registry.yaml b/registry/clusters/dev/registry.yaml index 0374dda..09f9cfb 100644 --- a/registry/clusters/dev/registry.yaml +++ b/registry/clusters/dev/registry.yaml @@ -12,7 +12,7 @@ spec: source: repoURL: https://github.com/mrsimonemms/infrastructure path: registry/clusters/dev - targetRevision: HEAD + targetRevision: sje/homepage destination: server: https://kubernetes.default.svc namespace: argocd