kyrie
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
0 deletions
-
roles/kubernetes/node/templates/manifests/kube-vip.manifest.j2
|
|
@ -104,11 +104,16 @@ spec: |
|
|
|
imagePullPolicy: {{ k8s_image_pull_policy }} |
|
|
|
name: kube-vip |
|
|
|
resources: {} |
|
|
|
{% if kube_vip_lb_fwdmethod == "masquerade" %} |
|
|
|
securityContext: |
|
|
|
privileged: true |
|
|
|
{% else %} |
|
|
|
securityContext: |
|
|
|
capabilities: |
|
|
|
add: |
|
|
|
- NET_ADMIN |
|
|
|
- NET_RAW |
|
|
|
{% endif %} |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /etc/kubernetes/admin.conf |
|
|
|
name: kubeconfig |
|
|
|