Gitlab CI usage
#1084
Replies: 1 comment
-
|
Hi! Here's how Helmwave typically handles kubeconfig and context selection when running in a CI/CD pipeline like GitLab CI:
deploy:
image: ghcr.io/helmwave/helmwave
script:
- helmwave up
variables:
KUBECONFIG: /path/to/kubeconfig
you can use different kube contexts in helmwave.yml |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
The docs aren't clear on that point so I am asking the question here: how is Helmwave expecting to get the context from Gitlab CI?
The agent provides a
$KUBECONFIGenv var but that's all, andkubectlisn't available from the helmwave docker image.So that leaves me wondering: what is the expected approach in order to select the context?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions