-
Notifications
You must be signed in to change notification settings - Fork 17
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
RHIDP-1703: Revert querying of OCP Cluster Ingress #9
RHIDP-1703: Revert querying of OCP Cluster Ingress #9
Conversation
Revert the automatic querying of the OCP Cluster Ingress for the domain to use for the clusterRouterBase as regular users do not have access to this resource, only cluster admins.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert the automatic querying of the OCP Cluster Ingress for the domain to use for the clusterRouterBase as regular users do not have access to this resource, only cluster admins.
I guess the issue that the reverted commit was supposed to fix should be somehow reopened here or in JIRA as not fixed?
janus-idp#167?
makes sense, yeah -- however janus-idp#167 is in an archived repo, so we need a new issue in https://github.com/redhat-developer/rhdh-chart/ ... but there are no issues for that repo because we use JIRA instead. |
@rm3l From what I can see there is not a programmatical way to solve this issue due to limitations in Helm. The issue is really solved via the documentation that describes what information should be placed in the clusterRouterBase field. I was also thinking that maybe we could just have this code run if the user is a cluster-admin, but I don't see a way using helm to determine that as the install just fails on the lookup command, even if it is just used in an if block. |
Two approvals, I am going to go ahead and merge this. |
No problem, just wanted to make sure that people who reported the original issue (janus-idp#167) were aware of this revert in case they expected the original issue to have been implemented (and were maybe depending on it), in which case this PR would have been a potential breaking change. |
Revert the automatic querying of the OCP Cluster Ingress for the domain to use for the clusterRouterBase as regular users do not have access to this resource, only cluster admins.
Checklist
Chart.yaml
according to semver.values.yaml
and added to the README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -a
to apply changes.pre-commit
hook.ct lint
command.