Comments (6)
I just reviewed the changes from 21.0.4 to 21.1.0 and saw that since then the env variables KC_HOSTNAME_URL
and KC_HOSTNAME_ADMIN_URL
are used instead of KC_HOSTNAME_ADMIN
in
If I'm not mistaken, it seems that the path defined in the ingress or in httpRelativePath is not used in this context. Is this an oversight, or am I misunderstanding the configuration of the environment variables?
from charts.
Hi,
we have observed a similar issue. With Helm Chart version 21.0.4, everything was functioning as expected. However, after updating to 21.1.0, the Admin WebApp can no longer be accessed because the "auth" part is being removed. When I try to access the URL https://mdomain.de/auth/, it redirects to https://mdomain.de/admin/ instead of https://mdomain.de/auth/admin/.
Here are the chart values used:
httpRelativePath: /auth/
ingress:
annotations:
kubernetes.io/ingress.class: nginx
nginx.org/location-snippets: |
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
nginx.org/proxy-buffer-size: 128k
nginx.org/proxy-buffers: 4 256k
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
cert-manager.io/issuer: cert-issuer
enabled: true
hostname: …
path: /
pathType: Prefix
tls:
- hosts:
- ...
secretName: cert-secret
adminIngress:
annotations:
kubernetes.io/ingress.class: nginx
enabled: true
hostname: …
path: /auth/admin
pathType: Prefix
tls:
- hosts:
- …
secretName: cert-secret
Thanks for your help.
from charts.
Any update ?
from charts.
Thanks for the investigation you did, @bjsee. I can see this in Keycloak's documentation:
hostname-admin-url
Set the base URL for accessing the administration console, including scheme, host, port and path
CLI: --hostname-admin-url
Env: KC_HOSTNAME_ADMIN_URL
Have you tried adding your httpRelativePath
to the KC_HOSTNAME_ADMIN_URL
environment variable? Perhaps its missing there.
from charts.
Hi @alemorcuq, I've been trying all morning to adjust the values but nothing works, even adjusting httpRelativePath to KC_HOSTNAME_ADMIN_URL...
I reiterate that everything was working on chart 21.0.2 and then only 404 errors.
Can you reproduce my environment?
from charts.
Hi, it is introduced by the commit: #25386. I'm impacted too.
My use case is to serve the admin ingress on the same host but with the adminIngress as a subPath to allow ip restriction on this path only.
from charts.
Related Issues (20)
- [bitnami/postgresql-ha] Upgrading repmgr from 5.3 to 5.4
- [bitnami/kafka] No NetworkPolicy for jmx metrics HOT 2
- Kafka Broker Cannot Access Outside Kubernetes Cluster via ClusterIP Services HOT 1
- [bitnami/mongodb] Configmap common-scripts broken HOT 1
- Put a requirements.txt it gives error
- [bitnami/ghost] In latest version of ghost, it can't connect to local MySQL server through socket '/opt/bitnami/mysql/tmp/mysql.sock HOT 4
- [ bitnami/postgres-ha ] postgresql-ha vault root password autorotate support HOT 3
- [bitnami/mlflow] raises image warning without changing image HOT 1
- Fix permissions for apprepositories issue 5323 tanzu HOT 3
- [bitnami/grafana-operator] Wrong content of grafanacontactpoints.integreatly.org.yaml HOT 3
- Thanos Sharding Cache Issue HOT 9
- cp: cannot stat '/opt/bitnami/keycloak/lib/quarkus/*': No such file or directory HOT 3
- [bitnami/contour] Typo in livenessProbe HOT 1
- [multus-cni] Add support for the thick plugin HOT 3
- [bitnami/argo-cd] Liveness Probe always fails on applicationset-controller HOT 3
- test ticket
- Many users reporting "error 400, request header too large" HOT 2
- [bitnami/postgresql-ha] Bug hostname "I have no name!" in release 14.1.3 HOT 3
- [bitnami/mysql] mysql Server upgrade from 'X' to 'X' takes 5 minutes HOT 2
- [bitnami/redis] Low latency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.