fp/charts/keycloak/values-overrides.yaml

51 lines
1.5 KiB
YAML
Raw Normal View History

2024-12-12 07:23:46 +00:00
fullnameOverride: keycloak
namespaceOverride: futureporn
postgresql:
enabled: false
externalDatabase:
host: postgresql-primary.futureporn.svc.cluster.local
user: postgres
existingSecret: postgresql
port: 5432
database: keycloak
logging:
level: INFO # INFO is default
service:
type: LoadBalancer
http:
enabled: true
ports:
http: 8080
annotations:
external-dns.alpha.kubernetes.io/hostname: keycloak.fp.sbtp.xyz
global:
defaultStorageClass: standard
proxy: edge
# curl -o /emptydir/app-providers-dir/patreon-provider.jar -Ls https://github.com/insanity54/keycloak-patreon-provider/releases/download/$tag/keycloak-patreon-provider-$tag.jar
#curl -H "X-Pinggy-No-Screen: 1" -o /emptydir/app-providers-dir/patreon-provider.jar -Ls http://a.free.pinggy.link/keycloak-patreon-provider-$tag.jar
initContainers:
- name: keycloak-patreon-provider-installer
image: alpine/curl:latest
imagePullPolicy: IfNotPresent
command:
- sh
- -c
- |
set -e
tag=1.3.0-SNAPSHOT
echo "Downloading $tag"
curl --max-time 60 -o /emptydir/app-providers-dir/patreon-provider.jar -Ls https://github.com/insanity54/keycloak-patreon-provider/releases/download/$tag/keycloak-patreon-provider-$tag.jar
chown 1001:1001 /emptydir/app-providers-dir/patreon-provider.jar
echo "Download completed with exit code $?"
volumeMounts:
- name: empty-dir
mountPath: /emptydir