Closed vctrmn closed 1 year ago
Hi @vctrmn How did you setup the TLS in the ingress?
Also the values file doesn't show how the Ingress is setup for Keycloak.
It should be under the identity
key like this:
identity:
[...]
keycloak:
ingress:
enabled: true
ingressClassName: nginx
hostname: "keycloak.camunda.example.com"
extraEnvVars:
- name: KEYCLOAK_PROXY_ADDRESS_FORWARDING
value: "true"
- name: KEYCLOAK_FRONTEND_URL
value: "https://keycloak.camunda.example.com"
For more details on the setup, please take a look at the Ingress setup guide.
Hi @aabouzaid,
Thank you for your help ! Your configuration effectively fix the issue. Would it be possible to add this configuration (at least as a comment) in the default values.yaml ?
https://github.com/camunda/camunda-platform-helm/blob/main/charts/camunda-platform/values.yaml
Also, would it be possible to add the tls
configuration in the keycloak ingress ?
Below is the generated ingress
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
meta.helm.sh/release-name: demo
meta.helm.sh/release-namespace: default
creationTimestamp: "2022-10-18T08:43:40Z"
generation: 1
labels:
app.kubernetes.io/component: keycloak
app.kubernetes.io/instance: demo
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak
helm.sh/chart: keycloak-7.1.6
name: demo-keycloak
namespace: default
resourceVersion: "356570"
uid: 466259b4-065c-471f-8cf7-3598deb09845
spec:
ingressClassName: public-iks-k8s-nginx
rules:
- host: keycloak.xxxxxxxxxxxxxxxxxxx.com
http:
paths:
- backend:
service:
name: demo-keycloak
port:
name: http
path: /
pathType: ImplementationSpecific
status:
loadBalancer:
ingress:
- hostname: xxxxxxxxxxxxxxxxxxxxxx
For visiablity, I've added the Ingress key to the values file with a link to Keycloak repo for more details.
Describe the bug:
Operate and Keycloak is exposed via a secure https endpoint. When I authenticate to Operate in the Keycloak UI, I have a "Connection insecure" warning.
Tested via Google Chrome and Mozilla Firefox.
Environment: