Skip to content

Commit 5a42be7

Browse files
authored
Update gclb recipe for new requirements. (#8843)
Signed-off-by: Michael Montgomery <[email protected]>
1 parent 52be0fb commit 5a42be7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

config/recipes/gclb/02-ingress.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ metadata:
88
annotations:
99
# Issue certificates for TLS hosts automatically
1010
cert-manager.io/cluster-issuer: "selfsigning-issuer"
11+
# GCP/GKE requires a domain name or the certificate will fail
12+
# to parse with sslCertificateCouldNotParseCert.
13+
cert-manager.io/common-name: test.com
1114
# Disable HTTP traffic
1215
kubernetes.io/ingress.allow-http: "false"
1316
spec:
@@ -20,8 +23,8 @@ spec:
2023
- host: "elasticsearch.hulk"
2124
http:
2225
paths:
23-
- path: "/*"
24-
pathType: Exact
26+
- path: "/"
27+
pathType: Prefix
2528
backend:
2629
service:
2730
name: hulk-es-http
@@ -30,8 +33,8 @@ spec:
3033
- host: "kibana.hulk"
3134
http:
3235
paths:
33-
- path: "/*"
34-
pathType: Exact
36+
- path: "/"
37+
pathType: Prefix
3538
backend:
3639
service:
3740
name: hulk-kb-http

0 commit comments

Comments
 (0)