diff --git a/api/v1/dbroleclaim_types.go b/api/v1/dbroleclaim_types.go index 6cb691f8..509ee4c6 100644 --- a/api/v1/dbroleclaim_types.go +++ b/api/v1/dbroleclaim_types.go @@ -89,7 +89,7 @@ type DbRoleClaimStatus struct { // Time the schemas and roles were updated SchemasRolesUpdatedAt *metav1.Time `json:"schemasrolesupdatedat,omitempty"` - Username string `json:"username"` + Username string `json:"username,omitempty"` // +patchMergeKey=type // +patchStrategy=merge diff --git a/config/crd/bases/persistance.atlas.infoblox.com_dbroleclaims.yaml b/config/crd/bases/persistance.atlas.infoblox.com_dbroleclaims.yaml index a307d147..67cb0e8b 100644 --- a/config/crd/bases/persistance.atlas.infoblox.com_dbroleclaims.yaml +++ b/config/crd/bases/persistance.atlas.infoblox.com_dbroleclaims.yaml @@ -187,8 +187,6 @@ spec: type: string username: type: string - required: - - username type: object type: object served: true