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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
41f9b47556
commit
4518393ce1
@@ -0,0 +1,42 @@
|
||||
# Values as Deckhouse would pass them for a typical cluster: user-authn on,
|
||||
# CertManager https, cilium-hubble installed. Used by `make render`.
|
||||
global:
|
||||
clusterIsBootstrapped: true
|
||||
enabledModules: ["user-authn", "cert-manager", "vertical-pod-autoscaler", "operator-prometheus-crd", "cilium-hubble"]
|
||||
discovery:
|
||||
clusterDomain: cluster.local
|
||||
clusterControlPlaneIsHighlyAvailable: false
|
||||
d8SpecificNodeCountByRole: {}
|
||||
highAvailability: false
|
||||
modules:
|
||||
publicDomainTemplate: "%s.example.com"
|
||||
ingressClass: nginx
|
||||
https:
|
||||
mode: CertManager
|
||||
certManager:
|
||||
clusterIssuerName: letsencrypt
|
||||
placement: {}
|
||||
modulesImages:
|
||||
registry:
|
||||
base: registry.example.com/modules
|
||||
digests:
|
||||
clusterMap:
|
||||
clusterMap: "sha256:0000000000000000000000000000000000000000000000000000000000000000"
|
||||
clusterMap:
|
||||
traffic:
|
||||
mode: Continuous
|
||||
retentionMinutes: 60
|
||||
onDemandIdleMinutes: 10
|
||||
collectInfraTraffic: false
|
||||
logs:
|
||||
tailLines: 500
|
||||
systemNamespacePrefixes: ["d8-", "kube-"]
|
||||
auth:
|
||||
allowedUserGroups: ["admins"]
|
||||
externalAuthentication:
|
||||
authURL: https://cluster-map-dex-authenticator.d8-cluster-map.svc.cluster.local/dex-authenticator/auth
|
||||
authSignInURL: https://$host/dex-authenticator/sign_in
|
||||
internal:
|
||||
deployDexAuthenticator: true
|
||||
hubbleCA: "-----BEGIN CERTIFICATE-----\n-----END CERTIFICATE-----\n"
|
||||
registry: {}
|
||||
@@ -0,0 +1,4 @@
|
||||
# cilium-hubble absent: the hook leaves hubbleCA empty and traffic turns off.
|
||||
clusterMap:
|
||||
internal:
|
||||
hubbleCA: ""
|
||||
Reference in New Issue
Block a user