Skip to content

Commit

Permalink
Merge pull request #4 from mbaldessari/vault-1.18.0
Browse files Browse the repository at this point in the history
vault 1.18.0
  • Loading branch information
mbaldessari authored Oct 26, 2024
2 parents fbf2c4b + 916eb4e commit 1365ac7
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ 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

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Run make helmlint
- name: Run make helm-unittest
run: |
make helm-unittest
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:** <https://github.com/validatedpatterns/hashicorp-vault-chart>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| Validated Patterns Team | <validatedpatterns@googlegroups.com> | |

## Requirements

| Repository | Name | Version |
Expand All @@ -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/<name> |
| 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 |
Expand Down
15 changes: 15 additions & 0 deletions tests/hashicorp_vault_full_chart_test.yaml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 1365ac7

Please sign in to comment.