This commit is contained in:
2026-10-23 18:47:41 -04:00
parent 935b3e9f4c
commit 10e0185e19
2 changed files with 16 additions and 7 deletions
+9 -4
View File
@@ -83,8 +83,12 @@ config:
{% for connector in dex_additional_connectors %}
- {{ connector | to_json }}
{% endfor %}
volumes:{% if not dex_theme_enabled and not dex_ca_secret_name and not dex_extra_volumes %} []{% endif %}
volumes:
# The official entrypoint renders its config into /tmp before starting Dex.
- name: dex-tmp
emptyDir:
medium: Memory
sizeLimit: 16Mi
{% if dex_theme_enabled %}
- name: theme
configMap:
@@ -98,8 +102,9 @@ volumes:{% if not dex_theme_enabled and not dex_ca_secret_name and not dex_extra
{% for volume in dex_extra_volumes %}
- {{ volume | to_json }}
{% endfor %}
volumeMounts:{% if not dex_theme_enabled and not dex_ca_secret_name and not dex_extra_volume_mounts %} []{% endif %}
volumeMounts:
- name: dex-tmp
mountPath: /tmp
{% if dex_theme_enabled %}
- name: theme
mountPath: /srv/dex/web/themes/light/styles.css