mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-02 23:41:58 +02:00
remove standby leader configurable variable
This commit is contained in:
@@ -1500,9 +1500,6 @@ var OperatorConfigCRDResourceValidation = apiextv1.CustomResourceValidation{
|
||||
"pod_leader_label_value": {
|
||||
Type: "string",
|
||||
},
|
||||
"pod_standby_leader_label_value": {
|
||||
Type: "string",
|
||||
},
|
||||
"pod_service_account_definition": {
|
||||
Type: "string",
|
||||
},
|
||||
|
||||
@@ -82,7 +82,6 @@ type KubernetesMetaConfiguration struct {
|
||||
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"`
|
||||
|
||||
@@ -956,7 +956,7 @@ func (c *Cluster) generateSpiloPodEnvVars(
|
||||
},
|
||||
{
|
||||
Name: "KUBERNETES_STANDBY_LEADER_LABEL_VALUE",
|
||||
Value: c.OpConfig.PodStandbyLeaderLabelValue,
|
||||
Value: c.OpConfig.PodLeaderLabelValue,
|
||||
},
|
||||
{
|
||||
Name: "PGPASSWORD_SUPERUSER",
|
||||
|
||||
Reference in New Issue
Block a user