Skip to content

Commit 0619e15

Browse files
Merge pull request #209 from Apsu/main
Fix daemonset
2 parents 4542e16 + 8e36a83 commit 0619e15

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

templates/kube-vip/kube-vip.yml.j2

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,23 @@ spec:
8383
add:
8484
- NET_ADMIN
8585
- NET_RAW
86+
volumeMounts:
87+
- mountPath: /etc/kubernetes/admin.conf
88+
name: kubeconfig
89+
hostAliases:
90+
- hostnames:
91+
- kubernetes
92+
ip: 127.0.0.1
8693
hostNetwork: true
8794
serviceAccountName: kube-vip
8895
tolerations:
8996
- effect: NoSchedule
9097
operator: Exists
9198
- effect: NoExecute
9299
operator: Exists
100+
volumes:
101+
- hostPath:
102+
path: /etc/rancher/rke2/rke2.yaml
103+
type: File
104+
name: kubeconfig
93105
updateStrategy: {}

0 commit comments

Comments
 (0)