openshift/server: readiness probe passes when server uninitialized (#966)
Changes the default server readiness probe to pass when the server is uninitialized, in order to pass the latest version of the chart-verifier test (see #954) for details. Also updates the chart-verifier used in our tests to 1.13.0 (latest).
This commit is contained in:
parent
24739373fb
commit
6f3f107ca5
3 changed files with 6 additions and 2 deletions
4
.github/workflows/tests.yaml
vendored
4
.github/workflows/tests.yaml
vendored
|
@ -10,14 +10,14 @@ jobs:
|
||||||
chart-verifier:
|
chart-verifier:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CHART_VERIFIER_VERSION: '1.10.1'
|
CHART_VERIFIER_VERSION: '1.13.0'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
||||||
- name: Setup test tools
|
- name: Setup test tools
|
||||||
uses: ./.github/actions/setup-test-tools
|
uses: ./.github/actions/setup-test-tools
|
||||||
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
||||||
with:
|
with:
|
||||||
go-version: '1.19.2'
|
go-version: '1.21.3'
|
||||||
- run: go install "github.com/redhat-certification/chart-verifier@${CHART_VERIFIER_VERSION}"
|
- run: go install "github.com/redhat-certification/chart-verifier@${CHART_VERIFIER_VERSION}"
|
||||||
- run: bats --tap --timing ./test/chart
|
- run: bats --tap --timing ./test/chart
|
||||||
permissions:
|
permissions:
|
||||||
|
|
|
@ -4,6 +4,7 @@ Changes:
|
||||||
* Default `vault` version updated to 1.15.0
|
* Default `vault` version updated to 1.15.0
|
||||||
* Default `vault-k8s` version updated to 1.3.0
|
* Default `vault-k8s` version updated to 1.3.0
|
||||||
* Tested with Kubernetes versions 1.24-1.28
|
* Tested with Kubernetes versions 1.24-1.28
|
||||||
|
* server: OpenShift default readiness probe returns 204 when uninitialized [GH-966](https://github.com/hashicorp/vault-helm/pull/966)
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
* server: Add support for dual stack clusters [GH-833](https://github.com/hashicorp/vault-helm/pull/833)
|
* server: Add support for dual stack clusters [GH-833](https://github.com/hashicorp/vault-helm/pull/833)
|
||||||
|
|
|
@ -19,3 +19,6 @@ server:
|
||||||
image:
|
image:
|
||||||
repository: "registry.connect.redhat.com/hashicorp/vault"
|
repository: "registry.connect.redhat.com/hashicorp/vault"
|
||||||
tag: "1.15.0-ubi"
|
tag: "1.15.0-ubi"
|
||||||
|
|
||||||
|
readinessProbe:
|
||||||
|
path: "/v1/sys/health?uninitcode=204"
|
||||||
|
|
Loading…
Reference in a new issue