initial commit
This commit is contained in:
2
dev/postgres13/secret/get-password.sh
Executable file
2
dev/postgres13/secret/get-password.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
echo User : $(microk8s kubectl get secret postgres -o jsonpath="{.data.POSTGRES_USER}" | base64 -d)
|
||||
echo Password: $(microk8s kubectl get secret postgres -o jsonpath="{.data.POSTGRES_PASSWORD}" | base64 -d)
|
||||
8
dev/postgres13/secret/postgres-secret.yaml
Executable file
8
dev/postgres13/secret/postgres-secret.yaml
Executable file
@@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: postgres
|
||||
data:
|
||||
POSTGRES_PASSWORD: bXktc3VwZXItc2VjcmV0LXBhc3N3b3Jk
|
||||
stringData:
|
||||
POSTGRES_USER: root
|
||||
Reference in New Issue
Block a user