You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ValuesSource is a discriminated union of possible sources for values.
184
+
// ValuesSource contains the sourcing information for those values.
185
+
// +union
186
+
// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'Inline' ?has(self.inline) : !has(self.inline)",message="inline is required when type is Inline, and forbidden otherwise"
187
+
// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'ConfigMap' ?has(self.configMap) : !has(self.configMap)",message="configMap is required when type is ConfigMap, and forbidden otherwise"
188
+
// +kubebuilder:validation:XValidation:rule="has(self.type) && self.type == 'Secret' ?has(self.secret) : !has(self.secret)",message="secret is required when type is Secret, and forbidden otherwise"
189
+
typeValuesSourcestruct {
190
+
// type is a reference to the type of source the values are sourced from.
191
+
// type is required.
192
+
//
193
+
// The allowed values are "Inline", "ConfigMap", and "Secret".
194
+
//
195
+
// When set to "Inline", the values are sourced directly from the inlined content.
196
+
// When using an inline source, the inline field must be set and must be the only field defined for this type.
197
+
//
198
+
// When set to "ConfigMap", the values are sourced from the specified ConfigMap in the installNamespace.
199
+
// When using a ConfigMap source, the configMap field must be set and must be the only field defined for this type.
200
+
//
201
+
// When set to "Secret", the values are sourced from the specified Secret in the installNamespace.
202
+
// When using a Secret source, the secret field must be set and must be the only field defined for this type.
0 commit comments