ass cicd p2

This commit is contained in:
Sergey Bondarev
2021-12-14 14:56:14 +03:00
parent 4dc41b7a78
commit 18abde91e0
13 changed files with 692 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"