Merge pull request #17142 from ioito/hotfix/qx-eks-endpoint

fix(region): eks access
This commit is contained in:
Zexi Li
2023-05-24 02:07:29 +08:00
committed by GitHub
2 changed files with 9 additions and 4 deletions
+3
View File
@@ -59,6 +59,9 @@ type KubeClusterCreateInput struct {
// required: true
VpcResourceInput
PrivateAccess bool `json:"private_access"`
PublicAccess bool `json:"public_access"`
RoleName string `json:"role_name"`
}
+6 -4
View File
@@ -52,10 +52,12 @@ func (opts *KubeClusterConfigOptions) Params() (jsonutils.JSONObject, error) {
type KubeClusterCreateOptions struct {
options.BaseCreateOptions
Version string
VpcId string
NetworkIds []string
RoleName string
Version string
VpcId string
NetworkIds []string
RoleName string
PrivateAccess bool
PublicAccess bool
}
func (opts *KubeClusterCreateOptions) Params() (jsonutils.JSONObject, error) {