Adding cluster_name to api cert alt name for vault

This commit is contained in:
Brad Beam 2018-06-12 14:15:07 -05:00
parent cf8e9eed69
commit 3d819a6edd

View file

@ -25,7 +25,7 @@
kube_cert_alt_names: >-
{{
groups['kube-master'] +
['kubernetes.default.svc.cluster.local', 'kubernetes.default.svc', 'kubernetes.default', 'kubernetes'] +
['kubernetes.default.svc.'+cluster_name, 'kubernetes.default.svc', 'kubernetes.default', 'kubernetes'] +
['localhost']
}}
run_once: true