Skip to content

httpRoute: problem in the port property #487

@moinologics

Description

@moinologics

Describe the bug
when using chart in terraform with helm_release, it is showing error.

To Reproduce
Steps to reproduce the behavior:

  1. in terraform, create helm_release with chart version 6.14.0
  2. use simple service and httpRoute (without rules) [values using yamlencode]
  3. try terraform apply

Expected behavior
it should apply terraform without any error and should pick correct port in httpRoute from service.

Actual behavior
throwing error --
Error: cannot patch "helm-release-name" with kind HTTPRoute: HTTPRoute.gateway.networking.k8s.io "helm-release-name" is invalid: [spec.rules[0].backendRefs[0].port: Invalid value: "string": spec.rules[0].backendRefs[0].port in body must be of type integer: "string", : Invalid value: null: some validation rules were not checked because the object was invalid; correct the existing errors to complete validation]

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions