Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add AWS specific requirements #6989

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
21 changes: 21 additions & 0 deletions pkg/config/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.