Skip to content

Commit

Permalink
Merge pull request #805 from lamw/issue-803
Browse files Browse the repository at this point in the history
  • Loading branch information
lamw authored Feb 18, 2022
2 parents 2a6785f + fc222a9 commit 19778c9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions files/downloads/knative-contour/overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,28 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
#@overlay/match missing_ok=True
hostNetwork: true
containers:
#@overlay/match by="name"
- name: envoy
ports:
#@overlay/match by="name"
- name: http
containerPort: 80
#@overlay/match by="name"
- name: https
containerPort: 443

#@overlay/match by=overlay.subset({"kind":"Service", "metadata": {"name": "envoy", "namespace": "contour-external"}})
---
spec:
type: NodePort
ports:
#@overlay/match by="name"
- name: http
targetPort: 80
#@overlay/match by="name"
- name: https
targetPort: 44

#@overlay/match by=overlay.subset({"kind":"Job", "metadata": {"namespace": "contour-external"}})
---
Expand All @@ -26,6 +43,18 @@ spec:
#@overlay/match missing_ok=True
imagePullPolicy: IfNotPresent

#@overlay/match by=overlay.subset({"kind":"Deployment", "metadata": {"name": "contour", "namespace": "contour-external"}})
---
spec:
template:
spec:
containers:
#@overlay/match by=overlay.subset({"name": "contour"})
- args:
#@overlay/append
- --envoy-service-http-port=80
- --envoy-service-https-port=443

#@overlay/match by=overlay.subset({"kind":"Job", "metadata": {"namespace": "contour-internal"}})
---
spec:
Expand Down

0 comments on commit 19778c9

Please sign in to comment.