Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Kubernetes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Kubernetes
Commits
bb2e48fa
Commit
bb2e48fa
authored
Mar 31, 2024
by
Pierre Smeyers
Browse files
Options
Downloads
Patches
Plain Diff
docs(vault): warn about Bitnami images incompatible with the Vault variant
parent
10144433
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+11
-0
11 additions, 0 deletions
README.md
with
11 additions
and
0 deletions
README.md
+
11
−
0
View file @
bb2e48fa
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment