@@ -70,17 +70,17 @@ type Resources struct {
70
70
type InfrastructureRole struct {
71
71
// Name of a secret which describes the role, and optionally name of a
72
72
// configmap with an extra information
73
- SecretName spec.NamespacedName
73
+ SecretName spec.NamespacedName `name:"secretname,omitempty"`
74
74
75
- UserKey string
76
- PasswordKey string
77
- RoleKey string
75
+ UserKey string `name:"userkey,omitempty"`
76
+ PasswordKey string `name:"passwordkey,omitempty"`
77
+ RoleKey string `name:"rolekey,omitempty"`
78
78
79
- DefaultUserValue string
80
- DefaultRoleValue string
79
+ DefaultUserValue string `name:"defaultuservalue,omitempty"`
80
+ DefaultRoleValue string `name:"defaultrolevalue,omitempty"`
81
81
82
82
// This field point out the detailed yaml definition of the role, if exists
83
- Details string
83
+ Details string `name:"details,omitempty"`
84
84
85
85
// Specify if a secret contains multiple fields in the following format:
86
86
//
@@ -91,7 +91,7 @@ type InfrastructureRole struct {
91
91
// If it does, Name/Password/Role are interpreted not as unique field
92
92
// names, but as a template.
93
93
94
- Template bool
94
+ Template bool `name:"template,omitempty"`
95
95
}
96
96
97
97
// Auth describes authentication specific configuration parameters
0 commit comments