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

validation.yaml is blocking ingress creation when using operatorMode #330

Open
hawkesn opened this issue Sep 29, 2022 · 0 comments
Open
Assignees

Comments

@hawkesn
Copy link

hawkesn commented Sep 29, 2022

What happened?

With the following variables set:

  ingressController:
    enabled: true
    config:
      operatorMode: true

When attempting to render the helm chart, the following error occurs:

Error: Error: execution error at (pomerium/templates/validation.yaml:10:3): `ingressController.enabled` is not compatible with `ingress.enabled` unless legacy `ingressController.operatorMode`

What did you expect to happen?

Successful render

What's your environment like?

  • Chart version: 32.0.6

What are your chart values?

  ingressController:
    enabled: true
    config:
      operatorMode: true

Additional context

This is occurring because validation.yaml is referring to ingressController.operatorMode which was moved to ingressController.config.operatorMode

The work around is:

ingressController:
  enabled: true
  operatorMode: true
  ingressClassResource:
    enabled: false
  config:
    operatorMode: true

By putting operatorMode twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants