fix(cluster): sync up kubevip ansible and cluster manifests

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-02-13 14:56:11 -05:00
1 parent 9583ca4c76
commit 514be6a541
2 files changed
+24 -17

No files matched your search

@@ -18,16 +18,6 @@ spec:
app.kubernetes.io/instance: kube-vip
app.kubernetes.io/name: kube-vip
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
containers:
- name: kube-vip
image: ghcr.io/kube-vip/kube-vip:v0.4.2
@@ -49,8 +39,6 @@ spec:
value: kube-system
- name: svc_enable
value: "false"
- name: vip_ddns
value: "false"
- name: address
value: "{{ k3s_registration_address }}"
securityContext:
@@ -64,6 +52,16 @@ spec:
ip: 127.0.0.1
hostNetwork: true
serviceAccountName: kube-vip
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/master
operator: Exists
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: Exists
tolerations:
- effect: NoSchedule
operator: Exists