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

This commit is contained in:
Amit Rathi 2018-11-16 01:09:02 +05:30
parent adfaafe7b0
commit f0bdf34f72
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -0,0 +1,5 @@
# 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"