Skip to content

Commit

Permalink
Merge pull request #5 from gaganamadival/main
Browse files Browse the repository at this point in the history
changed mountpath location mpesa
  • Loading branch information
lalithkota authored Oct 4, 2023
2 parents 89534d2 + 55cb129 commit 1fd16b4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions kubernetes/mpesa/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: simple-mpesa
labels:
app.kubernetes.io/name: simple-mpesa
spec:
replicas: 1 # Adjust the number of replicas as needed
selector:
matchLabels:
app: simple-mpesa
app.kubernetes.io/name: simple-mpesa
template:
metadata:
labels:
app: simple-mpesa
app.kubernetes.io/name: simple-mpesa
spec:
containers:
- name: simple-mpesa
Expand All @@ -19,8 +21,8 @@ spec:
- containerPort: 6700 # The port your app listens on
volumeMounts:
- name: config-yaml
mountPath: /go/app/config.yaml
subPath: config.yaml
mountPath: /go/app/config.yml
subPath: config.yml
volumes:
- name: config-yaml
configMap:
Expand Down

0 comments on commit 1fd16b4

Please sign in to comment.