Helm how to define .Release.Name value

只谈情不闲聊 提交于 2019-12-05 10:45:19

问题


I have created basic helm template using helm create command. While checking the template for Ingress its adding the string RELEASE-NAME and appname like this RELEASE-NAME-microapp

How can I change .Release.Name value?

helm template --kube-version 1.11.1  microapp/

# Source: microapp/templates/ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: RELEASE-NAME-microapp
  labels:
    app: microapp
    chart: microapp-0.1.0
    release: RELEASE-NAME
    heritage: Tiller
  annotations:
    kubernetes.io/ingress.class: nginx

回答1:


It's the value of the helm install --name parameter, or absent this, a name Helm chooses itself. If you're checking what might be generated via helm template that also takes a --name parameter.



来源:https://stackoverflow.com/questions/51718202/helm-how-to-define-release-name-value

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!