Skip to content

Commit

Permalink
Refactor Kubernetes configmap name for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
nheek committed Oct 12, 2024
1 parent 17fbc8e commit 33fa80a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Create ConfigMap from .env file
run: |
kubectl create configmap app-config --from-env-file=.env --dry-run=client -o yaml | kubectl apply -f -
kubectl create configmap motto-config --from-env-file=.env --dry-run=client -o yaml | kubectl apply -f -
- name: Deploy to Kubernetes
run: |
Expand Down
4 changes: 2 additions & 2 deletions k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
- name: motto
image: nheek/motto:latest
envFrom:
- configMapRef:
name: app-config
- configMapRef:
name: motto-config
ports:
- containerPort: 3000

0 comments on commit 33fa80a

Please sign in to comment.