forked from kairen/kube-ansible
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaddons.yml
16 lines (15 loc) · 1.03 KB
/
addons.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
# Require the cluster is fully operation and running
- hosts: masters
become: true
gather_facts: false
roles:
- { role: cluster-default, tags: always }
- { role: k8s-addon, tags: nfs-client, when: enable_nfs_client, addon: "{{ addons.nfs_client }}", storage: "{{ storages.nfs }}" }
- { role: k8s-addon, tags: dashboard, when: enable_dashboard, addon: "{{ addons.dashboard }}" }
- { role: k8s-addon, tags: logging, when: enable_logging, addon: "{{ addons.logging }}" }
- { role: k8s-addon, tags: monitoring, when: enable_monitoring, addon: "{{ addons.monitoring }}" }
- { role: k8s-addon, tags: ingress-nginx, when: enable_ingress, addon: "{{ addons.ingress_nginx }}" }
- { role: k8s-addon, tags: metric-server, when: enable_metric_server, addon: "{{ addons.metric_server }}" }
- { role: k8s-addon, tags: helm, when: enable_helm, addon: "{{ addons.helm }}" }
- { role: k8s-addon, tags: external-dns, when: enable_external_dns, addon: "{{ addons.external_dns }}" }