Skip to content

Commit

Permalink
feat: add AWS specific requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Gazal K <[email protected]>
  • Loading branch information
gazal-k committed Mar 31, 2020
1 parent 6eea554 commit ce73114
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/config/install_requirements.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,14 @@ type StorageConfig struct {
Backup StorageEntryConfig `json:"backup"`
}

// AWSConfig contains AWS specific requirements
type AWSConfig struct {
// AccountID the unique 12-digit number assigned to your AWS account
AccountID string `json:"accountId,omitempty"`
// UseIRSAAnnotations if true, IAM roles will be assumed to exist and they'll be linked to ServiceAccounts using annotations
UseIRSAAnnotations bool `json:"useIRSAAnnotations"`
}

// AzureConfig contains Azure specific requirements
type AzureConfig struct {
// RegistrySubscription the registry subscription for defaulting the container registry.
Expand All @@ -331,6 +339,8 @@ type GKEConfig struct {

// ClusterConfig contains cluster specific requirements
type ClusterConfig struct {
// AWSConfig the aws specific configuration
AWSConfig *AWSConfig `json:"aws,omitempty"`
// AzureConfig the azure specific configuration
AzureConfig *AzureConfig `json:"azure,omitempty"`
// ChartRepository the repository URL to deploy charts to
Expand Down

0 comments on commit ce73114

Please sign in to comment.