fix api definition (optional mode)

This commit is contained in:
kkb0318
2024-06-16 14:43:41 +09:00
parent 074738f29c
commit 25ae093bc4
9 changed files with 34 additions and 23 deletions
+5 -2
View File
@@ -33,8 +33,11 @@ type IRSASetupSpec struct {
// +required
Cleanup bool `json:"cleanup"`
// Mode specifies the mode of operation. Can be either "selfhosted" or "eks".
Mode string `json:"mode"`
// Mode (Optional, Future Feature) Defines how the controller will operate once this feature is enabled.
// Currently unused. Planned values:
// - "selfhosted": For self-managed Kubernetes clusters.
// - "eks": For Amazon EKS environments.
Mode string `json:"mode,omitempty"`
// Discovery configures the IdP Discovery process, essential for setting up IRSA by locating
// the OIDC provider information.