Make fields optional on OIDCClientSecretRequest
This commit is contained in:
parent
6d863a159b
commit
7997285b19
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -191,7 +191,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -191,7 +191,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -192,7 +192,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -199,7 +199,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -199,7 +199,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -199,7 +199,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -199,7 +199,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -199,7 +199,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -199,7 +199,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -13,16 +13,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta
|
metav1.TypeMeta
|
||||||
metav1.ObjectMeta // metadata.name must be set to the client ID
|
metav1.ObjectMeta // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec
|
Spec OIDCClientSecretRequestSpec
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus
|
Status OIDCClientSecretRequestStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool
|
GenerateNewSecret bool
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool
|
RevokeOldSecrets bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,16 +16,20 @@ type OIDCClientSecretRequest struct {
|
|||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
metav1.ObjectMeta `json:"metadata,omitempty"` // metadata.name must be set to the client ID
|
||||||
|
|
||||||
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
Spec OIDCClientSecretRequestSpec `json:"spec"`
|
||||||
|
|
||||||
|
// +optional
|
||||||
Status OIDCClientSecretRequestStatus `json:"status"`
|
Status OIDCClientSecretRequestStatus `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Spec of the OIDCClientSecretRequest.
|
// Spec of the OIDCClientSecretRequest.
|
||||||
type OIDCClientSecretRequestSpec struct {
|
type OIDCClientSecretRequestSpec struct {
|
||||||
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
GenerateNewSecret bool `json:"generateNewSecret"`
|
GenerateNewSecret bool `json:"generateNewSecret"`
|
||||||
|
|
||||||
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
|
||||||
|
// +optional
|
||||||
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
RevokeOldSecrets bool `json:"revokeOldSecrets"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequest(ref co
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"spec", "status"},
|
Required: []string{"spec"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Dependencies: []string{
|
Dependencies: []string{
|
||||||
@ -199,7 +199,6 @@ func schema_apis_supervisor_clientsecret_v1alpha1_OIDCClientSecretRequestSpec(re
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Required: []string{"generateNewSecret", "revokeOldSecrets"},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,7 @@ echo "generating API-related code for our public API groups..."
|
|||||||
echo "generating API-related code for our internal API groups..."
|
echo "generating API-related code for our internal API groups..."
|
||||||
(cd apis &&
|
(cd apis &&
|
||||||
OPENAPI_EXTRA_PACKAGES="k8s.io/api/core/v1" \
|
OPENAPI_EXTRA_PACKAGES="k8s.io/api/core/v1" \
|
||||||
bash -x "${GOPATH}/src/k8s.io/code-generator/generate-internal-groups.sh" \
|
bash "${GOPATH}/src/k8s.io/code-generator/generate-internal-groups.sh" \
|
||||||
"deepcopy,defaulter,conversion,openapi" \
|
"deepcopy,defaulter,conversion,openapi" \
|
||||||
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/client/concierge" \
|
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/client/concierge" \
|
||||||
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/apis" \
|
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/apis" \
|
||||||
|
Loading…
Reference in New Issue
Block a user