From d04f9e93c56d9fd553795250721dec463adf4392 Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Tue, 12 Nov 2024 21:48:12 +0000 Subject: [PATCH] chore: sort this out later --- registry/clusters/dev/homepage.yaml | 8 ++++---- registry/components/homepage/application.yaml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/registry/clusters/dev/homepage.yaml b/registry/clusters/dev/homepage.yaml index ccf793d..a7b923c 100644 --- a/registry/clusters/dev/homepage.yaml +++ b/registry/clusters/dev/homepage.yaml @@ -23,7 +23,7 @@ spec: patch: |- - op: replace path: /spec/source/helm/valuesObject/ingress/main/hosts/0/host - value: homepage.simonemms.com + value: homepage.dev.simonemms.com - target: group: argoproj.io version: v1alpha1 @@ -31,8 +31,8 @@ spec: name: homepage patch: |- - op: replace - path: /spec/source/helm/valuesObject/ingress/main/tls/0/host - value: homepage.simonemms.com + path: /spec/source/helm/valuesObject/ingress/main/tls/0/hosts/0 + value: homepage.dev.simonemms.com - target: group: argoproj.io version: v1alpha1 @@ -41,7 +41,7 @@ spec: patch: |- - op: replace path: /spec/source/helm/valuesObject/ingress/main/annotations/cert-manager.io~1cluster-issuer - value: letsencrypt-staging2 + value: letsencrypt-staging destination: server: https://kubernetes.default.svc namespace: homepage diff --git a/registry/components/homepage/application.yaml b/registry/components/homepage/application.yaml index 1924101..8c4e954 100644 --- a/registry/components/homepage/application.yaml +++ b/registry/components/homepage/application.yaml @@ -24,16 +24,16 @@ spec: enabled: true annotations: kubernetes.io/tls-acme: "true" - cert-manager.io/cluster-issuer: letsencrypt-staging + cert-manager.io/cluster-issuer: letsencrypt ingressClassName: nginx hosts: - - host: homepage.dev.simonemms.com + - host: homepage.simonemms.com paths: - path: / pathType: Prefix tls: - hosts: - - homepage.dev.simonemms.com + - homepage.simonemms.com secretName: homepage-tls destination: server: https://kubernetes.default.svc