TotalClientSecrets field gets omitempty and becomes int32

This commit is contained in:
Ryan Richard
2022-07-14 09:30:03 -07:00
parent 93939ccbd8
commit be85e1ed0a
28 changed files with 212 additions and 37 deletions

View File

@@ -88,7 +88,7 @@ type OIDCClientStatus struct {
Conditions []Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
// totalClientSecrets is the current number of client secrets that are detected for this OIDCClient.
TotalClientSecrets int `json:"totalClientSecrets"`
TotalClientSecrets int32 `json:"totalClientSecrets,omitempty"`
}
// OIDCClient describes the configuration of an OIDC client.