Skip to content

Can not specify controller.nodeSelector using values.yaml #3683

@mkhon

Description

@mkhon

values-custom.yaml:

controller:
  nodeSelector:
    node-role.kubernetes.io/worker: "true"

Installation fails with the following error:

$ helm upgrade --install --dry-run v3 . -f values-custom.yaml
Error: UPGRADE FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
nginx-ingress:
- controller.nodeSelector: nodeSelectorTerms is required

I am not sure the definition of nodeSelector in values.schema.json is correct. If I remove $ref there the installation succeeds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions