Files
cluster-map/.werf/stages/bundle.yaml
T
Vitaliy ChefanovandClaude Opus 5.5 4518393ce1 Package cluster-map as a Deckhouse module
Layout, build and templates follow deckhouse/modules-template; dmt lint
passes with no findings (Go files are excluded from the Flant-only
license-header rule, see .dmtlint.yaml).

- module.yaml, openapi schemas with Russian docs, lib-helm templates:
  https modes, ingress class, publicDomainTemplate, node placement,
  priority class, PSS-restricted security context, VPA, PDB, Ingress
  plus Gateway API ListenerSet/HTTPRoute, DexAuthenticator.
- module-sdk hooks: hubble CA from d8-cni-cilium (public certificate
  only), external_auth, copy_custom_certificate.
- The app moves to images/cluster-map/src and is split into packages;
  traffic mode Continuous/OnDemand/Disabled and retention are module
  settings; graceful shutdown; Prometheus metrics and two alerts;
  frontend embedded, English and Russian, strict CSP.
- Built with werf on Deckhouse's published base images; Makefile
  publishes the registry layout modules-actions uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 21:17:52 +03:00

48 lines
971 B
YAML

# Bundle image, stored in your.registry.io/modules/<module-name>:<semver>
---
image: bundle
fromImage: builder/scratch
import:
# Enrich image digest and version
# Rendering .werf/stages/images-digests.yaml is required!
- image: images-digests-and-version
add: /
to: /
includePaths:
- images_digests.json
- version.json
after: setup
# batch hooks built with batch-go.yaml werf job
- image: batch-hooks
add: /usr/local/bin/batchhooks
to: /hooks/batchhooks
after: setup
# Uncomment if you use python hooks
# - image: python-dependencies
# add: /usr/bin
# to: /hooks/venv/
# before: setup
# - image: python-dependencies
# add: /lib/python/dist
# to: /lib/python/dist
# before: setup
git:
- add: /
to: /
excludePaths:
- hooks/batch # exclude sources
- docs/internal
includePaths:
- .helmignore
- docs
- charts
- crds
- enabled
- hooks
- monitoring
- openapi
- templates
- Chart.yaml
- module.yaml
- values.yaml