mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-22 05:54:42 -04:00
cli: allow tagging cloud resources with custom tags (#3033)
This commit is contained in:
parent
f60c133724
commit
b187966581
27 changed files with 172 additions and 42 deletions
|
@ -89,6 +89,9 @@ type Config struct {
|
|||
// The Kubernetes Service CIDR to be used for the cluster. This value will only be used during the first initialization of the Constellation.
|
||||
ServiceCIDR string `yaml:"serviceCIDR" validate:"omitempty,cidrv4"`
|
||||
// description: |
|
||||
// Additional tags that are applied to created resources.
|
||||
Tags cloudprovider.Tags `yaml:"tags" validate:"omitempty"`
|
||||
// description: |
|
||||
// Supported cloud providers and their specific configurations.
|
||||
Provider ProviderConfig `yaml:"provider" validate:"dive"`
|
||||
// description: |
|
||||
|
@ -322,6 +325,7 @@ func Default() *Config {
|
|||
KubernetesVersion: versions.Default,
|
||||
DebugCluster: toPtr(false),
|
||||
ServiceCIDR: "10.96.0.0/12",
|
||||
Tags: cloudprovider.Tags{},
|
||||
Provider: ProviderConfig{
|
||||
AWS: &AWSConfig{
|
||||
Region: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue