Skip to content

Commit

Permalink
Fix e2e test for rootless image.
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Liang <[email protected]>

u
  • Loading branch information
liangyuanpeng committed Feb 21, 2024
1 parent deb9efe commit e9f451b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/kind/konnectivity-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ spec:
nodeSelector:
node-role.kubernetes.io/control-plane: ""
hostNetwork: true
initContainers:
- name: busybox
image: busybox
command:
- sh
- -c
- |
chmod -R 777 /etc/kubernetes
volumeMounts:
- name: kubernetes
mountPath: /etc/kubernetes
containers:
- name: konnectivity-server-container
image: gcr.io/k8s-staging-kas-network-proxy/proxy-server:master
Expand Down

0 comments on commit e9f451b

Please sign in to comment.