Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to create typed patch object: .spec.template.spec.containers[name=].ports: element 0: associative list with keys has an element that omits key field "protocol" #5

Closed
bh90210 opened this issue Oct 22, 2020 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation wontfix This will not be worked on

Comments

@bh90210
Copy link
Owner

bh90210 commented Oct 22, 2020

kubernetes-sigs/structured-merge-diff#130

@bh90210
Copy link
Owner Author

bh90210 commented Oct 22, 2020

the workaround is to include - protocol: TCP / - protocol: UDP
ie.

        ports:
          - protocol: TCP
            containerPort: 80

@bh90210 bh90210 changed the title failed to create typed patch object failed to create typed patch object: .spec.template.spec.containers[name="some-name"].ports: element 0: associative list with keys has an element that omits key field "protocol" Oct 22, 2020
@bh90210 bh90210 changed the title failed to create typed patch object: .spec.template.spec.containers[name="some-name"].ports: element 0: associative list with keys has an element that omits key field "protocol" failed to create typed patch object: .spec.template.spec.containers[name=].ports: element 0: associative list with keys has an element that omits key field "protocol" Oct 22, 2020
@bh90210 bh90210 added bug Something isn't working documentation Improvements or additions to documentation wontfix This will not be worked on labels Oct 22, 2020
@bh90210
Copy link
Owner Author

bh90210 commented Oct 26, 2020

@bh90210 bh90210 closed this as completed Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant