Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/images/dex-theme/approval.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/dex-theme/error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/dex-theme/login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 18 additions & 4 deletions k8s/bases/infrastructure/controllers/dex/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ data:
.theme-navbar {
background-color: var(--dt-bg);
border-bottom: 1px solid var(--dt-card-border);
height: 64px;
padding: 0 16px;
height: 80px;
padding: 0 24px;
}

.theme-navbar__logo-wrap {
Expand All @@ -85,12 +85,26 @@ data:
height: 100%;
}

/* The wordmark already spells the name, so the header shows no second title. */
/* The wordmark is the header: it already spells the name, so no title
follows it. 48px tall (about 255px wide) on wider screens, smaller on
phones; the SVG stays sharp at any size. */
.theme-navbar__logo {
height: 30px;
height: 48px;
max-width: 100%;
width: auto;
}

@media (max-width: 480px) {
.theme-navbar {
height: 64px;
padding: 0 16px;
}

.theme-navbar__logo {
height: 36px;
}
}

/* Dex renders the logo without alt text, so the name stays available to
screen readers here, without showing it twice. */
.theme-navbar__logo-wrap::after {
Expand Down
16 changes: 16 additions & 0 deletions k8s/bases/infrastructure/controllers/dex/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ spec:
hostnames:
- dex.${domain}
rules:
# The theme (config-map.yaml) is served at stable URLs, and Cloudflare kept
# the previous stylesheet and icon for four hours after a theme change.
# private, no-store keeps any shared or browser cache from holding them,
# as the Homepage route does for its custom stylesheet.
- matches:
- path:
type: PathPrefix
value: /theme/
filters:
- type: ResponseHeaderModifier
responseHeaderModifier:
set:
- name: Strict-Transport-Security
value: max-age=63072000; includeSubDomains; preload
- name: Cache-Control
value: private, no-store
- matches:
- path:
type: PathPrefix
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate-eks-ci-role-policy/approved-surface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ helm.toolkit.fluxcd.io/v2|HelmRelease|customer-identity|customer-dex 55a9ceabb55

helm.toolkit.fluxcd.io/v2|HelmRelease|customer-identity|zitadel eeb9881018664637cdefc9c5c0afd6953aa958e5dbfbc9cd8c5d521501e52431

helm.toolkit.fluxcd.io/v2|HelmRelease|dex|dex 6b11d3e9722c62691ecd9977961a2b1c9bd4e0f60fa78da9fb93bb7ec89378a9
helm.toolkit.fluxcd.io/v2|HelmRelease|dex|dex 85b271be55e3e61d1d38af7ac41013afaa69d85eb29839fa7d95648461db2d18

helm.toolkit.fluxcd.io/v2|HelmRelease|external-dns|external-dns 107eaf8ad3d74abff5c6b1c6d7ca1b49ac75829fe425672f81cdc1e799457511

Expand Down
Loading