File tree Expand file tree Collapse file tree 5 files changed +24
-48
lines changed
Expand file tree Collapse file tree 5 files changed +24
-48
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ apiVersion: v2
55name : lfx-platform
66description : LFX Platform v2 Helm chart
77type : application
8- version : 0.1.4
8+ version : 0.1.6
99icon : https://github.com/linuxfoundation/lfx-v2-helm/raw/main/img/lfx-logo-color.svg
1010dependencies :
1111 - name : traefik
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55{{/*
66Generate a cert for Heimdall on install of Chart
77 TODO : Create RBAC rule to limit secret access to heimdall Pods
8+ TODO : Update to a 4096 bit key instead of 2048, sort out PS512 vs PS256
89*/}}
9- {{- $heimdallCert := genPrivateKey "rsa" - }}
10+ {{- $heimdallCert := genCA "foo" 365 }}
1011
1112apiVersion : v1
1213kind : Secret
@@ -22,5 +23,5 @@ metadata:
2223 helm.sh/hook-weight : " 0"
2324 helm.sh/hook-delete-policy : before-hook-creation
2425data :
25- " signer.pem " : " {{ $heimdallCert | b64enc }}"
26+ " signer.pem " : " {{ $heimdallCert.Key | b64enc }}"
2627{{- end }}
Original file line number Diff line number Diff line change @@ -198,6 +198,24 @@ heimdall:
198198 signer :
199199 key_store :
200200 path : /heimdall/cert/signer.pem
201+ claims : |
202+ {
203+ "principal": {{
204+ eq .Subject.ID "_anonymous"
205+ | ternary
206+ "_anonymous"
207+ (or
208+ .Subject.Attributes.username
209+ (list "clients@" .Subject.Attributes.client_id | join ""))
210+ | quote
211+ }}
212+ {{ if .Outputs.authelia_userinfo.email -}},
213+ "email": {{ quote .Outputs.authelia_userinfo.email }}
214+ {{ end -}}
215+ {{ if .Values.aud -}},
216+ "aud": {{ quote .Values.aud }}
217+ {{ end -}}
218+ }
201219
202220 default_rule :
203221 execute :
@@ -252,6 +270,8 @@ mailpit:
252270# Authelia configuration
253271authelia :
254272 enabled : true
273+ ingress :
274+ enabled : true
255275 secret :
256276 additionalSecrets :
257277 authelia-jwks-keys : {}
You can’t perform that action at this time.
0 commit comments