New behavior for nodeport + fix storage

This commit is contained in:
2021-12-01 16:50:32 +01:00
parent 2fb62bb554
commit 769c9b6c6c
5 changed files with 54 additions and 24 deletions

View File

@@ -34,6 +34,7 @@ func NewServicePort(port, target int) *ServicePort {
type ServiceSpec struct {
Selector map[string]string
Ports []*ServicePort
Type string `yaml:"type,omitempty"`
}
func NewServiceSpec() *ServiceSpec {