From 93e8b9a6c55a725cc5a8c4bec7f557a70c3d2c2e Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sun, 23 Feb 2025 20:38:01 -0600 Subject: [PATCH] no netpol --- helm-chart/templates/networkpolicy.yaml | 62 ++++++++++++------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/helm-chart/templates/networkpolicy.yaml b/helm-chart/templates/networkpolicy.yaml index ef58920..9c7fa4c 100644 --- a/helm-chart/templates/networkpolicy.yaml +++ b/helm-chart/templates/networkpolicy.yaml @@ -1,31 +1,31 @@ -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: {{ .Values.name }} - namespace: {{ .Values.namespace | default .Values.name }} - labels: - service: {{ .Values.name }} -spec: - podSelector: - matchLabels: - service: {{ .Values.name }} - policyTypes: - - Ingress - - Egress - ingress: - - from: - - namespaceSelector: - matchLabels: - name: ingress-nginx - ports: - - protocol: TCP - port: {{ .Values.port }} - egress: - - to: - - namespaceSelector: {} - podSelector: {} - ports: - - protocol: TCP - port: 53 - - protocol: UDP - port: 53 \ No newline at end of file +# apiVersion: networking.k8s.io/v1 +# kind: NetworkPolicy +# metadata: +# name: {{ .Values.name }} +# namespace: {{ .Values.namespace | default .Values.name }} +# labels: +# service: {{ .Values.name }} +# spec: +# podSelector: +# matchLabels: +# service: {{ .Values.name }} +# policyTypes: +# - Ingress +# - Egress +# ingress: +# - from: +# - namespaceSelector: +# matchLabels: +# name: ingress-nginx +# ports: +# - protocol: TCP +# port: {{ .Values.port }} +# egress: +# - to: +# - namespaceSelector: {} +# podSelector: {} +# ports: +# - protocol: TCP +# port: 53 +# - protocol: UDP +# port: 53