feat: support Storage Classes other than 'gp3'
This commit is contained in:
1 parent
be2f33b5d1
commit
492aed200a
4 files changed
+11
-6
No files matched your search
@@ -21,6 +21,7 @@ cd checkmate/charts/helm/checkmate
|
|||||||
Edit `values.yaml` to update:
|
Edit `values.yaml` to update:
|
||||||
- `client.ingress.host` and `server.ingress.host` with your domain names
|
- `client.ingress.host` and `server.ingress.host` with your domain names
|
||||||
- `server.protocol` (usually http or https)
|
- `server.protocol` (usually http or https)
|
||||||
|
- `persistence.mongo.storageClass` and `persistence.redis.storageClass` with your storageclass
|
||||||
- Secrets under the `secrets` section (`JWT_SECRET`, email credentials, API keys, etc.) — replace all change_me values
|
- Secrets under the `secrets` section (`JWT_SECRET`, email credentials, API keys, etc.) — replace all change_me values
|
||||||
|
|
||||||
### 3. Deploy the Helm chart
|
### 3. Deploy the Helm chart
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ spec:
|
|||||||
- metadata:
|
- metadata:
|
||||||
name: checkmate-mongo-persistent-storage
|
name: checkmate-mongo-persistent-storage
|
||||||
spec:
|
spec:
|
||||||
storageClassName: "gp3"
|
storageClassName: {{ .Values.persistence.mongo.storageClass }}
|
||||||
accessModes: ["ReadWriteOnce"]
|
accessModes: ["ReadWriteOnce"]
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.persistence.mongodbSize }}
|
storage: {{ .Values.persistence.mongo.size }}
|
||||||
@@ -25,9 +25,9 @@ spec:
|
|||||||
- metadata:
|
- metadata:
|
||||||
name: checkmate-redis-persistent-storage
|
name: checkmate-redis-persistent-storage
|
||||||
spec:
|
spec:
|
||||||
storageClassName: "gp3"
|
storageClassName: {{ .Values.persistence.redis.storageClass }}
|
||||||
accessModes: ["ReadWriteOnce"]
|
accessModes: ["ReadWriteOnce"]
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .Values.persistence.redisSize }}
|
storage: {{ .Values.persistence.redis.size }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -44,5 +44,9 @@ secrets:
|
|||||||
# REFRESH_TOKEN_TTL: 99d
|
# REFRESH_TOKEN_TTL: 99d
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
mongodbSize: 5Gi
|
mongo:
|
||||||
redisSize: 1Gi
|
size: 5Gi
|
||||||
|
storageClass: change_me
|
||||||
|
redis:
|
||||||
|
size: 1Gi
|
||||||
|
storageClass: change_me
|
||||||
Reference in new issue
Block a user