File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type TokenSettings struct {
15
15
// Otherwise, refresh tokens are not revoked when used and can be used multiple times.
16
16
// +optional
17
17
// +kubebuilder:default=false
18
- RevokeRefreshToken bool `json:"revokeRefreshToken,omitempty "`
18
+ RevokeRefreshToken bool `json:"revokeRefreshToken"`
19
19
20
20
// RefreshTokenMaxReuse specifies maximum number of times a refresh token can be reused.
21
21
// When a different token is used, revocation is immediate.
Original file line number Diff line number Diff line change @@ -149,12 +149,12 @@ type KeycloakClientSpec struct {
149
149
// Enabled is a flag to enable client.
150
150
// +optional
151
151
// +kubebuilder:default=true
152
- Enabled bool `json:"enabled,omitempty "`
152
+ Enabled bool `json:"enabled"`
153
153
154
154
// FullScopeAllowed is a flag to enable full scope.
155
155
// +optional
156
156
// +kubebuilder:default=true
157
- FullScopeAllowed bool `json:"fullScopeAllowed,omitempty "`
157
+ FullScopeAllowed bool `json:"fullScopeAllowed"`
158
158
159
159
// Name is a client name.
160
160
// +optional
@@ -163,7 +163,7 @@ type KeycloakClientSpec struct {
163
163
// StandardFlowEnabled is a flag to enable standard flow.
164
164
// +optional
165
165
// +kubebuilder:default=true
166
- StandardFlowEnabled bool `json:"standardFlowEnabled,omitempty "`
166
+ StandardFlowEnabled bool `json:"standardFlowEnabled"`
167
167
168
168
// SurrogateAuthRequired is a flag to enable surrogate auth.
169
169
SurrogateAuthRequired bool `json:"surrogateAuthRequired,omitempty"`
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ type KeycloakRealmUserSpec struct {
75
75
// When set to true, the CR will not be deleted after processing.
76
76
// +optional
77
77
// +kubebuilder:default=true
78
- KeepResource bool `json:"keepResource,omitempty "`
78
+ KeepResource bool `json:"keepResource"`
79
79
80
80
// PasswordSecret defines Kubernetes secret Name and Key, which holds User secret.
81
81
// +nullable
You can’t perform that action at this time.
0 commit comments