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