You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: gate custom branding behind license field (Tier 4.7)
Adds a custom_branding_enabled license field gate across the full stack:
- kots-config.yaml: new Branding config group (site_color item) hidden
via group-level when: condition using LicenseFieldValue
- helmchart.yaml: passes siteColor (ConfigOption) and
customBrandingEnabled (LicenseFieldValue) into Helm values
- values.yaml: siteColor and customBrandingEnabled defaults
- configmap.yaml / deployment.yaml: site-color and
custom-branding-enabled env vars wired to the app
- config.go: SiteColor and CustomBrandingEnabled fields loaded from env
- handlers.go: CustomBrandingEnabled on PageData (set in pageBase);
SiteColor replaces hardcoded #3B82F6 default
- admin.go: updateBrandingHandler and uploadLogoHandler return 403
when custom branding is not licensed
- admin.html: Branding and Logo sections hidden when not licensed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments