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

100 commits

Author SHA1 Message Date
ff84808882
Merge pull request #46 from imjasonh/dependabot/go_modules/gomod-d308e54123
Bump github.com/docker/cli from 29.5.3+incompatible to 29.6.0+incompatible in the gomod group across 1 directory
2026-06-29 12:35:35 -04:00
ee4afe1d09
Merge pull request #48 from imjasonh/dependabot/github_actions/github-actions-ca7b5f510a
Bump the github-actions group across 1 directory with 3 updates
2026-06-29 12:34:28 -04:00
dependabot[bot]
489eb77c0c
Bump the github-actions group across 1 directory with 3 updates
Bumps the github-actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/setup-go](https://github.com/actions/setup-go) and [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action).


Updates `actions/checkout` from 6.0.3 to 7.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](df4cb1c069...9c091bb21b)

Updates `actions/setup-go` from 6.4.0 to 6.5.0
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4a3601121d...924ae3a1cd)

Updates `goreleaser/goreleaser-action` from 7.2.2 to 7.2.3
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](5daf1e915a...f06c13b6b1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-go
  dependency-version: 6.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: goreleaser/goreleaser-action
  dependency-version: 7.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 16:33:24 +00:00
dependabot[bot]
daf8232815
Bump github.com/docker/cli in the gomod group across 1 directory
Bumps the gomod group with 1 update in the / directory: [github.com/docker/cli](https://github.com/docker/cli).


Updates `github.com/docker/cli` from 29.5.3+incompatible to 29.6.0+incompatible
- [Commits](https://github.com/docker/cli/compare/v29.5.3...v29.6.0)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-version: 29.6.0+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gomod
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 16:32:47 +00:00
64278ed94f
Merge pull request #44 from imjasonh/dependabot/go_modules/gomod-e45f907ca1
Bump the gomod group across 1 directory with 2 updates
2026-06-15 13:05:35 -04:00
dependabot[bot]
98bcf13b12
Bump the gomod group across 1 directory with 2 updates
Bumps the gomod group with 2 updates in the / directory: [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) and [k8s.io/client-go](https://github.com/kubernetes/client-go).


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

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

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.36.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod
- dependency-name: k8s.io/client-go
  dependency-version: 0.36.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gomod
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-15 16:33:27 +00:00
c85c621c70
Merge pull request #43 from minhthong582000/add-alias-flag
Add --alias flag to customize kubeconfig context name
2026-06-04 15:26:16 -04:00
minhthong582000
8f2b6af6f1 Add --alias flag to customize kubeconfig context name
By default the context/cluster/user entries in kubeconfig are named
gke_{project}_{location}_{cluster}, which is verbose and hard to type.
Add --alias so users can set a short, memorable name instead.
2026-06-05 02:04:21 +07:00
f01944f065
Merge pull request #42 from imjasonh/dependabot/github_actions/github-actions-21a9557f3d
Bump the github-actions group across 1 directory with 4 updates
2026-06-04 14:12:41 -04:00
e02ebd6a89
Merge pull request #41 from imjasonh/dependabot/go_modules/gomod-b8e1437d3d
Bump github.com/docker/cli from 28.0.1+incompatible to 29.5.3+incompatible in the gomod group across 1 directory
2026-06-04 14:09:51 -04:00
dependabot[bot]
92435dab5f
Bump the github-actions group across 1 directory with 4 updates
Bumps the github-actions group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action), [azure/setup-kubectl](https://github.com/azure/setup-kubectl) and [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud).


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

Updates `goreleaser/goreleaser-action` from 6.0.0 to 7.2.2
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](286f3b13b1...5daf1e915a)

Updates `azure/setup-kubectl` from 4.0.0 to 5.1.0
- [Release notes](https://github.com/azure/setup-kubectl/releases)
- [Changelog](https://github.com/Azure/setup-kubectl/blob/main/CHANGELOG.md)
- [Commits](3e0aec4d80...829323503d)

Updates `google-github-actions/setup-gcloud` from 2.1.1 to 3.0.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](f0990588f1...aa5489c893)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: goreleaser/goreleaser-action
  dependency-version: 7.2.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: azure/setup-kubectl
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: google-github-actions/setup-gcloud
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 18:07:58 +00:00
dependabot[bot]
895010fa24
Bump github.com/docker/cli in the gomod group across 1 directory
Bumps the gomod group with 1 update in the / directory: [github.com/docker/cli](https://github.com/docker/cli).


Updates `github.com/docker/cli` from 28.0.1+incompatible to 29.5.3+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.0.1...v29.5.3)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-version: 29.5.3+incompatible
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: gomod
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 18:07:47 +00:00
ca16e715ef
Merge pull request #40 from imjasonh/dependabot-grouped-updates
Group all Dependabot updates per ecosystem
2026-06-04 14:07:01 -04:00
Jason Hall
20c3d03f36 Group all Dependabot updates into a single PR per ecosystem
Each group previously matched only minor/patch updates, so major
version bumps still arrived as individual PRs. Drop the update-type
restriction (and add the missing patterns to the github-actions group)
so every gomod and github-actions update is grouped into one PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 14:05:07 -04:00
Jason Hall
302247d823 Point using-gcloud workflow at the imjasonh project
Switch auth to the github-actions WIF provider and gke-auth@imjasonh
service account (matching test-action.yaml), and target the real
autopilot cluster and Docker repos in us-east4. The previous
imjasonh-autopilot project has no cluster or Artifact Registry repos.
Also install crane so the catalog step can run.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 13:59:38 -04:00
3383119320
Merge pull request #39 from imjasonh/imjasonh-patch-1
Change GKE project and location in test-action.yaml
2026-06-04 13:54:21 -04:00
fec081d131
Update test-action.yaml 2026-06-04 13:53:49 -04:00
Jason Hall
8899dbc8a7 Fix crane catalog target to us-east4
The crane catalog step queried us-east1-docker.pkg.dev, which has no
Docker repositories and returns DENIED. Point it at us-east4, where the
project's Docker repositories actually live.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 13:52:48 -04:00
4da43e6736
Update test-action.yaml 2026-06-04 13:41:17 -04:00
0de94d188e
Update test-action.yaml 2026-06-04 13:22:19 -04:00
13195f85bb
Update test-action.yaml 2026-06-04 13:11:37 -04:00
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