Skip to content

Commit

Permalink
modified: Microk8s/k8s-configuration/mongodb-deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMonkeyCybersecurity committed Jan 5, 2025
1 parent 2ac3ba7 commit 40acc77
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Microk8s/k8s-configuration/mongodb-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ spec:
- containerPort: 27017
env:
- name: MONGO_INITDB_ROOT_USERNAME
value:
valueFrom:
secretKeyRef:
name: mongodb-secret
key: mongo-root-username
- name: MONGO_INITDB_ROOT_PASSWORD
value:
valueFrom:
secretKeyRef:
name: mongodb-secret
key: mongo-root-password

0 comments on commit 40acc77

Please sign in to comment.