fix: replace existing port-map ingress objects with domain ingress objects
Domains cannot be reused across ingress objects, and port maps are a function of a domain, so the inversion here makes most sense (at the cost of some downtime when migrating.
This commit is contained in:
1 parent
59958181e4
commit
d4b484a33a
10 files changed
+152
-25
No files matched your search
@@ -238,11 +238,16 @@ type ProcessLabels struct {
|
||||
}
|
||||
|
||||
type ProcessWeb struct {
|
||||
Domains []string `yaml:"domains,omitempty"`
|
||||
Domains []ProcessDomains `yaml:"domains,omitempty"`
|
||||
PortMaps []ProcessPortMap `yaml:"port_maps,omitempty"`
|
||||
TLS ProcessTls `yaml:"tls"`
|
||||
}
|
||||
|
||||
type ProcessDomains struct {
|
||||
Name string `yaml:"domain"`
|
||||
Slug string `yaml:"slug"`
|
||||
}
|
||||
|
||||
type ProcessResourcesMap struct {
|
||||
Limits ProcessResources `yaml:"limits,omitempty"`
|
||||
Requests ProcessResources `yaml:"requests,omitempty"`
|
||||
|
||||
Reference in new issue
Block a user