mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-27 09:15:22 -04:00
Cloud providers: Extend CCM with ExtraArgs / ConfigMaps / Secrets / Volumes / VolumeMounts and provide CloudServiceAccountURI
This commit is contained in:
parent
bf726ebd87
commit
2158377f9f
17 changed files with 366 additions and 102 deletions
|
@ -1,15 +1,27 @@
|
|||
package kubernetes
|
||||
|
||||
import (
|
||||
"github.com/edgelesssys/constellation/coordinator/kubernetes/k8sapi/resources"
|
||||
k8s "k8s.io/api/core/v1"
|
||||
)
|
||||
|
||||
// InitClusterInput collects the arguments to initialize a new cluster.
|
||||
type InitClusterInput struct {
|
||||
APIServerAdvertiseIP string
|
||||
NodeName string
|
||||
ProviderID string
|
||||
SupportClusterAutoscaler bool
|
||||
AutoscalingCloudprovider string
|
||||
AutoscalingNodeGroups []string
|
||||
SupportsCloudControllerManager bool
|
||||
CloudControllerManagerName string
|
||||
CloudControllerManagerImage string
|
||||
CloudControllerManagerPath string
|
||||
APIServerAdvertiseIP string
|
||||
NodeIP string
|
||||
NodeName string
|
||||
ProviderID string
|
||||
SupportClusterAutoscaler bool
|
||||
AutoscalingCloudprovider string
|
||||
AutoscalingNodeGroups []string
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue