Skip to content

Commit

Permalink
Added quotes to stringData for secret deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchristian1telus committed Oct 21, 2024
1 parent 96b5f61 commit 2df0102
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions openshift/scripts/deploy-redis-sentinel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ rm values.yaml
echo "Helm updates completed for $REDIS_NAME."

# Set best-effort resource limits for the deployment
echo "Setting best-effort resource limits for the deployment..."
oc set resources sts/$REDIS_STS_NAME --limits=cpu=0,memory=0 --requests=cpu=0,memory=0
# echo "Setting best-effort resource limits for the deployment..."
# oc set resources sts/$REDIS_STS_NAME --limits=cpu=0,memory=0 --requests=cpu=0,memory=0

echo "Deploying Redis Insight..."
oc apply -f ./openshift/redis-insight.yml
8 changes: 4 additions & 4 deletions openshift/scripts/deploy-secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ metadata:
labels:
template: $APP_NAME
stringData:
database-name: $DB_NAME
database-password: $SECRET_DB_PASSWORD
database-user: $DB_USER
redis-password: $SECRET_REDIS_PASSWORD
database-name: "$DB_NAME"
database-password: "$SECRET_DB_PASSWORD"
database-user: "$DB_USER"
redis-password: "$SECRET_REDIS_PASSWORD"
type: Opaque
EOF

Expand Down

0 comments on commit 2df0102

Please sign in to comment.