Skip to content

[feature] Set the default root password for the cluster. #373

@runkecheng

Description

@runkecheng

Is your feature request related to a problem? Please describe.

Now the default root password is empty. Percona will only set a root password at initialization, which will cause the root password of default deployment cluster to be empty, and cannot modify the root password through YAML, this is not safe.

	// +kubebuilder:default:=""
	// +kubebuilder:validation:Pattern="^$|^[A-Za-z0-9@#$%^&*_+\\-=]{8,32}$"
	RootPassword string `json:"rootPassword,omitempty"`

Describe the solution you'd like

  • Set default value for the ROOT password

  • Instructions for this situation in Sample Yaml

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions