File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,24 +14,24 @@ ingressClass="nginx"
1414TMP_FILE=" ./ingress-master.yml"
1515
1616cat > " ${TMP_FILE} " << -EOF
17- ---
18- apiVersion: networking.k8s.io/v1
19- kind: Ingress
20- metadata:
21- name: ingress-master
22- namespace: default
23- annotations:
24- cert-manager.io/cluster-issuer: letsencrypt-staging
25- nginx.org/server-tokens: "false"
26- nginx.org/mergeable-ingress-type: "master"
27- spec:
28- ingressClassName: ${ingressClass}
29- tls:
30- - hosts:
31- - ${CLUSTER_DOMAIN}
32- secretName: ingress-tls
33- rules:
34- - host: ${CLUSTER_DOMAIN}
17+ ---
18+ apiVersion: networking.k8s.io/v1
19+ kind: Ingress
20+ metadata:
21+ name: ingress-master
22+ namespace: default
23+ annotations:
24+ cert-manager.io/cluster-issuer: letsencrypt-staging
25+ nginx.org/server-tokens: "false"
26+ nginx.org/mergeable-ingress-type: "master"
27+ spec:
28+ ingressClassName: ${ingressClass}
29+ tls:
30+ - hosts:
31+ - ${CLUSTER_DOMAIN}
32+ secretName: ingress-tls
33+ rules:
34+ - host: ${CLUSTER_DOMAIN}
3535EOF
3636
3737printf " KUBECTL: checking for conflicting Ingresses on host ${CLUSTER_DOMAIN} \n"
You can’t perform that action at this time.
0 commit comments