Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix: dockerfile etc
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed May 6, 2022
1 parent 65df1ed commit 15a0502
Show file tree
Hide file tree
Showing 5 changed files with 2,231 additions and 7 deletions.
27 changes: 21 additions & 6 deletions .kube-workflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,32 @@ keycloak:
mountPath: /opt/keycloak/providers
extraInitContainers: |
- name: realm-ext-provider
image: curlimages/curl
- name: compile-realm
image: hairyhenderson/gomplate:v3.10.0-alpine
imagePullPolicy: IfNotPresent
volumeMounts:
- name: keycloak-realm-tpl
mountPath: "/realm-tpl/"
readOnly: true
- name: keycloak-realm
mountPath: "/realm/"
envFrom:
- secretRef:
name: app-sealed-secret
env:
- name: SMTP_HOST
value: "smtp.tipimail.com"
- name: SMTP_PORT
value: "587"
- name: SMTP_USER
value: "$(MAIL_AUTH_USER)"
- name: SMTP_PASSWORD
value: "$(MAIL_AUTH_PASS)"
command:
- sh
args:
- -c
- curl -L -f -S -o /extensions/keycloak-dsfr-1.0.1.jar https://github.com/SocialGouv/keycloak-dsfr/releases/latest/download/keycloak-theme.jar
volumeMounts:
- name: extensions
mountPath: /extensions
- "cat /realm-tpl/realm.json.envtpl | gomplate > /realm/realm.json"
ingress:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NODE_VERSION=18-alpine
ARG NODE_VERSION=16-alpine

# Builder
FROM node:$NODE_VERSION AS builder
Expand Down
1 change: 1 addition & 0 deletions config/keycloak/realm-dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{dcdsddsds}}
Loading

0 comments on commit 15a0502

Please sign in to comment.