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:
Theron Voran 2023-10-26 00:08:53 -07:00 committed by GitHub
parent 24739373fb
commit 6f3f107ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View file

@ -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:

View file

@ -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)

View file

@ -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"