Skip to content

Commit

Permalink
edit network policy names
Browse files Browse the repository at this point in the history
  • Loading branch information
TimCsaky committed Nov 19, 2024
1 parent 7480b59 commit 6107180
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/ches/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: common-hosted-email-service
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.1
kubeVersion: ">= 1.13.0"
description: A microservice for managing access control to S3 Objects
# A chart can be either an 'application' or a 'library' chart.
Expand Down
12 changes: 6 additions & 6 deletions charts/ches/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: {{ printf "%s-%s" "allow-openshift-ingress-to-ches-app" .Release.Name }}
name: {{ printf "%s-%s" "openshift-ingress-to-ches-app" .Release.Name }}
labels: {{- include "ches.selectorLabels" . | nindent 4 }}
spec:
podSelector:
Expand All @@ -24,7 +24,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-traffic-from-gateway-to-ches-master
name: traffic-from-gateway-to-ches-master
spec:
podSelector:
matchLabels:
Expand All @@ -48,7 +48,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-ches-{{ .Release.Name }}-to-postgres-master
name: ches-{{ .Release.Name }}-to-postgres-master
labels: {{- include "ches.selectorLabels" . | nindent 4 }}
spec:
podSelector:
Expand All @@ -69,7 +69,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-ches-{{ .Release.Name }}-pre-hook-to-postgres-master
name: ches-{{ .Release.Name }}-pre-hook-to-postgres-master
labels: {{- include "ches.selectorLabels" . | nindent 4 }}
spec:
podSelector:
Expand All @@ -89,7 +89,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-ches-{{ .Release.Name }}-to-redis-master
name: ches-{{ .Release.Name }}-to-redis-master
labels: {{- include "ches.selectorLabels" . | nindent 4 }}
spec:
podSelector:
Expand All @@ -114,7 +114,7 @@ spec:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-metabase-b160aa-tools-to-postgres
name: metabase-b160aa-tools-to-postgres
spec:
podSelector:
matchLabels:
Expand Down

0 comments on commit 6107180

Please sign in to comment.