multiple config files to allow spreading of configuration
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
kind: CiliumNetworkPolicy
|
||||
apiVersion: cilium.io/v2
|
||||
metadata:
|
||||
name: {{.app.Name}}
|
||||
name: {{.app.Name}}-apiserver
|
||||
namespace: {{.app.Namespace.Name}}
|
||||
labels: {{ .labels | toYaml | nindent 4 }}
|
||||
spec:
|
||||
|
||||
@@ -61,7 +61,7 @@ spec:
|
||||
|
||||
{{- if or .egress.Applications .egress.Networks }}
|
||||
egress:
|
||||
tp:
|
||||
to:
|
||||
{{- template "peers" .egress }}
|
||||
{{- template "networks" .egress }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user