Adding cluster_name to api cert alt name for vault

pull/2875/head
Brad Beam 2018-06-12 14:15:07 -05:00
parent cf8e9eed69
commit 3d819a6edd
1 changed files with 1 additions and 1 deletions

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