role/cert-manager: update
This commit is contained in:
parent
447515be88
commit
ce546100aa
@ -10,9 +10,9 @@ curl https://get.acme.sh | sh -s email=156405189@qq.com
|
||||
|
||||
rm -rvf ${domain}.* -f
|
||||
sh ~/.acme.sh/acme.sh --set-default-ca --server zerossl --issue --force --dns dns_ali -d ${domain} -d "*.${domain}"
|
||||
cat ~/.acme.sh/${domain}/${domain}.cer > ${domain}.pem
|
||||
cat ~/.acme.sh/${domain}/ca.cer >> ${domain}.pem
|
||||
cat ~/.acme.sh/${domain}/${domain}.key > ${domain}.key
|
||||
cat ~/.acme.sh/${domain}_ecc/${domain}.cer > ${domain}.pem
|
||||
cat ~/.acme.sh/${domain}_ecc/ca.cer >> ${domain}.pem
|
||||
cat ~/.acme.sh/${domain}_ecc/${domain}.key > ${domain}.key
|
||||
|
||||
kubectl create namespace $namespace || echo true
|
||||
kubectl delete secret tls $secret -n $namespace || echo true
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
helm repo up
|
||||
kubectl create ns database
|
||||
helm upgrade --install mysql bitnami/mysql -n database
|
||||
@ -1,4 +0,0 @@
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
helm repo up
|
||||
kubectl create ns redis
|
||||
helm upgrade --install redis bitnami/redis -n redis
|
||||
@ -1,3 +0,0 @@
|
||||
- name: Setup Redis Server
|
||||
script: files/setup-redis.sh
|
||||
when: inventory_hostname in groups[group]
|
||||
Loading…
Reference in New Issue
Block a user