🗑️ Remove Tailscale secret override
This commit is contained in:
parent
24d7bb74f5
commit
af95e1bb10
2 changed files with 4 additions and 13 deletions
|
|
@ -97,18 +97,18 @@
|
||||||
name: tailscale
|
name: tailscale
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Create tailscale-auth secret if credentials are provided
|
- name: Create "operator-oauth" tailscale secret if credentials are provided
|
||||||
kubernetes.core.k8s:
|
kubernetes.core.k8s:
|
||||||
definition:
|
definition:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: tailscale-auth
|
name: operator-oauth
|
||||||
namespace: tailscale
|
namespace: tailscale
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
client-id: "{{ tailscale_client_id }}"
|
client_id: "{{ tailscale_client_id }}"
|
||||||
client-secret: "{{ tailscale_client_secret }}"
|
client_secret: "{{ tailscale_client_secret }}"
|
||||||
state: present
|
state: present
|
||||||
when: tailscale_client_id != "" and tailscale_client_secret != ""
|
when: tailscale_client_id != "" and tailscale_client_secret != ""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
tailscale-operator:
|
|
||||||
oauthSecretVolume:
|
|
||||||
secret:
|
|
||||||
secretName: tailscale-auth
|
|
||||||
items:
|
|
||||||
- key: client-id
|
|
||||||
path: client_id
|
|
||||||
- key: client-secret
|
|
||||||
path: client_secret
|
|
||||||
Loading…
Reference in a new issue