Merged: init_k3s_cluster_with_gitops -> init_k3s_cluster_std
This commit is contained in:
parent
7d848afdb3
commit
076be7e396
2
.github/workflows/use-setup-k3s-cluster.yml
vendored
2
.github/workflows/use-setup-k3s-cluster.yml
vendored
@ -71,5 +71,5 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
export ANSIBLE_HOST_KEY_CHECKING=False
|
||||
ansible-playbook -i hosts/inventory init_k3s_cluster_with_gitops -e "cluster_name=${{inputs.ssh_host_name}}" -e "domain=${{inputs.domain}}" -D
|
||||
ansible-playbook -i hosts/inventory init_k3s_cluster_std -e "cluster_name=${{inputs.ssh_host_name}}" -e "domain=${{inputs.domain}}" -D
|
||||
working-directory: playbook/
|
||||
|
||||
@ -21,12 +21,12 @@
|
||||
name: k3s-addon
|
||||
vars:
|
||||
group: master
|
||||
gitops: enable
|
||||
config_repo: https://github.com/svc-design/gitops.git
|
||||
ingress: nginx
|
||||
domain: svc.plus
|
||||
namespace: ingress
|
||||
gitops: enable
|
||||
canary: enable
|
||||
auto_issuance: true
|
||||
update_secret: false
|
||||
external_dns: enable
|
||||
external_dns: enable
|
||||
update_secret: false
|
||||
svc_discovery: disable
|
||||
config_repo: https://github.com/svc-design/gitops.git
|
||||
|
||||
@ -1,31 +0,0 @@
|
||||
- name: set artifact cluster with vhosts
|
||||
hosts: all
|
||||
user: root
|
||||
become: yes
|
||||
gather_facts: yes
|
||||
tasks:
|
||||
- include_role:
|
||||
name: k3s-reset
|
||||
vars:
|
||||
group: master
|
||||
cluster_reset: 'enable'
|
||||
- include_role:
|
||||
name: k3s
|
||||
vars:
|
||||
group: master
|
||||
cni: default
|
||||
version: 'v1.27.2+k3s1'
|
||||
pod_cidr: '10.10.0.0/16'
|
||||
svc_cidr: '172.16.0.0/16'
|
||||
- include_role:
|
||||
name: k3s-addon
|
||||
vars:
|
||||
group: master
|
||||
gitops: enable
|
||||
canary: enable
|
||||
auto_issuance: true
|
||||
external_dns: enable
|
||||
update_secret: false
|
||||
external_dns: enable
|
||||
svc_discovery: disable
|
||||
config_repo: https://github.com/svc-design/gitops.git
|
||||
Loading…
Reference in New Issue
Block a user