Skip to content

Commit

Permalink
fix: use the default storage class
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Sep 26, 2024
1 parent 7dfa14a commit af0a1e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ Note that this configuration is trivial and does not follow production recommand
| elasticsearch.secret.password | string | `"elastic"` | |
| elasticsearch.volumeClaimTemplate.accessModes[0] | string | `"ReadWriteOnce"` | |
| elasticsearch.volumeClaimTemplate.resources.requests.storage | string | `"100M"` | |
| elasticsearch.volumeClaimTemplate.storageClassName | string | `"standard"` | |
| fullnameOverride | string | `""` | |
| global.activeDeadlineSeconds | int | `900` | timeout for job deadlines |
| global.batchJobTTL | int | `600` | How long should batch jobs be retained after completing? |
Expand All @@ -309,7 +308,6 @@ Note that this configuration is trivial and does not follow production recommand
| global.images.tag | string | `"dev"` | |
| global.images.web.repository | string | `"ghcr.io/diracgrid/diracx-web/static"` | |
| global.images.web.tag | string | `"dev"` | |
| global.storageClassName | string | `"standard"` | |
| grafana.datasources."datasources.yaml".apiVersion | int | `1` | |
| grafana.datasources."datasources.yaml".datasources[0].name | string | `"Jaeger"` | |
| grafana.datasources."datasources.yaml".datasources[0].type | string | `"jaeger"` | |
Expand Down
3 changes: 1 addition & 2 deletions diracx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ global:
# outdated reference to the "latest" tag.
imagePullPolicy: Always
# What storage class should we use for DiracX volumes
storageClassName: standard
storageClassName: {{ if eq .Values.global.environment "prod" }}IfNotPresent{{ else }}standard{{ end }}
# -- timeout for job deadlines
activeDeadlineSeconds: 900
images:
Expand Down Expand Up @@ -516,7 +516,6 @@ elasticsearch:
# Request smaller persistent volumes.
volumeClaimTemplate:
accessModes: ["ReadWriteOnce"]
storageClassName: "standard"
resources:
requests:
storage: 100M
Expand Down

0 comments on commit af0a1e0

Please sign in to comment.