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

@@ -803,10 +803,10 @@ spec:
name: test-deployment
ports:
- containerPort: 8080
name: take-over-the-world
name: disappearing-act
protocol: TCP
- containerPort: 8080
name: disappearing-act
name: take-over-the-world
protocol: TCP
`, `
apiVersion: apps/v1