Skip to content

Commit

Permalink
AWS CSI driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Markus With committed Dec 18, 2020
1 parent cbb418c commit 143a8e7
Show file tree
Hide file tree
Showing 12 changed files with 1,335 additions and 2 deletions.
10 changes: 9 additions & 1 deletion pkg/apis/kops/componentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ type CloudConfiguration struct {
// VShpereDatacenter is deprecated and will be removed in a later version
VSphereDatacenter *string `json:"vSphereDatacenter,omitempty"`
// VSphereResourcePool is deprecated and will be removed in a later version
VSphereResourcePool *string `json:"vSphereResourcePool,omitempty"`
VSphereResourcePool *string `json:"vSphereResot rcePool,omitempty"`
// VSphereDatastore is deprecated and will be removed in a later version
VSphereDatastore *string `json:"vSphereDatastore,omitempty"`
// VSphereCoreDNSServer is deprecated and will be removed in a later version
Expand All @@ -785,6 +785,14 @@ type CloudConfiguration struct {
SpotinstOrientation *string `json:"spotinstOrientation,omitempty"`
// Openstack cloud-config options
Openstack *OpenstackConfiguration `json:"openstack,omitempty"`
// AWSEBSCSIDriver is the config for the AWS EBS CSI driver
AWSEBSCSIDriver *AWSEBSCSIDriver `json:"awsEBSCSIDriver"`
}

// AWSEBSCSIDriver is the config for the AWS EBS CSI driver
type AWSEBSCSIDriver struct {
//Enabled enables the AWS EBS CSI driver
Enabled *bool `json:"enabled,omitempty"`
}

// NodeTerminationHandlerConfig determines the node termination handler configuration.
Expand Down
8 changes: 8 additions & 0 deletions pkg/apis/kops/v1alpha2/componentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,14 @@ type CloudConfiguration struct {
SpotinstOrientation *string `json:"spotinstOrientation,omitempty"`
// Openstack cloud-config options
Openstack *OpenstackConfiguration `json:"openstack,omitempty"`
// AWSEBSCSIDriver is the config for the AWS EBS CSI driver
AWSEBSCSIDriver *AWSEBSCSIDriver `json:"awsEBSCSIDriver"`
}

// AWSEBSCSIDriver is the config for the AWS EBS CSI driver
type AWSEBSCSIDriver struct {
//Enabled enables the AWS EBS CSI driver
Enabled *bool `json:"enabled,omitempty"`
}

// NodeTerminationHandlerConfig determines the node termination handler configuration.
Expand Down
Loading

0 comments on commit 143a8e7

Please sign in to comment.