Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 7 additions & 3 deletions openstack/cce/v3/nodepools/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,11 @@ type UpdateNodeTemplate struct {
// ID of the dedicated host to which nodes will be scheduled
DedicatedHostID string `json:"dedicatedHostId,omitempty"`
// Node login parameters
Login *nodes.LoginSpec `json:"login,omitempty"`
Login nodes.LoginSpec `json:"login,omitempty"`
// System disk parameter of the node
RootVolume *nodes.VolumeSpec `json:"rootVolume,omitempty"`
RootVolume *nodes.VolumeSpec `json:"rootVolumeUpdate,omitempty"`
// The data disk parameter of the node must currently be a disk
DataVolumes []nodes.VolumeSpec `json:"dataVolumes,omitempty"`
DataVolumes []nodes.VolumeSpec `json:"dataVolumesUpdate,omitempty"`
// Disk initialization configuration management parameters
// If omit, disk management is performed according to the DockerLVMConfigOverride parameter in extendParam
Storage *nodes.StorageSpec `json:"storage,omitempty"`
Expand Down Expand Up @@ -282,6 +282,10 @@ type UpdateSpec struct {
IgnoreInitialNodeCount bool `json:"ignoreInitialNodeCount"`
// Auto scaling parameters
Autoscaling AutoscalingSpec `json:"autoscaling"`
// Pod security group configurations
PodSecurityGroups []PodSecurityGroupSpec `json:"podSecurityGroups,omitempty"`
// Node security group configurations
CustomSecurityGroups []string `json:"customSecurityGroups,omitempty"`
// label (k8s tag) policy on existing nodes
LabelPolicyOnExistingNodes string `json:"labelPolicyOnExistingNodes,omitempty"`
// tag policy on existing nodes
Expand Down
4 changes: 4 additions & 0 deletions openstack/cce/v3/nodes/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ type LoginSpec struct {
SshKey string `json:"sshKey,omitempty"`
// Select the user/password when logging in
UserPassword UserPassword `json:"userPassword,omitempty"`
// Remove password login
RemoveUserPassword bool `json:"removeUserPassword,omitempty"`
// Remove the SSH key login
RemoveSshKey bool `json:"removeSSHKey,omitempty"`
}

type UserPassword struct {
Expand Down
Loading