Skip to content

Commit

Permalink
Update to go 1.22.4 and k8s versions 1.26-1.30 (#251)
Browse files Browse the repository at this point in the history
Also configure dependabot for hashicorp actions, and set latest
trusted actions.
  • Loading branch information
tvoran authored Jun 25, 2024
1 parent 758131d commit ac8ab0e
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 7 deletions.
24 changes: 24 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

---
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels: ["dependencies"]
groups:
github-actions-breaking:
update-types:
- major
github-actions-backward-compatible:
update-types:
- minor
- patch
# only update internal github actions, external github actions are handled
# by https://github.com/hashicorp/security-tsccr/tree/main/automation
allow:
- dependency-name: "hashicorp/*"
3 changes: 1 addition & 2 deletions .github/workflows/bulk-dep-upgrades.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
secrets:
VAULT_ECO_GITHUB_TOKEN: ${{ secrets.VAULT_ECO_GITHUB_TOKEN }}
with:
# either hashicorp/vault-ecosystem-applications or hashicorp/vault-ecosystem-foundations
reviewer-team: hashicorp/vault-ecosystem-foundations
reviewer-team: hashicorp/vault-ecosystem
repository: ${{ github.repository }}
run-id: ${{ github.run_id }}
2 changes: 1 addition & 1 deletion .github/workflows/jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
JIRA_SYNC_USER_EMAIL: ${{ secrets.JIRA_SYNC_USER_EMAIL }}
JIRA_SYNC_API_TOKEN: ${{ secrets.JIRA_SYNC_API_TOKEN }}
with:
teams-array: '["ecosystem", "foundations-eco"]'
teams-array: '["vault-eco"]'
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
strategy:
fail-fast: false
matrix:
kind-k8s-version: [1.24.15, 1.25.11, 1.26.6, 1.27.3, 1.28.0]
kind-k8s-version: [1.26.15, 1.27.13, 1.28.9, 1.29.4, 1.30.0]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Create K8s Kind Cluster
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
with:
version: v0.20.0
version: v0.23.0
cluster_name: vault-plugin-auth-kubernetes
node_image: kindest/node:v${{ matrix.kind-k8s-version }}
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.22.2
1.22.4
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### Changes

* Building with go 1.22.4
* Testing with k8s 1.26-1.30
* Updated dependencies
* `github.com/hashicorp/go-hclog` v1.6.2 -> v1.6.3
* `github.com/hashicorp/vault/api` v1.12.2 -> v1.14.0
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/hashicorp/vault-plugin-auth-kubernetes

go 1.22.0

toolchain go1.22.2
toolchain go1.22.4

require (
github.com/go-test/deep v1.1.0
Expand Down

0 comments on commit ac8ab0e

Please sign in to comment.