Skip to content

Commit 5835498

Browse files
committed
Modified deploy bash script file!
1 parent 465a3aa commit 5835498

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
/.env
1+
.env
2+
.deploy.env
23
/node_modules

scripts/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818

1919
echo "🔑 Creating/Updating Kubernetes Secret from .env..."
2020
kubectl delete secret $SECRET_NAME -n $NAMESPACE --ignore-not-found
21-
kubectl create secret generic $SECRET_NAME -n $NAMESPACE --from-env-file=.env
21+
kubectl create secret generic $SECRET_NAME -n $NAMESPACE --from-env-file=.deploy.env
2222

2323
# 3. Apply Deployment & Service
2424
echo "⚙️ Applying Deployment and Service..."

0 commit comments

Comments
 (0)