linkerd in progress. Network authentications generated.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{{- if .CIDR }}
|
||||
---
|
||||
apiVersion: policy.linkerd.io/v1alpha1
|
||||
kind: NetworkAuthentication
|
||||
metadata:
|
||||
name: {{ .Name }}
|
||||
namespace: default
|
||||
spec:
|
||||
networks:
|
||||
- cidr: {{ .CIDR }}
|
||||
{{- if .Except }}
|
||||
except:
|
||||
{{- range $cidr := .Except }}
|
||||
- {{ $cidr }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user