diff --git a/.github/workflows/helm-unittest.yml b/.github/workflows/helm-unittest.yml index 9540437..074e224 100644 --- a/.github/workflows/helm-unittest.yml +++ b/.github/workflows/helm-unittest.yml @@ -12,7 +12,7 @@ on: [push, pull_request] jobs: build: - name: Run helm lint over the chart + name: Run helm unittests over the chart # It has to be 24.04 because -latest has a podman version that is too old runs-on: ubuntu-24.04 @@ -20,6 +20,6 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 - - name: Run make helmlint + - name: Run make helm-unittest run: | make helm-unittest diff --git a/Chart.yaml b/Chart.yaml index 8313259..fc20ffb 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -3,7 +3,7 @@ description: A Helm chart to configure Hashicorp's vault. keywords: - pattern name: hashicorp-vault -version: 0.1.3 +version: 0.1.4 home: https://github.com/validatedpatterns/hashicorp-vault-chart dependencies: - name: vault diff --git a/README.md b/README.md index e6e2c92..7bf481f 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,19 @@ # hashicorp-vault -![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) +![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) A Helm chart to configure Hashicorp's vault. This chart is used by the Validated Patterns installation script that can be found [here](https://github.com/validatedpatterns/common/blob/main/scripts/pattern-util.sh) +**Homepage:** + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| Validated Patterns Team | | | + ## Requirements | Repository | Name | Version | @@ -24,7 +32,7 @@ This chart is used by the Validated Patterns installation script that can be fou | vault.server.extraEnvironmentVars | object | `{"VAULT_ADDR":"https://vault.vault.svc.cluster.local:8200","VAULT_CACERT":"/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt"}` | Additional environment variables injected in the vault pod | | vault.server.extraVolumes | list | `[{"name":"vault-secret","type":"secret"}]` | Extra volumes that are automatically mounted in the vault pod under /vault/userconfig/ | | vault.server.image.repository | string | `"registry.connect.redhat.com/hashicorp/vault"` | Where to fetch the vault images from | -| vault.server.image.tag | string | `"1.17.3-ubi"` | Tag to use for the vault image | +| vault.server.image.tag | string | `"1.18.0-ubi"` | Tag to use for the vault image | | vault.server.route.enabled | bool | `true` | Enable route support when exposing the vault | | vault.server.route.tls.termination | string | `"reencrypt"` | Termination type of the vault route | | vault.server.service.enabled | bool | `true` | Enables an associated k8s service when running the vault | diff --git a/tests/hashicorp_vault_full_chart_test.yaml b/tests/hashicorp_vault_full_chart_test.yaml new file mode 100644 index 0000000..567e504 --- /dev/null +++ b/tests/hashicorp_vault_full_chart_test.yaml @@ -0,0 +1,15 @@ +suite: Test hashicorp app with default values +templates: + - charts/vault/templates/server-statefulset.yaml +release: + name: release-test +tests: + - it: Should output vault image + asserts: + - hasDocuments: + count: 1 + - isKind: + of: StatefulSet + - equal: + path: spec.template.spec.containers[0].image + value: "registry.connect.redhat.com/hashicorp/vault:1.18.0-ubi" diff --git a/values.yaml b/values.yaml index ed87a0d..8059feb 100644 --- a/values.yaml +++ b/values.yaml @@ -65,4 +65,4 @@ vault: # -- Where to fetch the vault images from repository: "registry.connect.redhat.com/hashicorp/vault" # -- Tag to use for the vault image - tag: "1.17.6-ubi" + tag: "1.18.0-ubi"