-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(api): refactor auth spec and add inline connection to s3buck…
…et (#138) * refactor(api): refactor auth spec and add inline connection to s3bucket * refactor(api-auth): set tls secret field required * fix(typo): fix some words typo
- Loading branch information
Showing
7 changed files
with
245 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 63 additions & 63 deletions
126
pkg/apis/authentication/v1alpha1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package v1alpha1 | ||
|
||
type Credentials struct { | ||
|
||
// SecretClass scope | ||
// +kubebuilder:validation:Optional | ||
Scope *CredentialsScope `json:"scope,omitempty"` | ||
|
||
// +kubebuilder:validation:Required | ||
SecretClass string `json:"secretClass"` | ||
} | ||
|
||
type CredentialsScope struct { | ||
|
||
// +kubebuilder:validation:Optional | ||
Node bool `json:"node,omitempty"` | ||
|
||
// +kubebuilder:validation:Optional | ||
Pod bool `json:"pod,omitempty"` | ||
|
||
// +kubebuilder:validation:Optional | ||
Services []string `json:"services,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.