mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 17:51:57 +02:00
rename fields, allow secretname, update docs
This commit is contained in:
@@ -57,18 +57,18 @@ type InfrastructureRole struct {
|
||||
// configmap with an extra information
|
||||
SecretName spec.NamespacedName
|
||||
|
||||
Name string
|
||||
Password string
|
||||
Role string
|
||||
UserKey string
|
||||
PasswordKey string
|
||||
RoleKey string
|
||||
|
||||
// This field point out the detailed yaml definition of the role, if exists
|
||||
Details string
|
||||
|
||||
// Specify if a secret contains multiple fields in the following format:
|
||||
//
|
||||
// %(name)idx: ...
|
||||
// %(password)idx: ...
|
||||
// %(role)idx: ...
|
||||
// %(userkey)idx: ...
|
||||
// %(passwordkey)idx: ...
|
||||
// %(rolekey)idx: ...
|
||||
//
|
||||
// If it does, Name/Password/Role are interpreted not as unique field
|
||||
// names, but as a template.
|
||||
|
||||
Reference in New Issue
Block a user