Skip to content
Snippets Groups Projects
Commit e9d5de44 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch '41-missing-curl-or-wget-for-vault-alternative' into 'master'

Resolve "Missing curl or wget for vault alternative"

Closes #41

See merge request to-be-continuous/kubernetes!76
parents 10144433 bb2e48fa
No related branches found
No related tags found
No related merge requests found
...@@ -491,6 +491,14 @@ Here are its parameters: ...@@ -491,6 +491,14 @@ Here are its parameters:
This variant allows delegating your secrets management to a [Vault](https://www.vaultproject.io/) server. This variant allows delegating your secrets management to a [Vault](https://www.vaultproject.io/) server.
#### :warning: Change default `K8S_KUBECTL_IMAGE`
The Vault variant requires `curl` or `wget` to retrieve secrets from the Vault server, which makes it incompatible with the
[default `K8S_KUBECTL_IMAGE` from Bitnami](https://bitnami.com/stack/kubectl/containers), as `curl` and `wget` are no longer part of it.
As a result, when using the Vault variant, you'll have to select a `K8S_KUBECTL_IMAGE` that - in addition to `kubectl` - contains `curl` or `wget`.
For instance [container-oc](https://github.com/appuio/container-oc) images (see example below).
#### Configuration #### Configuration
In order to be able to communicate with the Vault server, the variant requires the additional configuration parameters: In order to be able to communicate with the Vault server, the variant requires the additional configuration parameters:
...@@ -524,6 +532,9 @@ With: ...@@ -524,6 +532,9 @@ With:
include: include:
# main template # main template
- component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8s@6.1.0 - component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8s@6.1.0
inputs:
# ⚠ oc-container image (includes required curl)
kubectl-image: registry.hub.docker.com/docker.io/appuio/oc:v4.14
# Vault variant # Vault variant
- component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8s-vault@6.1.0 - component: gitlab.com/to-be-continuous/kubernetes/gitlab-ci-k8s-vault@6.1.0
inputs: inputs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment