WIP: Implementing Network Policy #207
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.networkpolicy.enabled -}}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
@@ -12,4 +13,4 @@ spec:
|
||||
matchLabels:
|
||||
{{- include "gitea.netpolLabels" . | nindent 10 }}
|
||||
- ipBlock:
|
||||
cidr: 10.0.0.0/8
|
||||
cidr: {{ .Values.networkpolicy.cidr }}
|
Reference in New Issue
Block a user