提交 f0bdf34f 编写于 作者: A Amit Rathi

Move ingress shim config from --set to values.yaml

上级 adfaafe7
......@@ -33,16 +33,10 @@ module Clusters
rbac: cluster.platform_kubernetes_rbac?,
chart: chart,
files: files.merge!(cluster_issuer_file),
postinstall: post_install_script,
application_flags: install_command_flags
postinstall: post_install_script
)
end
def install_command_flags
['--set', 'ingressShim.defaultIssuerName=letsencrypt-prod'] +
['--set', 'ingressShim.defaultIssuerKind=ClusterIssuer']
end
private
def post_install_script
......
# These options provide fully automated TLS.
# See https://github.com/jetstack/cert-manager/blob/master/docs/reference/ingress-shim.rst#configuration
ingressShim:
defaultIssuerKind: "ClusterIssuer"
defaultIssuerName: "letsencrypt-prod"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册