diff --git a/argocd-nginx/overlays/prod/vr/argocd-ingress.yaml b/argocd-nginx/overlays/prod/vr/argocd-ingress.yaml new file mode 100644 index 0000000..ae359d1 --- /dev/null +++ b/argocd-nginx/overlays/prod/vr/argocd-ingress.yaml @@ -0,0 +1,30 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: argocd-ingress + namespace: argocd + annotations: + cert-manager.io/issuer: "letsencrypt" + acme.cert-manager.io/http01-edit-in-place: "true" +spec: + defaultBackend: + service: + name: argocd-server + port: + number: 80 + ingressClassName: nginx + tls: + - hosts: + - vr-argocd.drive.sunet.se + secretName: tls-secret + rules: + - host: vr-argocd.drive.sunet.se + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: argocd-server + port: + number: 80 diff --git a/argocd-nginx/overlays/prod/vr/kustomization.yaml b/argocd-nginx/overlays/prod/vr/kustomization.yaml new file mode 100644 index 0000000..1b88144 --- /dev/null +++ b/argocd-nginx/overlays/prod/vr/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: [../../../base] +patches: + - path: argocd-ingress.yaml