We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e7cb3 commit eb7a114Copy full SHA for eb7a114
terraform/argocd-ingress.tf
@@ -0,0 +1,6 @@
1
+resource "kubectl_manifest" "ingress_argocd" {
2
+ yaml_body = templatefile("${path.module}/templates/manifests/ingress-argocd.yaml", {
3
+ ARGOCD_DOMAIN_NAME = local.argocd_domain_name
4
+ }
5
+ )
6
+}
terraform/templates/manifests/ingress-argocd.yaml
@@ -0,0 +1,24 @@
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ name: backstage
+ namespace: backstage
+ annotations:
7
+ cert-manager.io/cluster-issuer: 'letsencrypt-prod'
8
+spec:
9
+ ingressClassName: nginx
10
+ tls:
11
+ - hosts:
12
+ - ${BACKSTAGE_DOMAIN_NAME}
13
+ secretName: backstage-prod-tls
14
+ rules:
15
+ - host: ${BACKSTAGE_DOMAIN_NAME}
16
+ http:
17
+ paths:
18
+ - path: /
19
+ pathType: Prefix
20
+ backend:
21
+ service:
22
23
+ port:
24
+ number: 7007
0 commit comments