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

feat(helm): allow cluster administrator to configure ingress host (#804) #804

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

Alputer
Copy link
Member

@Alputer Alputer commented Jun 18, 2024

@Alputer Alputer requested review from tiborsimko and mdonadoni June 18, 2024 11:13
@Alputer Alputer self-assigned this Jun 18, 2024
@@ -91,6 +91,8 @@ spec:
- name: REANA_DEFAULT_QUOTA_DISK_LIMIT
value: {{ .Values.quota.default_disk_limit | default 0 | quote }}
{{- if .Values.quota.enabled }}
- name: REANA_INGRESS_HOST
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The REANA_INGRESS_HOST should not be located inside the "if quota..." clause, because it does not depend on quotas. Please move it above, next to where REANA_INGRESS_ANNOTATIONS lives.

@@ -135,6 +135,7 @@ notifications:
# Accessing the cluster from outside world
ingress:
enabled: true
host: ""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, do we need to add a new field ingress.host for this functionality? I'm wondering because we already have reana_hostname field defined elsewhere, so if people set it up, we could perhaps reuse that directly. (And if it is not set up, then use the empty string as default value.)

(Another possibility would be to hardcode "" as default value inside helm/reana/templates/reana-workflow-controller.yaml, without even playing with reana_hostname. )

In this way we don't need to introduce the new ingress.host field.... Thinking of making changes to 0.9.3 as minimal as possible.

@Alputer Alputer force-pushed the ingress-host-customization branch from 1cde2e5 to 1479730 Compare June 20, 2024 15:57
Copy link
Member

@tiborsimko tiborsimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nicely locally and on DEV 👍

@tiborsimko tiborsimko merged commit 1479730 into reanahub:maint-0.9 Jun 26, 2024
13 checks passed
tiborsimko added a commit to tiborsimko/reana that referenced this pull request Jun 26, 2024
* feat(helm): allow cluster administrator to configure ingress host (reanahub#804)
tiborsimko added a commit to tiborsimko/reana that referenced this pull request Jun 26, 2024
* feat(helm): allow cluster administrator to configure ingress host (reanahub#804)
tiborsimko added a commit to tiborsimko/reana that referenced this pull request Jun 26, 2024
feat(helm): allow cluster administrator to configure ingress host (reanahub#804)
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 this pull request may close these issues.

config: allow customising ingress hosts
2 participants