diff --git a/k8s-templates/secret.yaml b/k8s-templates/secret.yaml new file mode 100644 index 0000000..6a3b418 --- /dev/null +++ b/k8s-templates/secret.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Secret +metadata: + name: django-secret + namespace: labhelper +type: Opaque +stringData: + secret-key: "CHANGE_ME_TO_RANDOM_STRING" diff --git a/scripts/deploy_secret.sh b/scripts/deploy_secret.sh index b839081..43f2670 100755 --- a/scripts/deploy_secret.sh +++ b/scripts/deploy_secret.sh @@ -3,7 +3,7 @@ NAMESPACE="labhelper" SECRET_NAME="django-secret" -SECRET_FILE="argocd/secret.yaml" +SECRET_FILE="k8s-templates/secret.yaml" # Check if secret file exists if [ ! -f "$SECRET_FILE" ]; then