mirror of https://github.com/easzlab/kubeasz.git
修改.gitignore,方便自定义参数配置
parent
fd4816badb
commit
59ff795554
|
@ -1,10 +1,22 @@
|
|||
down/*
|
||||
!down/download.sh
|
||||
!down/offline_images
|
||||
|
||||
# k8s binaries directory
|
||||
bin/*
|
||||
!bin/readme.md
|
||||
|
||||
# kube-dns controller
|
||||
manifests/kubedns/kubedns.yaml
|
||||
manifests/coredns/coredns.yaml
|
||||
|
||||
# ansible hosts
|
||||
hosts
|
||||
|
||||
# k8s backup directory
|
||||
roles/cluster-backup/files/*
|
||||
!roles/cluster-backup/files/readme.md
|
||||
|
||||
# roles/xxx/vars, exclude roles/os-harden/vars/
|
||||
vars/*
|
||||
!/roles/os-harden/vars/
|
||||
|
|
|
@ -3,6 +3,11 @@ dns_install: "yes"
|
|||
dns_backend: "coredns"
|
||||
kubedns_offline: "kubedns_1.14.10.tar"
|
||||
coredns_offline: "coredns_1.1.3.tar"
|
||||
dns_offline: "{%- if dns_backend == 'coredns' -%} \
|
||||
{{ coredns_offline }} \
|
||||
{%- else -%} \
|
||||
{{ kubedns_offline }} \
|
||||
{%- endif -%}"
|
||||
|
||||
# metric server 自动安装
|
||||
metricsserver_install: "yes"
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
dns_offline: "{%- if dns_backend == 'coredns' -%} \
|
||||
{{ coredns_offline }} \
|
||||
{%- else -%} \
|
||||
{{ kubedns_offline }} \
|
||||
{%- endif -%}"
|
||||
|
Loading…
Reference in New Issue