Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
BC-7240 - fix statefulSet serviceName
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Jun 27, 2024
1 parent 9dedcbd commit 5058ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/mongo-repset/templates/statefulset.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
app.kubernetes.io/managed-by: ansible
git.repo: {{ DOIDO_MONGO_REPO_NAME }}
spec:
serviceName: "mongo-svc"
selector:
matchLabels:
app: mongo
Expand All @@ -24,7 +25,6 @@ spec:
app.kubernetes.io/managed-by: ansible
git.repo: {{ DOIDO_MONGO_REPO_NAME }}
spec:
serviceName: "mongo-svc"
containers:
- name: mongo
image: {{ MONGO_IMAGE_NAME }}:{{ MONGO_IMAGE_TAG }}
Expand Down

0 comments on commit 5058ea0

Please sign in to comment.