Skip to content

Commit

Permalink
3.24.6-rc.3
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth Hill <ken.hill@nimbix.net>
  • Loading branch information
kenhill committed Jul 2, 2024
2 parents 49ce3a8 + 5219fd3 commit 20b055c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/jarvice-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ spec:
volumes:
{{- include "jarvice.rootCertVolume" . | indent 6 }}
hostAliases:
{{- include "jarvice.hostAliases" . | indent 8 }}
{{- include "jarvice.hostAliases" . | nindent 8 }}
containers:
- name: jarvice-api
image: {{ include "jarvice.registry" . }}/{{ .Values.jarvice.JARVICE_SYSTEM_REPO_BASE }}/jarvice-api:{{ default .Values.jarvice.JARVICE_IMAGES_TAG .Chart.Annotations.tag }}{{- include "jarvice.version" . }}
Expand Down
14 changes: 12 additions & 2 deletions templates/jarvice-bird.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -832,13 +832,23 @@ spec:
---
{{- end }}
{{- if empty .Values.jarvice_bird.conf.configMap }}
{{ $config := "files/jarvice-bird-config.json" }}
{{ $bird_env := $.Values.jarvice_bird.env }}
apiVersion: v1
kind: ConfigMap
metadata:
name: jarvice-bird-config
data:
jarvice-bird-config.json: |-
{{ .Files.Get "files/jarvice-bird-config.json" | indent 4 }}
jarvice-bird-config.json: |
{{- range $i, $line := splitList "\n" (.Files.Get $config) }}
{{- if (eq $i 1) }}
{{- printf "\n\"keycloakAdminConsole\": \"%s/admin/%s/console/\","
$bird_env.KEYCLOAK_URL
$bird_env.KEYCLOAK_REALM | indent 10
}}
{{- end }}
{{ . | indent 4 }}
{{- end }}
---
{{- end }}
{{- if empty .Values.jarvice_bird.nginx.configMap }}
Expand Down

0 comments on commit 20b055c

Please sign in to comment.