Skip to content

Commit

Permalink
Merge pull request jitsi-contrib#117 from dcaputo-harmoni/harmoni-dca…
Browse files Browse the repository at this point in the history
…puto/include-custom-interface-config-js

Include custom interface_config.js
  • Loading branch information
spijet authored May 24, 2024
2 parents 080c631 + 77b12c0 commit df7600d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/web/configmap-conffiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ data:
{{- else }}
# Not providing /config/custom-config.js
{{ end }}
custom-interface_config.js: |
{{- if .Values.web.custom.configs._custom_interface_config_js }}
{{- .Values.web.custom.configs._custom_interface_config_js | nindent 4 }}
{{- else }}
# Not providing /config/custom-interface_config.js
{{ end }}
default: |
{{- if .Values.web.custom.defaults._default }}
{{- .Values.web.custom.defaults._default | nindent 4 }}
Expand Down
7 changes: 7 additions & 0 deletions templates/web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ spec:
mountPath: /config/custom-config.js
subPath: custom-config.js
{{- end }}
{{- if .Values.web.custom.configs._custom_interface_config_js }}
- name: custom-conffiles
mountPath: /config/custom-interface_config.js
subPath: custom-interface_config.js
{{- end }}
{{- if .Values.web.custom.defaults._default }}
- name: custom-conffiles
mountPath: /defaults/default
Expand Down Expand Up @@ -151,6 +156,8 @@ spec:
items:
- key: custom-config.js
path: custom-config.js
- key: custom-interface_config.js
path: custom-interface_config.js
- key: default
path: default
- key: ffdhe2048.txt
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ web:
_ssl_conf: ""
_system_config_js: ""
configs:
_custom_interface_config_js: ""
_custom_config_js: ""

extraEnvs: {}
Expand Down

0 comments on commit df7600d

Please sign in to comment.