Missing protocol in container.port in Deployment template

The container.port here does not have a protocol value specified.

Due to this bug in 1.19 Kubernetes and protocol not being specified in chart, the following error will trigger when following Install GitLab Runner with Kubernetes Agent guide:

{"error":"failed to create typed patch object: .spec.template.spec.containers[name="gitlab-runner-gitlab-runner"].ports: element 0: associative list with keys has an element that omits key field "protocol" (and doesn't have default value)","eventType":"resourceFailed","group":"apps","kind":"Deployment","name":"gitlab-runner-gitlab-runner","namespace":"gitlab-runner-with-agent","timestamp":"2021-10-26T08:58:32Z","type":"apply"}

Reported by a customer in this internal ticket

Edited by Kate Grechishkina
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information