mirror of
https://github.com/dokku/dokku.git
synced 2026-08-29 10:08:53 +02:00
feat: allow specifying an ingress class via chart value
While Dokku currently only supports traefik, providing this setting will allow swapping out the ingress to another fairly easily.
This commit is contained in:
@@ -36,7 +36,7 @@ type GlobalValues struct {
|
||||
DeploymentID string `yaml:"deploment_id"`
|
||||
Image GlobalImage `yaml:"image"`
|
||||
Namespace string `yaml:"namespace"`
|
||||
PrimaryPort int32 `yaml:"primary_port"`
|
||||
Network GlobalNetwork `yaml:"network"`
|
||||
Secrets map[string]string `yaml:"secrets,omitempty"`
|
||||
}
|
||||
|
||||
@@ -47,6 +47,11 @@ type GlobalImage struct {
|
||||
WorkingDir string `yaml:"working_dir"`
|
||||
}
|
||||
|
||||
type GlobalNetwork struct {
|
||||
IngressClass string `yaml:"ingress_class"`
|
||||
PrimaryPort int32 `yaml:"primary_port"`
|
||||
}
|
||||
|
||||
type ProcessValues struct {
|
||||
Args []string `yaml:"args,omitempty"`
|
||||
Cron ProcessCron `yaml:"cron,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user