summaryrefslogtreecommitdiffhomepage
path: root/cmd/hello
diff options
context:
space:
mode:
authorWill Norris <will@tailscale.com>2024-01-29 12:52:19 -0800
committerWill Norris <will@willnorris.com>2024-01-29 13:01:29 -0800
commit13f8a669d5cd3bd2af39c693f4878ecbbb4d56d1 (patch)
tree904c912946ae75e811ecc4db4f7c063a552099c7 /cmd/hello
parentcce189bde1619ca3631ecd99d0e157549150ed55 (diff)
downloadtailscale-gitops-1.58.2.tar.xz
tailscale-gitops-1.58.2.zip
cmd/gitops-pusher: fix logic for checking credentialsgitops-1.58.2
gitops-pusher supports authenticating with an API key or OAuth credentials (added in #7393). You shouldn't ever use both of those together, so we error if both are set. In tailscale/gitops-acl-action#24, OAuth support is being added to the GitHub action. In that environment, both the TS_API_KEY and OAuth variables will be set, even if they are empty values. This causes an error in gitops-pusher which expects only one to be set. Update gitops-pusher to check that only one set of environment variables are non-empty, rather than just checking if they are set. Updates #7393 Signed-off-by: Will Norris <will@tailscale.com>
Diffstat (limited to 'cmd/hello')
0 files changed, 0 insertions, 0 deletions