Skip to content

Commit

Permalink
feat: add AWS specific requirements
Browse files Browse the repository at this point in the history
fix #6990

Signed-off-by: Gazal K <[email protected]>
  • Loading branch information
gazal-k committed Apr 1, 2020
1 parent 403d8b1 commit 933e347
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 @@ -282,6 +282,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"`
// HelmSA if true, ServiceAccounts will be managed by helm and IRSA annotations will be applied for IAM roles
HelmSA bool `json:"helmSA,omitempty"`
}

// AzureConfig contains Azure specific requirements
type AzureConfig struct {
// RegistrySubscription the registry subscription for defaulting the container registry.
Expand All @@ -297,6 +305,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 933e347

Please sign in to comment.