diff --git a/charts/nr-oracle-service/templates/networkpolicy.yaml b/charts/nr-oracle-service/templates/networkpolicy.yaml index 2f96097..4416524 100644 --- a/charts/nr-oracle-service/templates/networkpolicy.yaml +++ b/charts/nr-oracle-service/templates/networkpolicy.yaml @@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: - name: allow-apps-to-connect-to-{{ include "component.name" . }} + name: allow-apps-to-connect-to-{{ .Release.Name }} labels: {{- include "component.labels" . | nindent 6 }} spec: @@ -11,4 +11,4 @@ spec: - from: - podSelector: {} policyTypes: - - Ingress \ No newline at end of file + - Ingress