Description
Description
Basically there are several problems with this chart I've encountered; Firstly, the chart expects you to be using the ingress.enabled
and using the in-built ingress manifest, however, if you're using other ingress controllers like istio, or API Gateway you will of course have this disabled which then leads you into other problems, where now it expects itself to reference the service as a type: Loadbalancer
, this feels like something where you should be able to use custom ingress controllers without needing to then also layer a Loadbalancer IP requirement as well.
This also meant that the RWA_WEBSOCKET_URL_SSL
and RWA_WEBSOCKET_URL
env variables were completely wrong and needed to be patched.
I also noticed if you didn't use the ingress.enabled
with true
that it attempts to install jq
however, it fails, firstly because the securityContext
and podSecurityContext
will cause it to break with the following errors:
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
Once you figure that out and resolve it by changing the settings, you end up hitting another issue in the container
W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.82.132 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 404 Not Found [IP: 151.101.82.132 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.82.132 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
/bin/sh: 12: jq: not found
Which basically I had to fix with something like follows which was a complete hack:
sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list
sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list
sed -i '/stretch-updates/d' /etc/apt/sources.list
After all this I still couldn't get it to work correctly, I'm no expert but I think this chart / image needs some TLC and hope these insights help with potentially improving it moving forward 🙏