Skip to content

Commit 34a68b4

Browse files
add Cloudflare CA to ingress (#1024)
1 parent 32d8bc7 commit 34a68b4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.k8s/production/ingress.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@ apiVersion: networking.k8s.io/v1
22
kind: Ingress
33
metadata:
44
name: graph-docs
5+
annotations:
6+
cert-manager.io/issuer: "prod-cluster-origin-issuer"
7+
cert-manager.io/issuer-kind: "ClusterOriginIssuer"
8+
cert-manager.io/issuer-group: "cert-manager.k8s.cloudflare.com"
59
spec:
610
ingressClassName: nginx
11+
tls:
12+
- hosts:
13+
- thegraph.com
14+
secretName: thegraph-com-tls
715
rules:
816
- host: thegraph.com
917
http:

.k8s/staging/ingress.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@ apiVersion: networking.k8s.io/v1
22
kind: Ingress
33
metadata:
44
name: graph-docs
5+
annotations:
6+
cert-manager.io/issuer: "staging-cluster-origin-issuer"
7+
cert-manager.io/issuer-kind: "ClusterOriginIssuer"
8+
cert-manager.io/issuer-group: "cert-manager.k8s.cloudflare.com"
59
spec:
610
ingressClassName: nginx
11+
tls:
12+
- hosts:
13+
- staging.thegraph.com
14+
secretName: staging-thegraph-com-tls
715
rules:
816
- host: staging.thegraph.com
917
http:

0 commit comments

Comments
 (0)