Skip to content

Commit

Permalink
correct labels
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Jan 10, 2025
1 parent e848fb5 commit e4de53f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions chart/templates/entsoe-networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: NetworkPolicy
metadata:
name: entsoe-monitor-{{ include "caas-carbon-footprint.fullname" . }}
labels:
app.kubernetes.io/component: entsoe
app.kubernetes.io/component: entsoe-monitor
{{- include "caas-carbon-footprint.labels" . | nindent 4 }}
spec:
egress:
Expand All @@ -17,7 +17,7 @@ spec:
protocol: TCP
podSelector:
matchLabels:
{{- include "caas-carbon-footprint.selectorLabels" . | nindent 4 }}
{{- include "caas-carbon-footprint.selectorLabels" . | nindent 6 }}
policyTypes:
- Ingress
- Egress
Expand All @@ -27,6 +27,9 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: entsoe-proxy-{{ include "caas-carbon-footprint.fullname" . }}
labels:
app.kubernetes.io/component: entsoe-proxy
{{- include "caas-carbon-footprint.labels" . | nindent 4 }}
spec:
egress:
- ports:
Expand Down

0 comments on commit e4de53f

Please sign in to comment.