Helm: How to Override Value with Periods in Name

后端 未结 2 622
名媛妹妹
名媛妹妹 2021-02-07 06:37

I am trying to script setup of Jenkins so that I can create and tear down Jenkins clusters programmatically with helm. I\'ve hit an annoying snag where I cannot set a key with d

2条回答
  •  悲&欢浪女
    2021-02-07 06:43

    You need to enclose the key with quotations and then escape the dots

    helm install --values helm/jenkins.yml stable/jenkins --set Master.Ingress.Annotations."certmanager\.k8s\.io/cluster-issuer"=letsencrypt-staging
    

提交回复
热议问题