feat: stabilize tailscale observability exposure with declarative proxy class
This commit is contained in:
@@ -157,3 +157,15 @@
|
||||
{{ tailscale_rollout.stdout | default('') }}
|
||||
{{ tailscale_deploy.stdout | default('') }}
|
||||
when: tailscale_rollout.rc != 0
|
||||
|
||||
- name: Write Tailscale default ProxyClass manifest
|
||||
template:
|
||||
src: proxyclass.yaml.j2
|
||||
dest: /tmp/tailscale-proxyclass.yaml
|
||||
mode: "0644"
|
||||
when: tailscale_operator_ready | default(false) | bool
|
||||
|
||||
- name: Apply Tailscale default ProxyClass
|
||||
command: kubectl apply -f /tmp/tailscale-proxyclass.yaml
|
||||
changed_when: true
|
||||
when: tailscale_operator_ready | default(false) | bool
|
||||
|
||||
Reference in New Issue
Block a user