add cicd part 2 practice
This commit is contained in:
Sergey
2021-12-14 18:57:25 +03:00
committed by GitHub
parent f905acf9c6
commit a37bfb6345
13 changed files with 715 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
NS=xpaste-production
kubectl delete secret slurm-xpaste --namespace "$NS"
kubectl create secret generic slurm-xpaste \
--from-literal secret-key-base=xxxxxxxxxxxxxxxxxxxxxxxxx \
--from-literal db-user='xpaste' \
--from-literal db-password='xpaste1234567890' \
--namespace "$NS"