Closed Rolika4 closed 3 months ago
Description
Use plugins in the headlamp when base-url option is enabled.
Impact
When the base-URL option is enabled - plugins don't draw in the Headlamp UI.
Environment and steps to reproduce
Set-up: Kubernetes 1.23, nginx-ingress controller, Keycloak OIDC enabled Headlamp in cluster deployed with settings:
deployment:
args: - '-in-cluster' - '-plugins-dir=/headlamp/plugins' - '-oidc-client-id=<client_id>' - '-oidc-client-secret=$(CLIENT_SECRET)' - >- -oidc-idp-issuer-url=https://<keycloak_url>/auth/realms/<headlamp_realm> - "-base-url=/headlamp"
ingress:
spec: rules: - host: >- <dns_name>.com http: paths: - path: /headlamp pathType: Prefix backend: service: name: edp-headlamp port: number: 80
Additional information
I tried to copy plugins from the custom directory (/headlamp/plugins) to the Headlamp base plugins directory, but it did not help to resolve this issue.
Attached 2 screenshots. Without base-URL features With base-URL features
I'm pretty sure this works now.
Description
Use plugins in the headlamp when base-url option is enabled.
Impact
When the base-URL option is enabled - plugins don't draw in the Headlamp UI.
Environment and steps to reproduce
Set-up: Kubernetes 1.23, nginx-ingress controller, Keycloak OIDC enabled Headlamp in cluster deployed with settings:
deployment:
ingress:
Additional information
I tried to copy plugins from the custom directory (/headlamp/plugins) to the Headlamp base plugins directory, but it did not help to resolve this issue.
Attached 2 screenshots. Without base-URL features With base-URL features