refactor: expand gitlab's kb with its own section and the intallation of k8s runners

This commit is contained in:
Michele Cereda
2024-06-02 22:38:37 +02:00
parent e71edc6260
commit 107aa0993d
10 changed files with 324 additions and 39 deletions

27
snippets/helm.sh Normal file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/env sh
helm repo list
helm repo add 'gitlab' 'https://charts.gitlab.io'
helm repo update
helm repo update 'keda'
helm search hub --max-col-width '100' 'ingress-nginx'
helm search repo --versions 'gitlab/gitlab-runner'
helm inspect values 'gitlab/gitlab'
helm inspect values 'gitlab/gitlab-runner' --version '0.64.1'
helm pull 'ingress-nginx/ingress-nginx' --version '4.0.6' --destination '/tmp' --untar --untardir 'ingress-nginx'
helm template --namespace 'gitlab' --values "values.gitlab-runner.yaml" --set global.hosts.hostSuffix='test' \
'gitlab-runner' 'gitlab/gitlab-runner'
helm --namespace 'gitlab' upgrade --install --create-namespace --version '0.64.1' 'gitlab-runner' \
--values 'values.gitlab-runner.yml' 'gitlab/gitlab-runner'
helm upgrade --install 'keda' 'keda' --repo 'https://kedacore.github.io/charts' --namespace 'keda' --create-namespace
helm get manifest 'wordpress'
helm plugin list