Files
kube-forge/pkg/config/modules_cicd.go
2024-04-25 22:15:40 +03:00

30 lines
732 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"`
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"`
}