Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions apis/config/v1alpha1/setupconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ type SelfManagement struct {
DisableFeatures []string `json:"disableFeatures"`
// +optional
UseGateway bool `json:"useGateway"`
// +optional
EnableCredLess bool `json:"enableCredLess"`
}

type SelfManagementOptions struct {
Expand All @@ -128,6 +130,8 @@ type SelfManagementOptions struct {
KubeAPIServer string `json:"kubeAPIServer,omitempty"`
// +optional
UseGateway bool `json:"useGateway"`
// +optional
EnableCredLess bool `json:"enableCredLess"`
}

type EnableFeaturesOptions map[string]FeatureSetOptions
Expand Down Expand Up @@ -169,6 +173,7 @@ func (opt SelfManagementOptions) ToConfig() SelfManagement {
DisableFeatures: sets.List(sets.New[string](opt.DisableFeatures...)),
KubeAPIServer: opt.KubeAPIServer,
UseGateway: opt.UseGateway,
EnableCredLess: opt.EnableCredLess,
}
}

Expand Down
Loading