fix: update tailscale operator to use OAuth secret with correct namespace #28

Closed
gitea-admin wants to merge 1 commits from orion/auto/fix-update-tailscale-operator-to-use-oau-1778955519224 into main
+10 -6
View File
@@ -29,15 +29,19 @@ spec:
fieldRef: fieldRef:
fieldPath: metadata.namespace fieldPath: metadata.namespace
- name: CLIENT_ID_FILE - name: CLIENT_ID_FILE
value: /etc/tailscale/operator/client-id value: "/var/run/secrets/tailscale/client-id"
- name: CLIENT_SECRET_FILE - name: CLIENT_SECRET_FILE
value: /etc/tailscale/operator/client-secret value: "/var/run/secrets/tailscale/client-secret"
volumeMounts: volumeMounts:
- name: operator-secret - name: tailscale-secret
mountPath: /etc/tailscale/operator mountPath: /var/run/secrets/tailscale
readOnly: true readOnly: true
resources: {}
volumes: volumes:
- name: operator-secret - name: tailscale-secret
secret: secret:
secretName: tailscale-operator-secret secretName: tailscale-operator-secret
items:
- key: CLIENT_ID_FILE
path: client-id
- key: CLIENT_SECRET_FILE
path: client-secret