Skip to content

Commit

Permalink
chore: add rabbitmq vol claim template
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed May 14, 2024
1 parent 24309c2 commit 05bd47c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
namespace: datatracker
namePrefix: datatracker-
namePrefix: dt-
configMapGenerator:
- name: files-cfgmap
files:
Expand Down
13 changes: 12 additions & 1 deletion k8s/rabbitmq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ spec:
runAsGroup: 101
volumes:
- name: rabbitmq-data
# TODO: TODO TODO
persistentVolumeClaim:
claimName: "rabbitmq-data-vol"
- name: rabbitmq-tmp
emptyDir:
sizeLimit: "50Mi"
Expand All @@ -86,6 +87,16 @@ spec:
dnsPolicy: ClusterFirst
restartPolicy: Always
terminationGracePeriodSeconds: 30
volumeClaimTemplates:
- metadata:
name: rabbitmq-data-vol
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 8Gi
# storageClassName: ""
---
apiVersion: v1
kind: ConfigMap
Expand Down

0 comments on commit 05bd47c

Please sign in to comment.