Commit f0bdf34f authored by Amit Rathi's avatar Amit Rathi

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

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment