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

[BUG] Helm redoc templates - flyte chart - not honoring redoc.enabled in values #4006

Closed
2 tasks done
cmontemuino opened this issue Sep 4, 2023 · 5 comments · Fixed by #5452 · May be fixed by #4007
Closed
2 tasks done

[BUG] Helm redoc templates - flyte chart - not honoring redoc.enabled in values #4006

cmontemuino opened this issue Sep 4, 2023 · 5 comments · Fixed by #5452 · May be fixed by #4007
Assignees
Labels
bug Something isn't working

Comments

@cmontemuino
Copy link

Describe the bug

When installing the flyte chart and setting redoc.enabled to false, the redoc deployment and service is still installed.

The problem is in the charts/flyte/templates/redoc/deployment.yaml and charts/flyte/templates/redoc/deployment.yaml. These need to be wrapped by a conditional on the rdoc.enabled value, like it is done with other templates (for example, templates/redis).

Expected behavior

No redoc deployment when installing the flyte chart with redoc.enabled set to false.

Additional context to reproduce

helm repo add flyteorg https://flyteorg.github.io/flyte
helm repo update
helm upgrade flyte -n flyte flyteorg/flyte \
    --set redoc.enabled=false \
    --dry-run > flyte.yaml
cat flyte.yaml| grep "name: redoc"

Above command should not output the redoc deployment and service.

Screenshots

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes
@cmontemuino cmontemuino added bug Something isn't working untriaged This issues has not yet been looked at by the Maintainers labels Sep 4, 2023
@welcome
Copy link

welcome bot commented Sep 4, 2023

Thank you for opening your first issue here! 🛠

@flixr
Copy link
Contributor

flixr commented Sep 4, 2023

see also #2982

@cmontemuino
Copy link
Author

Hi @flixr! It seems like I've missed your previous PR, although it's not completely tackling my reported issue. Your PR is updating the service only (vs service + deployment), and it's for another Chart (flyte-deps vs flyte).

@cmontemuino cmontemuino changed the title [BUG] Helm redoc templates not honoring redoc.enabled in values [BUG] Helm redoc templates - flyte chart - not honoring redoc.enabled in values Sep 5, 2023
@eapolinario eapolinario self-assigned this Sep 8, 2023
@eapolinario eapolinario removed the untriaged This issues has not yet been looked at by the Maintainers label Sep 8, 2023
Copy link

github-actions bot commented Jun 5, 2024

Hello 👋, this issue has been inactive for over 9 months. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will engage on it to decide if it is still applicable.
Thank you for your contribution and understanding! 🙏

@flixr
Copy link
Contributor

flixr commented Jun 6, 2024

@eapolinario this is an easy fix, please see #5452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants