@@ -70,17 +70,17 @@ type Resources struct {
7070type InfrastructureRole struct {
7171 // Name of a secret which describes the role, and optionally name of a
7272 // configmap with an extra information
73- SecretName spec.NamespacedName
73+ SecretName spec.NamespacedName `name:"secretname,omitempty"`
7474
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"`
7878
79- DefaultUserValue string
80- DefaultRoleValue string
79+ DefaultUserValue string `name:"defaultuservalue,omitempty"`
80+ DefaultRoleValue string `name:"defaultrolevalue,omitempty"`
8181
8282 // This field point out the detailed yaml definition of the role, if exists
83- Details string
83+ Details string `name:"details,omitempty"`
8484
8585 // Specify if a secret contains multiple fields in the following format:
8686 //
@@ -91,7 +91,7 @@ type InfrastructureRole struct {
9191 // If it does, Name/Password/Role are interpreted not as unique field
9292 // names, but as a template.
9393
94- Template bool
94+ Template bool `name:"template,omitempty"`
9595}
9696
9797// Auth describes authentication specific configuration parameters
0 commit comments