@@ -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 `name :"secretname,omitempty"`
73+ SecretName spec.NamespacedName `json :"secretname,omitempty"`
7474
75- UserKey string `name :"userkey,omitempty"`
76- PasswordKey string `name :"passwordkey,omitempty"`
77- RoleKey string `name :"rolekey,omitempty"`
75+ UserKey string `json :"userkey,omitempty"`
76+ PasswordKey string `json :"passwordkey,omitempty"`
77+ RoleKey string `json :"rolekey,omitempty"`
7878
79- DefaultUserValue string `name :"defaultuservalue,omitempty"`
80- DefaultRoleValue string `name :"defaultrolevalue,omitempty"`
79+ DefaultUserValue string `json :"defaultuservalue,omitempty"`
80+ DefaultRoleValue string `json :"defaultrolevalue,omitempty"`
8181
8282 // This field point out the detailed yaml definition of the role, if exists
83- Details string `name :"details,omitempty"`
83+ Details string `json :"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 `name :"template,omitempty"`
94+ Template bool `json :"template,omitempty"`
9595}
9696
9797// Auth describes authentication specific configuration parameters
0 commit comments