Skip to content

Commit

Permalink
add support for extra hosts in tokendings chart
Browse files Browse the repository at this point in the history
  • Loading branch information
sechmann committed Dec 22, 2024
1 parent 808d76e commit 6a03f1f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/Feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,7 @@ values:
description: Maximum number of replicas for tokendings
config:
type: int
tokendings.extraHosts:
description: List of extra hosts to add to the ingress
config:
type: string_array
3 changes: 3 additions & 0 deletions charts/templates/tokendings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ spec:
value: "300"
ingresses:
- "{{- include "tokenx.tokendings.URL" . }}"
{{- range .Values.tokenings.extraHosts }}
- {{ . | quote }}
{{- end }}
{{- if .Values.tokendings.mapSubjectTokenClaims }}
envFrom:
- configmap: {{ include "tokenx.fullname" . }}-tokendings-mappings
Expand Down
1 change: 1 addition & 0 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ tokendings:
sqlinstance_name: tokendings
host:
mapSubjectTokenClaims: false
extraHosts: []

0 comments on commit 6a03f1f

Please sign in to comment.