fix: update tailscale operator to use OAuth secret with correct namespace
Validate Manifests / validate (pull_request) Has been cancelled
Validate Manifests / validate (pull_request) Has been cancelled
This commit is contained in:
@@ -29,15 +29,19 @@ spec:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: CLIENT_ID_FILE
|
||||
value: /etc/tailscale/operator/client-id
|
||||
value: "/var/run/secrets/tailscale/client-id"
|
||||
- name: CLIENT_SECRET_FILE
|
||||
value: /etc/tailscale/operator/client-secret
|
||||
value: "/var/run/secrets/tailscale/client-secret"
|
||||
volumeMounts:
|
||||
- name: operator-secret
|
||||
mountPath: /etc/tailscale/operator
|
||||
- name: tailscale-secret
|
||||
mountPath: /var/run/secrets/tailscale
|
||||
readOnly: true
|
||||
resources: {}
|
||||
volumes:
|
||||
- name: operator-secret
|
||||
- name: tailscale-secret
|
||||
secret:
|
||||
secretName: tailscale-operator-secret
|
||||
items:
|
||||
- key: CLIENT_ID_FILE
|
||||
path: client-id
|
||||
- key: CLIENT_SECRET_FILE
|
||||
path: client-secret
|
||||
Reference in New Issue
Block a user