feat: add skip consent (#124)

This commit is contained in:
Jordan Labrosse
2023-06-28 13:56:22 +02:00
committed by GitHub
parent 8d57beb5ba
commit 6881f1c1c1
3 changed files with 11 additions and 0 deletions

View File

@ -96,6 +96,10 @@ type OAuth2ClientSpec struct {
// SecretName points to the K8s secret that contains this client's ID and password
SecretName string `json:"secretName"`
// +kubebuilder:validation:type=bool
// +kubebuilder:default=false
SkipConsent bool `json:"skipConsent,omitempty"`
// HydraAdmin is the optional configuration to use for managing
// this client
HydraAdmin HydraAdmin `json:"hydraAdmin,omitempty"`