diff --git a/charts/templates/coordinator.yaml b/charts/templates/coordinator.yaml index 034b72c4..05ea3f60 100644 --- a/charts/templates/coordinator.yaml +++ b/charts/templates/coordinator.yaml @@ -121,7 +121,7 @@ spec: - ReadWriteOnce resources: requests: - storage: 10Mi + storage: {{ .Values.coordinator.storageSize }} {{- end }} --- apiVersion: v1 diff --git a/charts/values.yaml b/charts/values.yaml index ee47838f..19c7db83 100644 --- a/charts/values.yaml +++ b/charts/values.yaml @@ -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 @@ -22,7 +21,6 @@ global: # pullSecret: # pullSecret: my-private-docker-registry-login-secret - # webhook configuration marbleInjector: replicas: 1 @@ -54,7 +52,6 @@ marbleInjector: # Customize to limit injection to specific namespaces namespaceSelector: {} - # coordinator configuration coordinator: replicas: 1 @@ -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: