mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-25 10:16:12 +08:00
Merge pull request #17142 from ioito/hotfix/qx-eks-endpoint
fix(region): eks access
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user