Skip to content

Commit

Permalink
charts: allow configuration of Coordinator PVC size through helm valu…
Browse files Browse the repository at this point in the history
…es file (#793)
  • Loading branch information
Nabsku authored Jan 29, 2025
1 parent 47eef49 commit 701a308
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/templates/coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
- ReadWriteOnce
resources:
requests:
storage: 10Mi
storage: {{ .Values.coordinator.storageSize }}
{{- end }}
---
apiVersion: v1
Expand Down
9 changes: 5 additions & 4 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.


# Values that are passed along to sub-charts
global:
# Additional annotations to add to all pods
Expand All @@ -22,7 +21,6 @@ global:
# pullSecret:
# pullSecret: my-private-docker-registry-login-secret


# webhook configuration
marbleInjector:
replicas: 1
Expand Down Expand Up @@ -54,7 +52,6 @@ marbleInjector:
# Customize to limit injection to specific namespaces
namespaceSelector: {}


# coordinator configuration
coordinator:
replicas: 1
Expand Down Expand Up @@ -105,11 +102,15 @@ coordinator:
# Set the storage class to use for creating the Coordinator's PVC
# Leave empty to use the default storage class
storageClass: ""

# Set the storage size for the Coordinator's PVC
# The Coordinator requires a minimum of 10Mi but some storageClasses don't allow such small sizes
storageSize: "10Mi"

# Set to use an existing PVC for Coordinator storage
# Leave empty to create a new one using the configured storage class
pvcName: ""


# Tolerations constraints for control-plane components
# https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations:
Expand Down

0 comments on commit 701a308

Please sign in to comment.