1
0
Fork 0
mirror of https://github.com/imjasonh/gke-auth synced 2026-07-07 00:23:18 +00:00
Commit graph

79 commits

Author SHA1 Message Date
7e539baa5e
Change GKE project and location in test-action.yaml
Updated GKE project and location settings in workflow.
2026-06-04 13:11:05 -04:00
939e332ebe
Merge pull request #38 from imjasonh/dependabot/github_actions/google-github-actions/auth-3.0.0
Bump google-github-actions/auth from 2.1.4 to 3.0.0
2026-06-04 12:56:33 -04:00
dependabot[bot]
722ebf9c8f
Bump google-github-actions/auth from 2.1.4 to 3.0.0
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 2.1.4 to 3.0.0.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Commits](https://github.com/google-github-actions/auth/compare/v2.1.4...v3)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 16:34:12 +00:00
de442f089f
Merge pull request #30 from imjasonh/dependabot/github_actions/actions/setup-go-6.4.0
Bump actions/setup-go from 5.0.2 to 6.4.0
2026-06-04 07:07:06 -04:00
dependabot[bot]
90e7b5c012
Bump actions/setup-go from 5.0.2 to 6.4.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 6.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0a12ed9d6a...4a3601121d)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-19 02:12:49 +00:00
49eb29e75a
Merge pull request #22 from imjasonh/dependabot/go_modules/all-410c5042e7
Bump the all group across 1 directory with 3 updates
2026-05-15 16:21:34 -04:00
dependabot[bot]
1a4916f663
Bump the all group across 1 directory with 3 updates
Bumps the all group with 3 updates in the / directory: [golang.org/x/oauth2](https://github.com/golang/oauth2), [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) and [k8s.io/client-go](https://github.com/kubernetes/client-go).


Updates `golang.org/x/oauth2` from 0.21.0 to 0.36.0
- [Commits](https://github.com/golang/oauth2/compare/v0.21.0...v0.36.0)

Updates `k8s.io/apimachinery` from 0.30.2 to 0.36.1
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.30.2...v0.36.1)

Updates `k8s.io/client-go` from 0.30.2 to 0.36.1
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.30.2...v0.36.1)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-version: 0.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.31.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: k8s.io/client-go
  dependency-version: 0.31.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 20:10:36 +00:00
b0f24d1b7d
Merge pull request #19 from imjasonh/dependabot/github_actions/google-github-actions/auth-2.1.4
Bump google-github-actions/auth from 0.9.0 to 2.1.4
2026-05-15 16:09:15 -04:00
Jason Hall
d1663f252c
Merge pull request #24 from imjasonh/dependabot/github_actions/all-9b776069ed 2026-05-15 16:08:38 -04:00
Jason Hall
7bebfc2d0b
Merge pull request #28 from kevinmdavis/scope
Also request `https://www.googleapis.com/auth/userinfo.email` scope
2025-05-16 16:26:13 -04:00
Kevin Davis
bf4257295b
Also request https://www.googleapis.com/auth/userinfo.email scope
The gcloud cred helper [requests these scopes](c19c59784d/cmd/gke-gcloud-auth-plugin/default_credentials_token_provider.go (L17-L19)) when obtaining a token. Without this scope, service accounts authenticate to GKE as their unique ID, which means the RBAC policies must do the same. This is inconvenient when authoring policies since it's hard to reason about which authentication flows will use the email vs unique ID.
2025-05-16 15:12:49 -05:00
Jason Hall
ed9a0dd09f
fix goreleaser again, even more
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-03-19 16:35:41 -04:00
Jason Hall
2277221009
fix goreleaser again, harder
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-03-19 16:32:30 -04:00
Jason Hall
0dc03d1319
fix goreleaser again
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-03-19 16:29:57 -04:00
Jason Hall
8ad3003854
fix goreleaser.yaml
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-03-19 16:24:03 -04:00
Jason Hall
67c4eb59a8
Merge pull request #27 from imjasonh/fix-release
fix release workflow
2025-03-19 16:18:33 -04:00
Jason Hall
1e739252e4
fix release workflow
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-03-19 16:17:40 -04:00
Jason Hall
46d993a2bb
Merge pull request #26 from imjasonh/nil
fix nil panic when existing config is empty
2025-03-19 15:32:41 -04:00
Jason Hall
4559a19503
fix nil panic when existing config is empty
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-03-19 15:31:56 -04:00
Jason Hall
16cb238f06
Merge pull request #25 from imjasonh/docker-auth
also setup docker cred helper
2025-03-19 15:05:03 -04:00
Jason Hall
d07111e3f5
make registry auth optional, must specify location
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-03-17 13:52:22 -04:00
Jason Hall
3517929a83
also setup docker cred helper
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-03-14 15:20:23 -04:00
dependabot[bot]
5f93f51b55
Bump the all group across 1 directory with 2 updates
Bumps the all group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud).


Updates `actions/checkout` from 4.1.7 to 4.2.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...eef61447b9)

Updates `google-github-actions/setup-gcloud` from 2.1.0 to 2.1.1
- [Release notes](https://github.com/google-github-actions/setup-gcloud/releases)
- [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md)
- [Commits](98ddc00a17...f0990588f1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: google-github-actions/setup-gcloud
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 16:27:27 +00:00
dependabot[bot]
63dde4daf8
Bump google-github-actions/auth from 0.9.0 to 2.1.4
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 0.9.0 to 2.1.4.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Commits](https://github.com/google-github-actions/auth/compare/v0.9.0...v2.1.4)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-06 16:28:48 +00:00
Jason Hall
98994c653b
Merge pull request #9 from imjasonh/dependabot/github_actions/google-github-actions/auth-2
Bump google-github-actions/auth from 0 to 2
2024-07-10 23:11:59 -04:00
Jason Hall
6239992222
Merge pull request #11 from imjasonh/dependabot/github_actions/goreleaser/goreleaser-action-6.0.0
Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0
2024-07-10 23:11:47 -04:00
Jason Hall
f85e6fbbd7
Merge pull request #13 from imjasonh/dependabot/go_modules/all-9ad025b490
Bump the all group across 1 directory with 3 updates
2024-07-10 23:11:13 -04:00
Jason Hall
ab762edf9b
Merge pull request #14 from imjasonh/dependabot/github_actions/all-0e68d2f38c
Bump the all group across 1 directory with 2 updates
2024-07-10 23:10:58 -04:00
dependabot[bot]
fbe798ff67
Bump the all group across 1 directory with 2 updates
Bumps the all group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-go](https://github.com/actions/setup-go).


Updates `actions/checkout` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

Updates `actions/setup-go` from 5.0.1 to 5.0.2
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](cdcb360436...0a12ed9d6a)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 16:47:55 +00:00
dependabot[bot]
8b7ca0d154
Bump the all group across 1 directory with 3 updates
Bumps the all group with 3 updates in the / directory: [golang.org/x/oauth2](https://github.com/golang/oauth2), [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) and [k8s.io/client-go](https://github.com/kubernetes/client-go).


Updates `golang.org/x/oauth2` from 0.20.0 to 0.21.0
- [Commits](https://github.com/golang/oauth2/compare/v0.20.0...v0.21.0)

Updates `k8s.io/apimachinery` from 0.30.1 to 0.30.2
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.30.1...v0.30.2)

Updates `k8s.io/client-go` from 0.30.1 to 0.30.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.30.1...v0.30.2)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 16:32:17 +00:00
dependabot[bot]
486fcbde06
Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](5742e2a039...286f3b13b1)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-05 17:00:57 +00:00
dependabot[bot]
01592bd2f1
---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 21:28:19 +00:00
Jason Hall
6d4baa9bc0
Merge pull request #8 from k4leung4/bump 2024-05-21 17:25:09 -04:00
Kenny Leung
f634fd0363
bump deps and update
Signed-off-by: Kenny Leung <kleung@chainguard.dev>
2024-05-21 14:23:35 -07:00
a724ff464e
add note about gke-gcloud-auth-plugin 2022-06-17 09:34:11 -04:00
Jason Hall
596350719e
Merge pull request #4 from eddiezane/ez/use-loading-rules
Use clientcmd LoadingRules
2022-06-17 09:18:57 -04:00
Eddie Zaneski
023a35d802
Use clientcmd LoadingRules
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2022-06-16 16:28:56 -06:00
31f5c5f164
drop GKE API dependency 2022-06-16 15:49:29 -04:00
b50cb1945a
use os.UserHomeDir(), add --clear and more validation 2022-06-16 15:13:57 -04:00
e3ca1a506e
try using TokenSource 2022-06-16 13:03:27 -04:00
9ab9b99e07
use gke client, but also use ExecConfig 2022-06-16 12:59:45 -04:00
4bb5390233
try the old way again, idk 2022-06-16 12:56:04 -04:00
Jason Hall
d1d29f432c
Update test-action.yaml 2022-06-16 12:52:40 -04:00
Jason Hall
bc59d85a35
Update test-action.yaml 2022-06-16 12:49:18 -04:00
Jason Hall
d731999a63
Delete ci.yaml 2022-06-16 12:47:07 -04:00
Jason Hall
e7b79560bb
Update test-action.yaml 2022-06-16 12:46:58 -04:00
74a0648349
fix auth scope 2022-06-16 12:04:21 -04:00
2ad1d0bb5e
make CI use the action; revert to v0.1.0 to test bug 2022-06-16 11:54:34 -04:00
abfd604347
Add CI that builds from HEAD 2022-06-15 23:39:11 -04:00
638948f2ec
Use ExecConfig 2022-06-15 23:34:33 -04:00