Skip to content

Commit a439c02

Browse files
authored
backport of commit 6a5e556
1 parent 544cf7d commit a439c02

File tree

10 files changed

+49
-112
lines changed

10 files changed

+49
-112
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,3 @@ How was this change implemented?
1818
[Example](https://github.com/hashicorp/vault/commit/2715f5cec982aabc7b7a6ae878c547f6f475bba6)
1919
[ ] Add output for any tests not ran in CI to the PR description (eg, acceptance tests)
2020
[ ] Backwards compatible
21-
22-
## PCI review checklist
23-
24-
<!-- heimdall_github_prtemplate:grc-pci_dss-2024-01-05 -->
25-
26-
- [ ] I have documented a clear reason for, and description of, the change I am making.
27-
28-
- [ ] If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
29-
30-
- [ ] If applicable, I've documented the impact of any changes to security controls.
31-
32-
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

.github/workflows/backport.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/jira.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
JIRA_SYNC_USER_EMAIL: ${{ secrets.JIRA_SYNC_USER_EMAIL }}
1515
JIRA_SYNC_API_TOKEN: ${{ secrets.JIRA_SYNC_API_TOKEN }}
1616
with:
17-
teams-array: '["vault-eco-infra"]'
17+
teams-array: '["vault-eco"]'

.github/workflows/tests.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ jobs:
66
fmtcheck:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
10-
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
9+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
10+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
1111
with:
1212
go-version-file: .go-version
1313
- run: make fmtcheck
1414

1515
test:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
19-
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2020
with:
2121
go-version-file: .go-version
2222
- run: make test
@@ -27,16 +27,16 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
kind-k8s-version: [1.29.14, 1.30.13, 1.31.12, 1.32.8, 1.33.4]
30+
kind-k8s-version: [1.28.15, 1.29.14, 1.30.10, 1.31.6, 1.32.3]
3131
steps:
32-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
32+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
- name: Create K8s Kind Cluster
3434
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
3535
with:
3636
version: v0.27.0
3737
cluster_name: vault-plugin-auth-kubernetes
3838
node_image: kindest/node:v${{ matrix.kind-k8s-version }}
39-
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
39+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
4040
with:
4141
go-version-file: .go-version
4242
- run: make setup-integration-test
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Backport Assistant Runner for Vault Plugin Eco Projects
3+
on:
4+
pull_request_target:
5+
types:
6+
- closed
7+
- labeled
8+
jobs:
9+
backport-targeted-release-branch:
10+
if: github.event.pull_request.merged
11+
runs-on: ubuntu-latest
12+
container: hashicorpdev/backport-assistant:0.3.1
13+
steps:
14+
- name: Backport changes to targeted release branch
15+
env:
16+
BACKPORT_LABEL_REGEXP: "backport/vault-(?P<target>\\d+\\.\\d+\\.\\w+)"
17+
BACKPORT_TARGET_TEMPLATE: "release/vault-{{.target}}"
18+
BACKPORT_MERGE_COMMIT: true
19+
GITHUB_TOKEN: ${{ secrets.VAULT_ECO_GITHUB_TOKEN }}
20+
run: |
21+
backport-assistant backport -merge-method=squash -gh-automerge

CHANGELOG.md

Lines changed: 6 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,15 @@
1-
## v0.23.0
2-
### October 3, 2025
3-
4-
* change audience warning text since audiences wont be required in Vault 1.21 (#330)
5-
* Upgrade Go Version (#329)
6-
* Automated dependency upgrades (#324)
7-
* ci: Update k8s versions to 1.33-1.29 (#326)
8-
* init changie (#323)
9-
* Bump actions/checkout in the github-actions-breaking group (#322)
10-
* Automated dependency upgrades (#317)
11-
* Add backport assistant workflow (#320)
12-
* VAULT-36974: Add backport assistant workflow (#319)
13-
* [Compliance] - PR Template Changes Required (#318)
14-
15-
## 0.22.2 (June 17, 2025)
1+
## Unreleased
162

173
### Build
18-
* Build with go 1.24.4
19-
* Test with k8s versions 1.28-1.32
20-
21-
### Changes
22-
23-
Added warning that roles will require an audience starting in v0.23.0 [GH-301](https://github.com/hashicorp/vault-plugin-auth-kubernetes/pull/301).
24-
25-
### Dependency updates
26-
27-
* `github.com/hashicorp/vault/api` v1.16.0 -> v1.20.0
28-
* `github.com/hashicorp/vault/sdk` v0.17.0 -> v0.18.0
29-
30-
## 0.22.1 (May 30, 2025)
31-
32-
### Build
33-
* Build with go 1.24.3
4+
* Build with go 1.23.7
345
* Test with k8s versions 1.28-1.32
356

367
### Dependency updates
37-
38-
* `github.com/go-jose/go-jose/v4` v4.0.4 -> v4.1.0
8+
* `github.com/go-jose/go-jose/v4` v4.0.4 -> v4.0.5
399
* `github.com/hashicorp/cap` v0.8.0 -> v0.9.0
40-
* `github.com/hashicorp/vault/sdk` v0.15.0 -> v0.17.0
41-
* `k8s.io/api` v0.32.1 -> v0.33.1
42-
* `k8s.io/apimachinery` v0.32.1 -> v0.33.1
43-
44-
## 0.21.1 (June 17, 2025)
45-
46-
### Build
47-
* Build with go 1.24.4
48-
* Test with k8s versions 1.28-1.32
49-
50-
### Changes
51-
52-
Added warning that roles will require an audience starting in v0.23.0 [GH-301](https://github.com/hashicorp/vault-plugin-auth-kubernetes/pull/301).
53-
54-
### Dependency updates
55-
56-
* `github.com/go-jose/go-jose/v4` v4.0.4 -> v4.1.0
10+
* `github.com/hashicorp/vault/sdk` v0.15.0 -> v0.15.2
11+
* `k8s.io/api` v0.32.1 -> v0.32.2
12+
* `k8s.io/apimachinery` v0.32.1 -> v0.32.2
5713

5814
## 0.21.0 (Feb 12, 2025)
5915

@@ -69,20 +25,6 @@ Added warning that roles will require an audience starting in v0.23.0 [GH-301](h
6925
* `k8s.io/apimachinery` v0.31.0 -> v0.32.1
7026
* `github.com/hashicorp/go-sockaddr` v1.0.6 -> v1.0.7
7127

72-
## 0.20.1 (June 17, 2025)
73-
74-
### Build
75-
* Build with go 1.24.4
76-
* Test with k8s versions 1.28-1.32
77-
78-
### Changes
79-
80-
Added warning that roles will require an audience starting in v0.23.0 [GH-301](https://github.com/hashicorp/vault-plugin-auth-kubernetes/pull/301).
81-
82-
### Dependency updates
83-
84-
* `github.com/go-jose/go-jose/v4` v4.0.4 -> v4.1.0
85-
8628
## 0.20.0 (Sept 4, 2024)
8729

8830
### Build:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TESTARGS ?= '-test.v'
33
KIND_CLUSTER_NAME ?= vault-plugin-auth-kubernetes
44

55
# kind k8s version
6-
KIND_K8S_VERSION ?= v1.33.4
6+
KIND_K8S_VERSION ?= v1.32.3
77

88
.PHONY: default
99
default: dev
@@ -52,7 +52,7 @@ setup-integration-test: teardown-integration-test vault-image
5252
kind --name $(KIND_CLUSTER_NAME) load docker-image hashicorp/vault:dev
5353
kubectl --context="kind-$(KIND_CLUSTER_NAME)" create namespace test
5454
kubectl --context="kind-$(KIND_CLUSTER_NAME)" label namespaces test target=integration-test other=label
55-
helm upgrade --install vault vault --repo https://helm.releases.hashicorp.com --version=0.30.1 \
55+
helm upgrade --install vault vault --repo https://helm.releases.hashicorp.com --version=0.29.1 \
5656
--kube-context="kind-$(KIND_CLUSTER_NAME)" \
5757
--wait --timeout=5m \
5858
--namespace=test \

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,3 @@ make setup-integration-test
130130
# Run the integration tests against Vault inside the cluster
131131
make integration-test
132132
```
133-

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ module github.com/hashicorp/vault-plugin-auth-kubernetes
33
go 1.25.1
44

55
require (
6-
github.com/go-jose/go-jose/v4 v4.1.2
6+
github.com/go-jose/go-jose/v4 v4.1.3
77
github.com/go-test/deep v1.1.1
8-
github.com/hashicorp/cap v0.10.0
8+
github.com/hashicorp/cap v0.11.0
99
github.com/hashicorp/go-cleanhttp v0.5.2
1010
github.com/hashicorp/go-hclog v1.6.3
1111
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2
1212
github.com/hashicorp/go-sockaddr v1.0.7
1313
github.com/hashicorp/go-uuid v1.0.3
14-
github.com/hashicorp/vault/api v1.21.0
15-
github.com/hashicorp/vault/sdk v0.19.0
14+
github.com/hashicorp/vault/api v1.22.0
15+
github.com/hashicorp/vault/sdk v0.20.0
1616
github.com/mitchellh/mapstructure v1.5.0
1717
k8s.io/api v0.34.1
1818
k8s.io/apimachinery v0.34.1

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sa
8585
github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ=
8686
github.com/go-jose/go-jose/v3 v3.0.4 h1:Wp5HA7bLQcKnf6YYao/4kpRpVMp/yf6+pJKV8WFSaNY=
8787
github.com/go-jose/go-jose/v3 v3.0.4/go.mod h1:5b+7YgP7ZICgJDBdfjZaIt+H/9L9T/YQrVfLAMboGkQ=
88-
github.com/go-jose/go-jose/v4 v4.1.2 h1:TK/7NqRQZfgAh+Td8AlsrvtPoUyiHh0LqVvokh+1vHI=
89-
github.com/go-jose/go-jose/v4 v4.1.2/go.mod h1:22cg9HWM1pOlnRiY+9cQYJ9XHmya1bYW8OeDM6Ku6Oo=
88+
github.com/go-jose/go-jose/v4 v4.1.3 h1:CVLmWDhDVRa6Mi/IgCgaopNosCaHz7zrMeF9MlZRkrs=
89+
github.com/go-jose/go-jose/v4 v4.1.3/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08=
9090
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
9191
github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
9292
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
@@ -160,8 +160,8 @@ github.com/googleapis/gax-go/v2 v2.14.1/go.mod h1:Hb/NubMaVM88SrNkvl8X/o8XWwDJEP
160160
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
161161
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
162162
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
163-
github.com/hashicorp/cap v0.10.0 h1:OJM3JQTwVO1DigRIPNTxM387oqXlokKhttZHotU0b1s=
164-
github.com/hashicorp/cap v0.10.0/go.mod h1:HKbv27kfps+wONFNyNTHpAQmU/DCjjDuB5HF6mFsqPQ=
163+
github.com/hashicorp/cap v0.11.0 h1:tnMNgIWEdbmyx0fulrlLPNHowsprg34xFWflOEB3t1s=
164+
github.com/hashicorp/cap v0.11.0/go.mod h1:HKbv27kfps+wONFNyNTHpAQmU/DCjjDuB5HF6mFsqPQ=
165165
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
166166
github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
167167
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
@@ -216,10 +216,10 @@ github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iP
216216
github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
217217
github.com/hashicorp/hcl v1.0.1-vault-7 h1:ag5OxFVy3QYTFTJODRzTKVZ6xvdfLLCA1cy/Y6xGI0I=
218218
github.com/hashicorp/hcl v1.0.1-vault-7/go.mod h1:XYhtn6ijBSAj6n4YqAaf7RBPS4I06AItNorpy+MoQNM=
219-
github.com/hashicorp/vault/api v1.21.0 h1:Xej4LJETV/spWRdjreb2vzQhEZt4+B5yxHAObfQVDOs=
220-
github.com/hashicorp/vault/api v1.21.0/go.mod h1:IUZA2cDvr4Ok3+NtK2Oq/r+lJeXkeCrHRmqdyWfpmGM=
221-
github.com/hashicorp/vault/sdk v0.19.0 h1:cpjxJ5qnEEX7xtVXaFpXpqfiFTs2hzyQiHS7oJRrvMM=
222-
github.com/hashicorp/vault/sdk v0.19.0/go.mod h1:IYPuA9rZdJjmvssaRWhqs6XQNH6g6XBLjIxOdOVYVrM=
219+
github.com/hashicorp/vault/api v1.22.0 h1:+HYFquE35/B74fHoIeXlZIP2YADVboaPjaSicHEZiH0=
220+
github.com/hashicorp/vault/api v1.22.0/go.mod h1:IUZA2cDvr4Ok3+NtK2Oq/r+lJeXkeCrHRmqdyWfpmGM=
221+
github.com/hashicorp/vault/sdk v0.20.0 h1:a4ulj2gICzw/qH0A4+6o36qAHxkUdcmgpMaSSjqE3dc=
222+
github.com/hashicorp/vault/sdk v0.20.0/go.mod h1:xEjAt/n/2lHBAkYiRPRmvf1d5B6HlisPh2pELlRCosk=
223223
github.com/hashicorp/yamux v0.1.2 h1:XtB8kyFOyHXYVFnwT5C3+Bdo8gArse7j2AQ0DA0Uey8=
224224
github.com/hashicorp/yamux v0.1.2/go.mod h1:C+zze2n6e/7wshOZep2A70/aQU6QBRWJO/G6FT1wIns=
225225
github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo=

0 commit comments

Comments
 (0)