Skip to content

Commit

Permalink
Added release name to network policy name metadata to keep multiple i…
Browse files Browse the repository at this point in the history
…nstances deployed to the same namespace separate

Incremented chart version
  • Loading branch information
mhaswell-bcgov authored and ShawnTurple committed Feb 29, 2024
1 parent 21769d9 commit 55f4a4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm/templates/network-policy-app-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-app-ingress
name: {{ include "NotifyBC.fullname" . }}-allow-app-ingress
labels:
{{- include "NotifyBC.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/network-policy-db-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-db-ingress
name: {{ include "NotifyBC.fullname" . }}-allow-db-ingress
labels:
{{- include "NotifyBC.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/network-policy-redis-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-redis-ingress
name: {{ include "NotifyBC.fullname" . }}-allow-redis-ingress
labels:
{{- include "NotifyBC.labels" . | nindent 4 }}
spec:
Expand Down

0 comments on commit 55f4a4b

Please sign in to comment.