File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ type NooBaaSpec struct {
91
91
// +kubebuilder:validation:Enum=postgres
92
92
DBType DBTypes `json:"dbType,omitempty"`
93
93
94
+ // EnvVariablesOverride (optional) overrides the environment variables for all NooBaa's pods
95
+ // Can be used for exemple to add CONFIG_JS_ variables to modify core pod behaviour
96
+ // +optional
97
+ EnvVariablesOverride * EnvVariablesOverrideSpec `json:"envVariablesOverride,omitempty"`
98
+
94
99
// CoreResources (optional) overrides the default resource requirements for the server container
95
100
// +optional
96
101
CoreResources * corev1.ResourceRequirements `json:"coreResources,omitempty"`
@@ -245,6 +250,14 @@ type AutoscalerSpec struct {
245
250
PrometheusNamespace string `json:"prometheusNamespace,omitempty"`
246
251
}
247
252
253
+ // EnvVariablesOverrideSpec defines the env override structure for each component deploying pods (ex: StatefulSet)
254
+ type EnvVariablesOverrideSpec struct {
255
+ // Variables override for core statefulset
256
+ Core []corev1.EnvVar `json:"core,omitempty"`
257
+ }
258
+
259
+
260
+
248
261
// BucketLoggingSpec defines the bucket logging configuration
249
262
type BucketLoggingSpec struct {
250
263
// LoggingType specifies the type of logging for the bucket
You can’t perform that action at this time.
0 commit comments