move cert-manager and ingress-nginx from kubespray to separate modules, remove reset action and update observability template
This commit is contained in:
@@ -2,18 +2,32 @@ package config
|
||||
|
||||
type Additional struct {
|
||||
CertManager struct {
|
||||
Install bool `yaml:"install"`
|
||||
Enabled bool `yaml:"enabled"`
|
||||
HaEnabled bool `yaml:"ha_enabled"`
|
||||
DnsServers []string `yaml:"dns_servers" env-default:"[8.8.8.8,1.1.1.1]"`
|
||||
AccountEmail string `yaml:"account_email"`
|
||||
Controller struct {
|
||||
Image string `yaml:"image" env-default:"quay.io/jetstack/cert-manager-controller"`
|
||||
Tag string `yaml:"tag" env-default:"v1.14.5"`
|
||||
} `yaml:"controller"`
|
||||
} `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"`
|
||||
Type string `yaml:"type" env-default:"nginx"`
|
||||
Enabled bool `yaml:"enabled"`
|
||||
IngressClassName string `yaml:"ingress_class_name" env-default:"nginx"`
|
||||
HostNetwork bool `yaml:"host_network"`
|
||||
EnableAdmissionWebhooks bool `yaml:"enable_admission_webhooks"`
|
||||
Nginx struct {
|
||||
Controller struct {
|
||||
Image string `yaml:"image" env-default:"registry.k8s.io/ingress-nginx/controller"`
|
||||
Tag string `yaml:"tag" env-default:"v1.9.4"`
|
||||
} `yaml:"controller"`
|
||||
DefaultBackend struct {
|
||||
Image string `yaml:"image" env-default:"registry.k8s.io/defaultbackend-amd64"`
|
||||
Tag string `yaml:"tag" env-default:"1.5"`
|
||||
} `yaml:"default_backend"`
|
||||
} `yaml:"nginx"`
|
||||
} `yaml:"ingress"`
|
||||
|
||||
LoadBalancer struct {
|
||||
|
||||
Reference in New Issue
Block a user