Skip to content

Commit

Permalink
Add environment to the ingress name (#1109)
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
mitchdawson1982 authored Nov 27, 2024
1 parent 16f402f commit 4b0e022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions deployments/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ spec:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
capabilities:
drop: ["ALL"]
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down
4 changes: 2 additions & 2 deletions deployments/templates/ingress.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: find-moj-data-ingress
name: find-moj-data-ingress-${ENV}
annotations:
external-dns.alpha.kubernetes.io/set-identifier: find-moj-data-ingress-${NAMESPACE}-green
external-dns.alpha.kubernetes.io/set-identifier: find-moj-data-ingress-${ENV}-${NAMESPACE}-green
external-dns.alpha.kubernetes.io/aws-weight: "100"
nginx.ingress.kubernetes.io/limit-whitelist: ${LIMIT_WHITELIST}
nginx.ingress.kubernetes.io/limit-rps: "200"
Expand Down

0 comments on commit 4b0e022

Please sign in to comment.