From ecf97ea72c018778209fcec81fc929996c34697e Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Sun, 19 Oct 2025 21:51:24 -0500 Subject: [PATCH] Tailscale now needs an opaque secret Somewhere in the definition of the Tailscale operator the configuraiton changed from taking a basic-auth formatted secret to needing a customized one. This makes that happen --- manifests/auto/operator-oauth.yaml | 6 +++--- manifests/tailscale/apply.sh | 13 ------------- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100755 manifests/tailscale/apply.sh diff --git a/manifests/auto/operator-oauth.yaml b/manifests/auto/operator-oauth.yaml index ad60558..74389f0 100644 --- a/manifests/auto/operator-oauth.yaml +++ b/manifests/auto/operator-oauth.yaml @@ -8,11 +8,11 @@ spec: name: operator-oauth deletionPolicy: Delete template: - type: kubernetes.io/basic-auth + type: Opaque data: - username: |- + client_id: |- {{ .username }} - password: |- + client_secret: |- {{ .password }} data: - secretKey: username diff --git a/manifests/tailscale/apply.sh b/manifests/tailscale/apply.sh deleted file mode 100755 index ce3307c..0000000 --- a/manifests/tailscale/apply.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -helm repo add tailscale https://pkgs.tailscale.com/helmcharts - -helm repo update tailscale - -helm upgrade \ - --install \ - tailscale-operator \ - tailscale/tailscale-operator \ - --namespace=tailscale \ - --create-namespace \ - --wait