-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#190) * Ensure a consistent TLS configuration (#173) (#178) * Ensure a consistent TLS configuration for k8s API requests Previously, it was possible for the http.Client's Transport to be missing the necessary root CAs to ensure that all TLS connections between the auth engine and the Kubernetes API were validated against a configured set of CA certificates. This fix ensures that the http.Client's Transport is always consistent with the configured CA cert chain, by introducing a periodic TLS configuration checker that is started as part of the backend's initialization. Other fixes: - only update the client's transport when the CA certificate pool has changed. Co-authored-by: Tom Proctor <[email protected]> * Repo hygiene (#162) * update go and k8s versions go 1.19.1 k8s up to 1.25.0 * updated x/net and x/sys go get golang.org/x/[email protected] go get golang.org/x/[email protected] * make fmt making gofumpt happy * update chart and vault version Default to k8s 1.25.0 use chart 0.22.0 use vault 1.11.3 * Remove unused import add from cherry-pick --------- Co-authored-by: Tom Proctor <[email protected]> Co-authored-by: Theron Voran <[email protected]>
- Loading branch information
1 parent
37e92c7
commit 82058b0
Showing
14 changed files
with
893 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18.0 | ||
go-version: 1.19.1 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
|
@@ -32,23 +32,23 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
kind-k8s-version: [1.21.10, 1.22.7, 1.23.6, 1.24.0] | ||
kind-k8s-version: [1.22.13, 1.23.10, 1.24.4, 1.25.0] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Create K8s Kind Cluster | ||
uses: helm/[email protected] | ||
with: | ||
version: v0.13.0 | ||
version: v0.14.0 | ||
cluster_name: vault-plugin-auth-kubernetes | ||
config: integrationtest/kind/config.yaml | ||
node_image: kindest/node:v${{ matrix.kind-k8s-version }} | ||
# Must come _after_ kind-action, because the kind step also sets up a kubectl binary. | ||
- uses: azure/[email protected] | ||
with: | ||
version: 'v1.24.0' | ||
version: 'v1.25.0' | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.18.0 | ||
go-version: 1.19.1 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.