2022-03-22 11:03:15 -04:00
|
|
|
package kubernetes
|
|
|
|
|
2022-03-25 05:42:27 -04:00
|
|
|
import (
|
|
|
|
"github.com/edgelesssys/constellation/coordinator/kubernetes/k8sapi/resources"
|
|
|
|
k8s "k8s.io/api/core/v1"
|
|
|
|
)
|
|
|
|
|
2022-03-22 11:03:15 -04:00
|
|
|
// InitClusterInput collects the arguments to initialize a new cluster.
|
|
|
|
type InitClusterInput struct {
|
2022-03-25 05:42:27 -04:00
|
|
|
APIServerAdvertiseIP string
|
|
|
|
NodeIP string
|
|
|
|
NodeName string
|
|
|
|
ProviderID string
|
|
|
|
SupportClusterAutoscaler bool
|
|
|
|
AutoscalingCloudprovider string
|
|
|
|
AutoscalingNodeGroups []string
|
2022-03-29 07:25:04 -04:00
|
|
|
AutoscalingSecrets resources.Secrets
|
|
|
|
AutoscalingVolumes []k8s.Volume
|
|
|
|
AutoscalingVolumeMounts []k8s.VolumeMount
|
|
|
|
AutoscalingEnv []k8s.EnvVar
|
2022-03-25 05:42:27 -04:00
|
|
|
SupportsCloudControllerManager bool
|
|
|
|
CloudControllerManagerName string
|
|
|
|
CloudControllerManagerImage string
|
|
|
|
CloudControllerManagerPath string
|
|
|
|
CloudControllerManagerExtraArgs []string
|
|
|
|
CloudControllerManagerConfigMaps resources.ConfigMaps
|
|
|
|
CloudControllerManagerSecrets resources.Secrets
|
|
|
|
CloudControllerManagerVolumes []k8s.Volume
|
|
|
|
CloudControllerManagerVolumeMounts []k8s.VolumeMount
|
|
|
|
CloudControllerManagerEnv []k8s.EnvVar
|
2022-03-25 05:49:18 -04:00
|
|
|
SupportsCloudNodeManager bool
|
|
|
|
CloudNodeManagerImage string
|
|
|
|
CloudNodeManagerPath string
|
|
|
|
CloudNodeManagerExtraArgs []string
|
2022-03-22 11:03:15 -04:00
|
|
|
}
|