Skip to content

Commit

Permalink
Use runtime variables for ingress
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Feb 22, 2024
1 parent dc837e1 commit 3c7ede6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
5 changes: 5 additions & 0 deletions components/frontend/base/podinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ spec:
ingress:
enabled: true
className: nginx
hosts:
- host: podinfo.${CLUSTER_DOMAIN}
paths:
- path: /
pathType: ImplementationSpecific
7 changes: 1 addition & 6 deletions components/frontend/production/podinfo-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@ metadata:
name: podinfo
spec:
values:
ingress:
hosts:
- host: podinfo.production
paths:
- path: /
pathType: ImplementationSpecific
replicaCount: 2
7 changes: 1 addition & 6 deletions components/frontend/staging/podinfo-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@ metadata:
name: podinfo
spec:
values:
ingress:
hosts:
- host: podinfo.staging
paths:
- path: /
pathType: ImplementationSpecific
replicaCount: 1

0 comments on commit 3c7ede6

Please sign in to comment.