Browse Source

download: respect enable_dns_autoscaler when enabling dnsautoscaler (#12217)

dnsautoscaler should only be enabled when enable_dns_autoscaler is
set to true. without this, it could be enabled without any manifest
actually using it, which makes it a false signal.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
pull/11964/head
Seena Fallah 4 months ago
committed by GitHub
parent
commit
ec85b7e2c9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubespray_defaults/defaults/main/download.yml

2
roles/kubespray_defaults/defaults/main/download.yml

@ -897,7 +897,7 @@ downloads:
- k8s_cluster
dnsautoscaler:
enabled: "{{ dns_mode in ['coredns', 'coredns_dual'] }}"
enabled: "{{ dns_mode in ['coredns', 'coredns_dual'] and enable_dns_autoscaler }}"
container: true
repo: "{{ dnsautoscaler_image_repo }}"
tag: "{{ dnsautoscaler_image_tag }}"

Loading…
Cancel
Save