mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
a37bfb6345
add cicd part 2 practice
12 lines
301 B
Bash
Executable File
12 lines
301 B
Bash
Executable File
#!/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"
|