Files
kube-forge/pkg/config/modules_cicd.go

32 lines
890 B
Go

package config
type Cicd struct {
Enabled bool `yaml:"enabled"`
ArgoCd struct {
AdminPassword string
Ha struct {
Enabled bool `yaml:"enabled"`
Autoscaling bool `yaml:"autoscaling"`
} `yaml:"ha"`
Expose struct {
Type string `yaml:"type"`
Domain string `yaml:"domain"`
NodePortHttp int `yaml:"node_port_http" env-default:"30005"`
NodePortHttps int `yaml:"node_port_https" env-default:"30006"`
Tls struct {
Enabled bool `yaml:"enabled"`
} `yaml:"tls"`
} `yaml:"expose"`
Repositories interface{} `yaml:"repositories"`
Rbac struct {
AdditionalPolicies string `yaml:"additional_policies"`
} `yaml:"argo_cd"`
} `yaml:"argo_cd"`
UpdatesOperator struct {
Enabled bool `yaml:"enabled"`
} `yaml:"updates_operator"`
Rollouts struct {
Enabled bool `yaml:"enabled"`
} `yaml:"rollouts"`
}