File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ type SelfManagement struct {
111111 EnableFeatures []string `json:"enableFeatures"`
112112 // +optional
113113 DisableFeatures []string `json:"disableFeatures"`
114+ // +optional
115+ UseGateway bool `json:"useGateway"`
114116}
115117
116118type SelfManagementOptions struct {
@@ -124,6 +126,8 @@ type SelfManagementOptions struct {
124126 DisableFeatures []string `json:"disableFeatures"`
125127 // +optional
126128 KubeAPIServer string `json:"kubeAPIServer,omitempty"`
129+ // +optional
130+ UseGateway bool `json:"useGateway"`
127131}
128132
129133type EnableFeaturesOptions map [string ]FeatureSetOptions
@@ -164,6 +168,7 @@ func (opt SelfManagementOptions) ToConfig() SelfManagement {
164168 EnableFeatures : sets .List (enableFeatures ),
165169 DisableFeatures : sets .List (sets .New [string ](opt .DisableFeatures ... )),
166170 KubeAPIServer : opt .KubeAPIServer ,
171+ UseGateway : opt .UseGateway ,
167172 }
168173}
169174
You can’t perform that action at this time.
0 commit comments