@@ -91,10 +91,11 @@ type KubernetesCluster struct {
9191 DefaultNetworkPolicy KubernetesDefaultNetworkPolicies `json:"defaultNetworkPolicy"` // Default network policy
9292 DeleteProtection bool `json:"deleteProtection"` // Whether deletion protection is enabled
9393
94- ApiServerACLs KubernetesApiServerACLs `json:"apiServerACL"` // ApiServerACLs is the ACLs for the API server
95- AutoUpgradePolicy KubernetesClusterAutoUpgradePolicy `json:"autoUpgradePolicy"` // AutoUpgradePolicy is the auto upgrade policy for the cluster
96- MaintenanceDay * uint `json:"maintenanceDay,omitempty"` // MaintenanceDay is the day of the week when the cluster will be upgraded. Optional.
97- MaintenanceStartAt * uint `json:"maintenanceStartAt,omitempty"` // MaintenanceStartAt is the time of day when the cluster will be upgraded. Optional.
94+ ApiServerACLs KubernetesApiServerACLs `json:"apiServerACL"` // ApiServerACLs is the ACLs for the API server
95+ DisablePublicEndpoint bool `json:"disablePublicEndpoint"` // Whether public endpoint is disabled
96+ AutoUpgradePolicy KubernetesClusterAutoUpgradePolicy `json:"autoUpgradePolicy"` // AutoUpgradePolicy is the auto upgrade policy for the cluster
97+ MaintenanceDay * uint `json:"maintenanceDay,omitempty"` // MaintenanceDay is the day of the week when the cluster will be upgraded. Optional.
98+ MaintenanceStartAt * uint `json:"maintenanceStartAt,omitempty"` // MaintenanceStartAt is the time of day when the cluster will be upgraded. Optional.
9899
99100 // SecurityGroups is a list of security groups that are attached to the Control Plane.
100101 SecurityGroups []iaas.SecurityGroup `json:"securityGroups,omitempty"`
@@ -115,6 +116,7 @@ type CreateKubernetesCluster struct {
115116 PodSecurityStandardsProfile KubernetesClusterPodSecurityStandards `json:"podSecurityStandardsProfile"` // Pod security standards
116117 AuditLogProfile KubernetesClusterAuditLoggingProfile `json:"auditLogProfile"` // Audit logging configuration
117118 DefaultNetworkPolicy KubernetesDefaultNetworkPolicies `json:"defaultNetworkPolicy"` // Default network policy
119+ DisablePublicEndpoint bool `json:"disablePublicEndpoint"` // Whether public endpoint is disabled
118120 ApiServerACLs KubernetesApiServerACLs `json:"apiServerACL"` // ApiServerACLs is the ACLs for the API server
119121 AutoUpgradePolicy KubernetesClusterAutoUpgradePolicy `json:"autoUpgradePolicy"` // AutoUpgradePolicy is the auto upgrade policy for the cluster
120122 MaintenanceDay * uint `json:"maintenanceDay,omitempty"` // MaintenanceDay is the day of the week when the cluster will be upgraded. Optional.
@@ -157,6 +159,7 @@ type UpdateKubernetesCluster struct {
157159 DefaultNetworkPolicy * KubernetesDefaultNetworkPolicies `json:"defaultNetworkPolicy,omitempty"` // Updated default network policy
158160 PodSecurityStandardsProfile * KubernetesClusterPodSecurityStandards `json:"podSecurityStandardsProfile,omitempty"` // Updated pod security standards
159161 AuditLogProfile * KubernetesClusterAuditLoggingProfile `json:"auditLogProfile,omitempty"` // Updated audit logging configuration
162+ DisablePublicEndpoint * bool `json:"disablePublicEndpoint,omitempty"` // Updated public endpoint setting
160163 ApiServerACLs KubernetesApiServerACLs `json:"apiServerACL"` // ApiServerACLs is the ACLs for the API server
161164 AutoUpgradePolicy KubernetesClusterAutoUpgradePolicy `json:"autoUpgradePolicy"` // AutoUpgradePolicy is the auto upgrade policy for the cluster
162165 MaintenanceDay * uint `json:"maintenanceDay,omitempty"` // MaintenanceDay is the day of the week when the cluster will be upgraded. Optional.
0 commit comments