certs
This commit is contained in:
parent
3b46d1e72a
commit
83c7f46856
1 changed files with 3 additions and 7 deletions
|
|
@ -3,18 +3,14 @@ kind: Gateway
|
||||||
metadata:
|
metadata:
|
||||||
name: external-http-gateway
|
name: external-http-gateway
|
||||||
namespace: customer1
|
namespace: customer1
|
||||||
|
annotations:
|
||||||
|
networking.gke.io/certmap: my-cert-map
|
||||||
spec:
|
spec:
|
||||||
gatewayClassName: gke-l7-global-external-managed # Use gke-l7-global-external-http for external, or gke-l7-rilb for internal
|
gatewayClassName: gke-l7-global-external-managed # Use gke-l7-global-external-http for external, or gke-l7-rilb for internal
|
||||||
listeners:
|
listeners:
|
||||||
- name: https
|
- name: https
|
||||||
protocol: HTTPS
|
protocol: HTTPS
|
||||||
port: 443
|
port: 443
|
||||||
tls:
|
|
||||||
mode: Terminate
|
|
||||||
certificateRefs:
|
|
||||||
- group: networking.gke.io # This tells K8s it's a GKE-specific resource
|
|
||||||
kind: CertificateMap # This tells K8s it's not a Secret
|
|
||||||
name: devops-lab-cert-map
|
|
||||||
allowedRoutes:
|
allowedRoutes:
|
||||||
namespaces:
|
namespaces:
|
||||||
from: All
|
from: "All"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue