Skip to content

Commit aa17d88

Browse files
Add EnableCredLess option (#129)
Signed-off-by: RokibulHasan7 <mdrokibulhasan@appscode.com>
1 parent 253ac6c commit aa17d88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apis/config/v1alpha1/setupconfig_types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ type SelfManagement struct {
113113
DisableFeatures []string `json:"disableFeatures"`
114114
// +optional
115115
UseGateway bool `json:"useGateway"`
116+
// +optional
117+
EnableCredLess bool `json:"enableCredLess"`
116118
}
117119

118120
type SelfManagementOptions struct {
@@ -128,6 +130,8 @@ type SelfManagementOptions struct {
128130
KubeAPIServer string `json:"kubeAPIServer,omitempty"`
129131
// +optional
130132
UseGateway bool `json:"useGateway"`
133+
// +optional
134+
EnableCredLess bool `json:"enableCredLess"`
131135
}
132136

133137
type EnableFeaturesOptions map[string]FeatureSetOptions
@@ -169,6 +173,7 @@ func (opt SelfManagementOptions) ToConfig() SelfManagement {
169173
DisableFeatures: sets.List(sets.New[string](opt.DisableFeatures...)),
170174
KubeAPIServer: opt.KubeAPIServer,
171175
UseGateway: opt.UseGateway,
176+
EnableCredLess: opt.EnableCredLess,
172177
}
173178
}
174179

0 commit comments

Comments
 (0)