fixed ports merging issue and refactored some kyaml.walk code

This commit is contained in:
Natasha Sarkar
2021-02-08 17:44:05 -08:00
parent a3a11bf3f4
commit 71f4cecb4c
7 changed files with 147 additions and 125 deletions

View File

@@ -723,12 +723,12 @@ spec:
- name: consul
image: "hashicorp/consul:1.9.1"
ports:
- containerPort: 8301
protocol: "TCP"
- containerPort: 8301
protocol: "UDP"
- containerPort: 8500
name: http
- containerPort: 8301
protocol: "UDP"
- containerPort: 8301
protocol: "UDP"
`,
},
}