first version
This commit is contained in:
37
pkg/config/modules_additional.go
Normal file
37
pkg/config/modules_additional.go
Normal file
@@ -0,0 +1,37 @@
|
||||
package config
|
||||
|
||||
type Additional struct {
|
||||
CertManager struct {
|
||||
Install bool `yaml:"install"`
|
||||
DnsServers []string `yaml:"dns_servers" env-default:"[8.8.8.8,1.1.1.1]"`
|
||||
AccountEmail string `yaml:"account_email"`
|
||||
} `yaml:"cert_manager"`
|
||||
|
||||
Ingress struct {
|
||||
Type string `yaml:"type" env-default:"nginx"`
|
||||
Install bool `yaml:"install" env-default:"false"`
|
||||
InsecurePort int `yaml:"insecure_port" env-default:"80"`
|
||||
SecurePort int `yaml:"secure_port" env-default:"443"`
|
||||
IngressClassName string `yaml:"ingress_class_name" env-default:"nginx"`
|
||||
HostNetwork string `yaml:"host_network" env-default:"false"`
|
||||
} `yaml:"ingress"`
|
||||
|
||||
LoadBalancer struct {
|
||||
Type string `yaml:"type" env-default:"metallb"`
|
||||
Install bool `yaml:"install"`
|
||||
} `yaml:"load_balancer"`
|
||||
|
||||
Storage struct {
|
||||
LocalPathProvisioner struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
StorageClassName string `yaml:"storage_class_name" env-default:"local-path"`
|
||||
ReclaimPolicy string `yaml:"reclaim_policy" env-default:"Delete"`
|
||||
} `yaml:"local_path_provisioner"`
|
||||
Longhorn struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
} `yaml:"longhorn"`
|
||||
SecretsStoreCsiDriver struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
} `yaml:"secrets_store_csi_driver"`
|
||||
} `yaml:"storage"`
|
||||
}
|
||||
Reference in New Issue
Block a user