update kube-network-policies to v0.4.0

This commit is contained in:
Antonio Ojea 2024-06-26 16:27:12 +00:00
parent 44c1a0eec2
commit 4bc461872f

View File

@ -27,7 +27,7 @@ spec:
serviceAccountName: kube-network-policies serviceAccountName: kube-network-policies
containers: containers:
- name: kube-network-policies - name: kube-network-policies
image: registry.k8s.io/networking/kube-network-policies:v0.3.0 image: registry.k8s.io/networking/kube-network-policies:v0.4.0
command: command:
- /bin/sh - /bin/sh
- -c - -c
@ -45,11 +45,6 @@ spec:
- mountPath: /lib/modules - mountPath: /lib/modules
name: lib-modules name: lib-modules
readOnly: true readOnly: true
env:
- name: MY_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
volumes: volumes:
- name: varlog - name: varlog
hostPath: hostPath: