fix: pin tailscale operator to control-plane node for DNS stability
This commit is contained in:
@@ -7,3 +7,11 @@ tailscale_oauth_client_secret: ""
|
||||
|
||||
tailscale_operator_default_tags:
|
||||
- "tag:k8s-operator"
|
||||
|
||||
tailscale_operator_node_selector:
|
||||
kubernetes.io/hostname: "k8s-cluster-cp-1"
|
||||
|
||||
tailscale_operator_tolerations:
|
||||
- key: "node-role.kubernetes.io/control-plane"
|
||||
operator: "Exists"
|
||||
effect: "NoSchedule"
|
||||
|
||||
@@ -6,5 +6,15 @@ operatorConfig:
|
||||
{% for tag in tailscale_operator_default_tags %}
|
||||
- "{{ tag }}"
|
||||
{% endfor %}
|
||||
nodeSelector:
|
||||
{% for key, value in tailscale_operator_node_selector.items() %}
|
||||
{{ key }}: "{{ value }}"
|
||||
{% endfor %}
|
||||
tolerations:
|
||||
{% for tol in tailscale_operator_tolerations %}
|
||||
- key: "{{ tol.key }}"
|
||||
operator: "{{ tol.operator }}"
|
||||
effect: "{{ tol.effect }}"
|
||||
{% endfor %}
|
||||
|
||||
installCRDs: true
|
||||
|
||||
Reference in New Issue
Block a user