feat(kubernetes): add initial setup for ArgoCD, Cert-Manager, MetalLB, and Traefik
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
16
playbooks/kubernetes_setup.yml
Normal file
16
playbooks/kubernetes_setup.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: Setup Kubernetes Cluster
|
||||
hosts: kubernetes
|
||||
any_errors_fatal: true
|
||||
gather_facts: false
|
||||
vars:
|
||||
is_localhost: "{{ inventory_hostname == '127.0.0.1' }}"
|
||||
roles:
|
||||
- role: kubernetes_traefik
|
||||
when: is_localhost
|
||||
- role: kubernetes_argocd
|
||||
when: is_localhost
|
||||
- role: kubernetes_metallb
|
||||
when: is_localhost
|
||||
- role: kubernetes_cert_manager
|
||||
when: is_localhost
|
||||
Reference in New Issue
Block a user