helm install --set

From wikieduonline
Revision as of 09:12, 23 October 2023 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

helm install grafana grafana/grafana --namespace grafana --set persistence.storageClassName=“gp2” --set persistence.enabled=true --set 
adminPassword=‘YOURPASS’ --set ingress.enabled=true --set ingress.ingressClassName=“internet-facing-ingress” --set ingress.hosts=“your host name”


--set registryBase=${CONTAINER_REGISTRY_BASE}
--set imageTag=${VERSION}
--set gitVersion=\"${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}\"
--set gitBranch=\"${CI_COMMIT_BRANCH}\""


--set foo={a,b,c}
--set aws.subnets={subnet-123456,subnet-654321}
Ref: https://stackoverflow.com/questions/48316330/how-to-set-multiple-values-with-helm

Users of zsh might need to put quotes around key/value pairs.

Related[edit]

See also[edit]

Advertising: