You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
301 B
YAML

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