Difference between revisions of "Helm install --set"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* <code>[[helm install --set persistence.enabled=true grafana grafana/grafana]]</code>
 
* <code>[[helm install --set persistence.enabled=true grafana grafana/grafana]]</code>
  
  helm install --set 'args={[[--kubelet-insecure-tls]]}' --namespace kube-system [[metrics-server]] metrics-server/metrics-server
+
  [[helm install --set]] 'args={[[--kubelet-insecure-tls]]}' --namespace kube-system [[metrics-server]] metrics-server/metrics-server
  
 
  helm install grafana grafana/grafana --namespace grafana --set persistence.storageClassName=“gp2” --set persistence.enabled=true --set  
 
  helm install grafana grafana/grafana --namespace grafana --set persistence.storageClassName=“gp2” --set persistence.enabled=true --set  

Revision as of 14:32, 7 December 2022

helm install --set 'args={--kubelet-insecure-tls}' --namespace kube-system metrics-server metrics-server/metrics-server
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

Related

See also

Advertising: