Vesta Backup

Product identity and customer appearance

The application accepts a local, versioned visual asset pack without rebuilding images. The pack controls the displayed product name, logo, favicon, supported icons, colors, font and density. Tabler components, page behavior, permissions, licenses and internal resource/API identifiers remain unchanged. The pack is available before login and needs no external asset service.

Use the Iris visual asset manifest v1 format. Create a directory containing manifest.json and its referenced assets. This minimal example replaces the logo and displayed product name:

{
  "schema_version": 1,
  "id": "customer-backup",
  "version": "1.0.0",
  "name": "Customer backup appearance",
  "type": "theme",
  "assets": {
    "brand-logo": {"file": "logo.svg", "content_type": "image/svg+xml"}
  },
  "meta": {
    "vnbui": {
      "schema_version": 2,
      "product_name": "Customer Backup",
      "colors": {"primary": "#245890", "success": "#287644"},
      "theme_colors": {"dark": {"primary": "#8FC96B", "body-bg": "#182433", "body-color": "#E8EDF3"}},
      "font_family": "system",
      "density": "comfortable"
    }
  }
}

Supported colors are primary, success, warning, danger, body-bg and body-color, each #RRGGBB. Font families are system, sans, serif, mono; an optional font_asset references a font/woff2 asset in the same manifest. Density is comfortable or compact. Assets can be SVG, PNG, JPEG, WebP, ICO, WOFF2 or existing tabler:// icon names. Keys such as brand-logo and brand-favicon override bundled assets; unmodified keys keep bundled defaults. Variant keys follow the declaration order in variant_schema.

The shipped Vesta 1.2.0 pack preserves the approved artwork and light colors; 1.1.0 remains the immutable previous-pack fallback. Only Vesta metadata uses schema version 2; the outer Iris manifest remains version 1. Optional theme_colors.light and theme_colors.dark maps accept only the six colors above. colors remains the light fallback, with theme_colors.light taking precedence. Version 1 metadata stays supported as light-only and uses safe dark defaults when dark is selected. Never add theme_colors to a version 1 record. The browser saves light/dark explicitly, defaults to light and applies the mode before paint. Dark sidebars always use dark artwork. Theme and distribution artwork do not enable modules, select auth mode or alter free/paid licensing. All assets stay local; airgapped installs need no CDN, remote font or asset host.

Packs are data: arbitrary CSS, HTML, JavaScript, remote URLs, SVG scripts/styles and external SVG references are refused. SVG must be well-formed XML with the SVG namespace on every element, using a default namespace or explicit prefixes. Omit XML declarations, DTDs, and processing instructions; use the simple <svg xmlns="http://www.w3.org/2000/svg"> form. A file is limited to 256 KiB and the complete generated ConfigMap, including active and previous packs, to 768 KiB. The projection is limited to 512 items, including both manifests and config.json. Use optimized local assets and a subset font if needed. Only referenced files are included; keep private material out of the pack directory anyway.

For large generated ConfigMaps, use server-side apply (oc apply --server-side) to avoid the separate 256 KiB limit on the client-side last-applied annotation. In Argo CD, set argocd.argoproj.io/sync-options: ServerSideApply=true in the generated ConfigMap's metadata.annotations. This option belongs to the Kubernetes resource, not the asset manifest. The pack's 768 KiB resource limit still applies.

Initialize APP_NAMESPACE and RESOURCE_PREFIX from the accepted site file using installed naming. Prepare a new immutable resource and its volume projection offline:

python3 install/appearance.py --active ./customer-pack-1.0.0 \
  --namespace "$APP_NAMESPACE" --resource-prefix "$RESOURCE_PREFIX" --output ./appearance-resource.json \
  --projection-output ./appearance-projection.json

For later revisions, add --previous ./customer-pack-1.0.0 and use a new active version. Do not modify the contents of an existing pack version. The resource name includes a content fingerprint. Review and apply appearance-resource.json to the application's namespace, then set site.json's optional appearance value to the complete object in appearance-projection.json. Its generated items map is required; do not flatten or rename its paths.

On a fresh install, render the normal API stage after applying this ConfigMap. On an existing installation, retain the prior site file and use the reconfiguration procedure with the updated site file. The same read-only pack mounts in the frontend and backend, so report and email names follow the UI. No database migration, key rotation or agent reset is needed. Keep the previous ConfigMap until rollback is no longer required.

Validate the logged-out page, browser title/favicon, logged-in shell, Hebrew RTL, both narrow and desktop layouts, and a report/notification preview where used. Check contrast and legibility in both themes, repeat light–dark–light switches, and reload/logout to verify the saved preference. Block off-origin requests and confirm every appearance request stays local. The application checks the active pack before activation; invalid or missing packs fall back to the previous pack, then bundled defaults. A failed pack never blocks login. For an operator rollback, reconfigure with the prior appearance projection, or remove the optional field to restore the bundled appearance. Review pod status and the browser Network/Console output when diagnosing missing assets; requests under /appearance/ return an actual 404 instead of the application HTML.

Appearance changes do not rename Kubernetes resources, agent identities, database schemas, metrics or backup metadata. Changing the main UI/API hostnames is a separate supported reconfiguration in the same operator workflow. Legal notices and Community/commercial boundaries are not appearance settings.