Files
HetznerTerra/ansible/roles/tailscale-operator/templates/proxyclass.yaml.j2

18 lines
446 B
Plaintext
Raw Normal View History

apiVersion: tailscale.com/v1alpha1
kind: ProxyClass
metadata:
name: {{ tailscale_proxyclass_name }}
spec:
statefulSet:
pod:
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 %}