add np
parent
bb851ecc61
commit
57256f122a
@ -0,0 +1,14 @@
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: np-{{ include "ycast.fullname" . }}
|
||||
labels:
|
||||
{{- include "ycast.labels" . | nindent 4 }}
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ include "ycast.name" . }}
|
||||
policyTypes:
|
||||
- Ingress
|
||||
ingress:
|
||||
- ports:
|
||||
- port: 80
|
||||
Loading…
Reference in New Issue