define new variables

This commit is contained in:
inovindasari
2024-11-25 14:49:24 +01:00
parent 766597980f
commit 8b79e33b1c
11 changed files with 45 additions and 3 deletions
+6
View File
@@ -1497,6 +1497,12 @@ var OperatorConfigCRDResourceValidation = apiextv1.CustomResourceValidation{
"pod_role_label": {
Type: "string",
},
"pod_leader_label_value": {
Type: "string",
},
"pod_standby_leader_label_value": {
Type: "string",
},
"pod_service_account_definition": {
Type: "string",
},
@@ -81,6 +81,8 @@ type KubernetesMetaConfiguration struct {
InfrastructureRolesSecretName spec.NamespacedName `json:"infrastructure_roles_secret_name,omitempty"`
InfrastructureRolesDefs []*config.InfrastructureRole `json:"infrastructure_roles_secrets,omitempty"`
PodRoleLabel string `json:"pod_role_label,omitempty"`
PodLeaderLabelValue string `json:"pod_leader_label_value,omitempty"`
PodStandbyLeaderLabelValue string `json:"pod_standby_leader_label_value,omitempty"`
ClusterLabels map[string]string `json:"cluster_labels,omitempty"`
InheritedLabels []string `json:"inherited_labels,omitempty"`
InheritedAnnotations []string `json:"inherited_annotations,omitempty"`