Browse Source

new: [keycloak] new charm

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
nj-keycloak-17.0
Valentin Lab 3 years ago
parent
commit
4d81b629ef
  1. 11
      keycloak/hooks/web_proxy-relation-joined
  2. 14
      keycloak/metadata.yml

11
keycloak/hooks/web_proxy-relation-joined

@ -0,0 +1,11 @@
#!/bin/bash
set -e
config-add "\
services:
$MASTER_BASE_SERVICE_NAME:
environment:
PROXY_ADDRESS_FORWARDING: \"true\"
"

14
keycloak/metadata.yml

@ -0,0 +1,14 @@
docker-image: docker.0k.io/keycloak:16.1.1 ## jboss/keycloak:16.1.1
default-options:
uses:
web-proxy:
#constraint: required | recommended | optional
#auto: pair | summon | none ## default: pair
constraint: recommended
auto: pair
solves:
proxy: "Public access"
default-options:
target: !var-expand ${MASTER_BASE_SERVICE_NAME}:8080
Loading…
Cancel
Save