mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-29 00:17:23 -04:00
cli: omitempty infrastructure fields (#2392)
This commit is contained in:
parent
36c8cf2fd8
commit
c74a2e98df
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ type Infrastructure struct {
|
||||||
ClusterEndpoint string `yaml:"clusterEndpoint"`
|
ClusterEndpoint string `yaml:"clusterEndpoint"`
|
||||||
InitSecret string `yaml:"initSecret"`
|
InitSecret string `yaml:"initSecret"`
|
||||||
APIServerCertSANs []string `yaml:"apiServerCertSANs"`
|
APIServerCertSANs []string `yaml:"apiServerCertSANs"`
|
||||||
Azure *Azure `yaml:"azure"`
|
Azure *Azure `yaml:"azure,omitempty"`
|
||||||
GCP *GCP `yaml:"gcp"`
|
GCP *GCP `yaml:"gcp,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// GCP describes the infra state related to GCP.
|
// GCP describes the infra state related to GCP.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue