Skip to content

Commit

Permalink
BC-7240 - fix pvc for statefulSet
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Jun 26, 2024
1 parent 0833f37 commit 8aacad1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/mongo-repset/templates/statefulset.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ spec:
labels:
app: mongo
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: {{ SC_DEFAULT_STORAGE_CLASS_NAME }}
resources:
requests:
Expand Down
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-reactive-jackson</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-mongodb-client</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand All @@ -76,6 +80,12 @@
<artifactId>commons-validator</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mongodb</artifactId>
<version>1.19.3</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down

0 comments on commit 8aacad1

Please sign in to comment.