mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
+11
@@ -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"
|
||||
Reference in New Issue
Block a user