Closed josephca closed 11 months ago
In addition, in the default 'values.yaml' file, 'upstream.ingress. ' should be located in 'ingress. ' like
There is no top level ingress
key. This comes from our dependency called upstream
in the chart dependencies. This is not true. All this change does is that you don't get the ingress values propagated at all.
Otherwise, helm install by using avalues.yaml file with the enabled ingress result in an error:
This seems like a templating error, rather than value placement error. I'll look into it.
We regularly install this chart to a kind
cluster, aka non-OCP cluster. It works fine. I suspect the error is elsewhere. We do not regularly propagate the host value though.
@josephca upstream.ingress.host
is not being templated correctly. This PR in upstream chart should fix it:
https://github.com/backstage/charts/pull/153
FTR:
In addition, in the default 'values.yaml' file, 'upstream.ingress. ' should be located in 'ingress. ' like
You can always test if the values are propagating properly by running helm template
. If you move ingress
from upstream.ingress
to YAML root and run helm template
, you can actually see the values are not being used at all.
Quick workaround for you:
global:
host: <host>
upstream:
ingress:
enabled: true
host: <host_again>
route:
enabled: false
Should be resolved via https://github.com/janus-idp/helm-backstage/issues/155
Quick workaround for you:
global: host: <host> upstream: ingress: enabled: true host: <host_again> route: enabled: false
Hi @tumido, I tried the workaround but still no luck. Can you try the workaround from your side and provide a values yaml file and command line that you run with it? I ran helm template
command and verified that the ingress values are propagated with your fix. Thanks,
Describe the bug
Installing RHDH failed on non-OpenShift clusters even after enabling ingress.
Expected Behavior
RHDH is installed successfully and supports ingress with minimum configuration changes in values yarml.
What are the steps to reproduce this bug?
kubectl create namespace rhdh
kubectl apply -f rhdh-quay-pull-secret.yaml --namespace=rhdh
File used in the command line above:
values_rhdh.yaml
(https://github.com/janus-idp/helm-backstage/files/13453515/values_rhdh.yaml.txt)kubectl get pods -n rhdh
In addition, in the default 'values.yaml' file, 'upstream.ingress. ' should be located in 'ingress. ' like
Otherwise, helm install by using a
values.yaml
file with the enabled ingress results in an error:Versions of software used and environment
quay.io/rhdh/rhdh-hub-rhel9:1.0-190