UNCLASSIFIED - NO CUI

Correct Big Bang 4.0 configuration documentation

Summary

Corrections tracked by #3501 (closed). Based directly on master (f9219960), with no stacked branch required. Overlapping corrections already in master are omitted from the current diff. The reviewed Kiali documentation is retained; the functional fix remains in !8562 (merged).

docs/packages/core/monitoring.md

  • Correct monitoring upstream configuration nesting: for example, packages.monitoring.values.upstream.prometheus.prometheusSpec.replicas: 3 renders three Prometheus replicas. The former values.prometheus path was accepted but ineffective.
  • Configure persistence, logging and HA for the independently deployed Grafana package under packages.grafana.values.upstream; distinguish it from the disabled-by-default Grafana bundled with monitoring.
  • Correct legacy hardened custom-resource migration guidance, the default logging stack, and the explanation of Prometheus replicas and Thanos.

Sources: umbrella defaults and pins, monitoring integration, Grafana integration, monitoring package 92.13.1-bb.0, and Grafana package 14.0.1-bb.0.

Validation

  • Parsed and rendered all ten values examples through the umbrella and the pinned monitoring or Grafana chart with schema validation. Asserted rendered Alertmanager and Prometheus 50Gi storage, Grafana 10Gi PVC, and three replicas for each HA example.
  • git diff --check passed. Pre-push checks passed: generated values reference and 211 Bats tests.
  • Documentation link CI and runtime integration have not been verified locally.

Upgrade Notices

Documentation only. The corrected custom Grafana credential examples depend on the separate bug fix in !8562 (merged).

docs/packages/addons/gitlab.md — issue #3501 (closed) item 2

  • Move GitLab component and Registry HA settings under packages.gitlab.values.upstream; the rendered webservice, shell, Sidekiq and Registry HPAs each have min/max replicas 3, and Gitaly requests 4G memory. Increasing Gitaly resources does not provide Gitaly HA.
  • Correct the monitoring package root, explain the pinned upstream EE default and its distinction from license entitlement, and replace obsolete bundled PostgreSQL and MinIO claims with links to the maintained external-services and GitLab 19 migration instructions.
  • Sources: pinned GitLab package chart, pinned package values, upstream GitLab chart 10.5.1 values, and production prerequisites.
  • Validation: parsed all three GitLab values examples and rendered them through the umbrella and GitLab 10.5.1-bb.0 with schema validation and external-service prerequisite values; asserted the four HPA replica ranges and Gitaly resource request. git diff --check passed. Runtime integration and documentation link CI remain pending.

docs/getting-started/quick-start.md — issue #3501 (closed) item 3

  • Use the maintained Repo1 Podinfo chart 6.17.0-bb.0 and its pinned Iron Bank image. Remove the invalid istio.enabled passthrough, configure wrapper ingress to the actual podinfo-upstream Service, and disable the package-owned route to avoid duplication. Quote the shell heredoc and correct the namespace in the verification command.
  • Sources: maintained Podinfo chart, package values, Iron Bank image manifest, and wrapper values rendering.

docs/installation/environments/extra-package-deployment.md — issue #3501 (closed) item 3

  • Replace the removed .Values.istiod.enabled expression with a supported conditional under upstream.ui.message using .Values.packages.istiod.enabled; explicitly distinguish it from configuring mesh integration. Replace built-in identity collisions with maintained Repo1 Podinfo examples for existing namespaces and registry Secrets. Update the replica passthrough and clarify ambient versus sidecar enrollment.
  • Sources: Istio helper, custom-package values, namespace creation.

Validation: parsed relevant YAML; checked the heredoc with bash -n; rendered the umbrella, maintained Podinfo 6.17.0-bb.0 and wrapper 0.4.15 with schema validation. Asserted the Iron Bank image, three replicas, wrapper VirtualService destination, package-owned route suppression, target and release namespaces, registry Secret suppression, both conditional outputs, and sidecar and ambient rendering. git diff --check passed. Runtime deployment and documentation link CI remain pending.

docs/concepts/git-ops-workflow.md — issue #3501 (closed) item 4

  • Update the example HelmRelease to helm.toolkit.fluxcd.io/v2, the served version in the bundled Flux CRD, and correct the example umbrella values to packages.monitoring.enabled. Remove obsolete istio.enabled and the unrelated GitLab example requiring external services.
  • Sources: bundled Flux CRD and bootstrap HelmRelease.

docs/community/development/package-integration/flux.md — issue #3501 (closed) item 4

Validation: both example HelmReleases validated against the bundled v2 CRD schema; integration templates rendered with shared helpers; umbrella environment values rendered with ordinary schema validation; asserted the three valuesFrom keys and generated common configuration. Monitoring values unit suite passed 13 tests; both bootstrap Kustomize overlays rendered; git diff --check passed. Runtime integration and documentation link CI remain pending.

docs/configuration/network-policies.md — issue #3501 (closed) item 5

  • Explain that shared policy defaults are enabled by the global flag OR effective ambient mode, while package overrides remain possible. Replace the invalid indentation and unscoped fragments with a complete packages.monitoring.values.bb-common.networkPolicies.additionalPolicies example selecting Prometheus and allowing TCP 443 to a documentation CIDR. Explain selector verification, additive policies, list replacement, and ambient authorization/egress requirements.
  • Sources: networkPoliciesEnabled and ambientEnabled helpers, monitoring integration, and Kubernetes NetworkPolicies.
  • Validation: parsed YAML, rendered umbrella and pinned monitoring 92.13.1-bb.0 with ordinary schema validation, and asserted policy selector, CIDR, port and namespace. Confirmed policy generation with ambient/global false, sidecar/global true, and absence with sidecar/global false. Monitoring values unit suite passed 13 tests, values-overlay Bats suite passed 2 tests, and git diff --check passed. Runtime enforcement and documentation link CI remain pending.

docs/community/development/dev-oci-workflow.md — issue #3501 (closed) item 6

  • Extract the public gateway certificate and key from the current packages.istioGateway.values.gateways.public.gatewayCerts path. Use the Iron Bank registry-v2 image, run it with local ownership for writable storage and readable TLS files, and preserve the self-hosted and Registry1 staging workflows.
  • Correct both helmRepositories examples and set packages.anchoreEnterprise.sourceType: helmRepo with chart anchore-enterprise; document the Registry1 Secret and Anchore license prerequisites and the list replacement behavior. Update Harbor support status.
  • Sources: ingress certificate values, package defaults, HelmRepository template, Iron Bank registry image manifest.
  • Validation: parsed both YAML examples and rendered with ordinary umbrella schema validation; asserted OCI URLs, source kind, chart name/version, and staging Secret reference. Verified the extracted certificate and key match, the wildcard covers the registry hostname, and yq expressions select the expected values; shell snippets passed bash -n. Confirmed the Iron Bank image tag resolves in Registry1. Helm repository schema tests passed (2 tests); git diff --check passed. Registry hosting, pushes and Flux reconciliation were not performed; documentation link CI remains pending.

docs/operations/maintenance/renovate.md — issue #3501 (closed) item 7

  • Limit changes to compatibility corrections: nest deployment settings under packages.renovate.values.upstream, use the pinned package version, and remove redundant bb-common mesh overrides containing the removed Istio expression. Preserve the existing inline-token configuration, CronJob options and regex manager examples.
  • Correct the claim that Kubernetes CronJob schedules accept prose and distinguish the application schedule from job execution. Update example paths to the customer template gitRepo layout and the package example to the 4.0 packages root.
  • Sources: Renovate pin, pinned Renovate values, upstream chart values, customer template configuration.
  • Validation: parsed YAML and JSON; re-rendered both deployment examples through the pinned Renovate chart in ambient and sidecar modes, asserting CronJob schedule and generated config Secret contents. Checked regex matches against the customer Git pin and package fixture. The focused Helm unit suite passed 7 tests; git diff --check passed. Runtime integration and documentation link CI remain pending.

Active umbrella examples — issue #3501 (closed) item 8

Move current umbrella examples under packages.<name> and correct the inner package paths where required. Most changed lines are YAML indentation. GitLab, GitOps workflow and Renovate entries from the item 8 inventory were addressed in items 2, 4 and 7 above.

Per-document changes and evidence

Document Correction and supporting source
docs/configuration/gateways.md Nest gateway, certificate, policy and post-renderer examples under packages.istioGateway. Replace literal unevaluated host templates with an example domain. Apply the per-gateway override to the existing public gateway instead of creating an incomplete gateway. Umbrella gateway helpers and pinned chart.
docs/configuration/ambient.md Use packages.istioCNI.values.upstream.cniBinDir and cniConfDir, not values.cni; update commented package roots. Pinned CNI chart.
docs/configuration/ambient-egress-gateway.md Nest waypoint sizing under packages.istioEgressGateway, and package routing under values.bb-common.routes; distinguish package chart values from umbrella values. Pinned egress chart and bb-common routes.
docs/installation/environments/airgap-hauler.md Move registry allowlists and OCI source selections under packages; retain admission-rewrite, credential and bootstrap instructions. Kyverno overlay merging.
docs/installation/environments/airgap-registry-migration.md Replace addons.harbor with packages.harbor and nest the Kyverno allowlist. Harbor metadata/defaults and the Kyverno overlay helper above.
docs/migration/migrating-istio-to-ambient.md Use packages.neuvector.values.bb-common.istio for the temporary PERMISSIVE and allow-all bridge. Preserve the mixed-mode scope and mandatory cleanup instructions. Pinned NeuVector chart.
docs/concepts/values-guide.md Correct generic package paths and demonstrate Kiali server replicas via packages.kiali.values.upstream.cr.spec.deployment.replicas, replacing obsolete replicaCount. Pinned Kiali chart.
docs/tutorials/signed-helm-repositories.md Nest built-ins under packages, use an object for cosignPublicKeys, and select a repository with a configured verification key. Schema and verification key templates.
docs/packages/core/fluentbit.md Move workload overrides under packages.fluentbit.values.upstream; replace the unused storage_buffer key with config.service storage configuration aligned with volume mounts. Preserve the full service block because this string replaces the existing configuration. Pinned Fluent Bit values.
docs/packages/core/gateway-api.md Use packages.gatewayAPI.enabled. Umbrella metadata.
docs/packages/core/istio-egress-gateway.md Use packages.istioEgressGateway for enablement and waypoint configuration. Pinned egress chart.
docs/packages/core/loki.md Use packages.loki, retain direct workload values because this chart is not an upstream wrapper, select scalable mode for the HPA example, and satisfy the backend minimum of two replicas. Pinned Loki values and validation.
docs/packages/core/neuvector.md Use packages.neuvector.values.upstream, including controller.replicas, cve.scanner.replicas, and enforcer tolerations. Pinned NeuVector values.
docs/packages/core/tempo.md Use packages.tempo and case-sensitive objectStorage; provide explicit example object-store inputs so the example selects S3 instead of leaving the local storage default active. Umbrella Tempo mapping and Secret.
docs/packages/core/twistlock.md Use packages.monitoring.enabled and packages.istiod.enabled in umbrella examples. Twistlock mapping.
docs/packages/core/ztunnel.md Use packages.ztunnel, retaining the existing values.upstream.env mapping. Pinned ztunnel chart.
docs/packages/addons/minio.md Enable Monitoring through packages.monitoring.enabled; remove the unsupported namespace override. MinIO monitoring mapping.

Validation

  • Parsed 47 changed YAML blocks. In each mode run, 43 umbrella renders and 64 pinned package-chart renders passed ordinary schema validation. Overlay-only examples were enabled for verification; generic gateway placeholders were substituted with the existing public gateway. Istio and Monitoring API capabilities were supplied for charts that gate CR rendering on installed APIs.
  • Checked gateway hosts, post-renderer placement, policy overrides and disabled-gateway behavior; CNI host paths; egress waypoint configuration; Kiali server replicas; Fluent Bit host mounts, config and security context; Loki replicas/HPAs; NeuVector controller/scanner replicas and tolerations; Tempo S3 config/Secret; ztunnel environment; MinIO metrics annotations and Twistlock ServiceMonitor; air-gap OCI source references and registry allowlists; and existence of referenced Cosign verification Secrets.
  • Verified the NeuVector migration bridge renders PERMISSIVE mTLS plus its custom policy, and removing it restores STRICT mode and removes that policy. Sidecar checks were run where supported; explicitly ambient examples retained their required ambient mode.
  • Focused Helm tests: 61 passed, 1 failed. The Tempo test nests networking and routes and excludes library-only keys expects bb-common.istio.sidecar.enabled: true but gets false. Reproduced the identical failure against a clean archive of the unmodified branch HEAD before item 8; chart code and tests are unchanged by this documentation commit.
  • Values-overlay Bats tests: 2 passed. git diff --check passed.
  • Runtime traffic, air-gap bootstrap, signed artifact verification, storage connectivity and documentation link CI remain pending.

Package-development architecture — issue #3501 (closed) item 9

  • docs/community/development/develop-package.md: replace the kpt fork and copied VirtualService/NetworkPolicy instructions with unmodified upstream dependencies and bb-common subchart integration. Link the maintained end-to-end guide, retain the operational sections, correct dependency-update location, and align the illustrative chart tree.
  • docs/packages/package-development/index.md: use apiVersion: v2 for chart metadata, remove the obsolete engine field, and align the kpt conversion instructions with bb-common-owned policies/routes.
  • docs/community/development/package-integration/upstream.md: correct both dependency-bearing Chart.yaml examples to v2 and clarify that the upstream dependency belongs to the package wrapper. Link bb-common integration and correct the older Podinfo Iron Bank image path.
  • Sources: ADR 12, ADR 14, and bb-common integration.
  • Validation: all five Chart.yaml examples passed Helm lint in temporary charts with real dependencies; instructional version placeholders were filled, and the generic upstream dependency was substituted with Podinfo for metadata validation. Parsed YAML and image annotations; verified new local links/anchors and Registry1 resolution of Podinfo 6.9.0. git diff --check passed. This validates chart metadata, not the full development workflow; documentation link CI remains pending.

docs/packages/addons/authservice.md — issue #3501 (closed) item 10

  • Label the existing injection and protect=keycloak procedure as sidecar enrollment. Add ambient guidance using per-route authservice configuration, a Service enrollment fragment, and version-pinned links to the concrete bb-common route and Service enrollment examples. Explain effective waypoint names, ambient namespace enrollment, ingress enrollment, mesh provider and network-policy prerequisites, and retain shared chain configuration.
  • Sources: bb-common 1.6.1 routes, Service enrollment, and Authservice umbrella ingress wiring.
  • Validation: parsed the Service fragment and verified linked sections exist. Rendered the linked route example against bb-common 1.6.1 in sidecar and ambient modes, asserting selector versus Service targetRefs, waypoint name/class and authservice egress policy. Authservice and Monitoring focused suites passed 27 tests; git diff --check passed. Live OIDC login, traffic enforcement and documentation link CI remain pending.

Kiali configuration and Grafana credentials — issue #3501 (closed) item 11

  • docs/packages/core/kiali.md: move custom-resource overrides under packages.kiali.values.upstream.cr, direct credentials to packages.grafana.values.upstream, separate inline and existing Secret methods, explain source/copy namespaces and secret:grafana-auth:password, and remove generated HPA defaults for fixed replicas.
  • Functional template fixes and the four regression tests have been split into !8562 (merged), targeting master. This MR now has documentation-only changes relative to its target branch. Merge the bug fix before relying on the corrected custom-credential examples.
  • Sources: pinned Kiali chart, pinned Grafana values, and Kiali CR example.
  • Validation: the eight examples were rendered with the functional fix now in !8562 (merged) through the umbrella and pinned Kiali/Grafana charts in ambient and sidecar modes, asserting credentials, Secret references, replicas/HPA and authentication settings. Existing Secret lookup behavior is covered by the mocked-Secret tests in !8562 (merged). Live authentication, rotation and documentation link CI remain pending.

Direct-master rebase

  • Rebased the documentation commits directly onto master at f9219960 and retargeted this MR to master. Reconciled overlapping 4.0 corrections already on master, including current authorization-policy configuration and migration cleanup guidance.
  • The reviewed Kiali documentation is byte-for-byte unchanged. Its rewritten commit contains only docs/packages/core/kiali.md; the functional fix and reversal no longer appear in this branch history. The functional bug fix remains in !8562 (merged).
  • docs/configuration/base-config.md: regenerated from the current master chart values with scripts/generate-values-reference.sh --write because the existing reference was stale. This updates two generated table rows, and the generator --check now passes.
  • Rebase validation: documentation-only diff and history verified; 65 changed YAML examples parsed and 53 applicable umbrella examples rendered with the separate Kiali fix. Generated package metadata checks and the pre-push Bats suite passed (230 passed, one optional pinned-chart test skipped). git diff --check passed.

The rewritten branch passed documentation pipeline 5842323: docs check, link check and secret scan all succeeded for e80e6605.

Default logging descriptions — issue #3501 (closed) item 12

  • docs/concepts/logging.md: make the maintained ALG/EFK guide explicit about the defaults: Alloy log collection, Loki and Grafana enabled; Fluent Bit and Elasticsearch/Kibana optional and disabled.
  • docs/packages/core/monitoring.md: refer to that shared guide instead of repeating the default-stack claim.
  • docs/packages/core/istio.md: replace the old collector/backend claim with the shared guide link and update the logging diagram to Alloy → Loki.
  • docs/packages/addons/authservice.md: update the same claim and logging diagram.
  • docs/packages/addons/vault.md: update the same claim and logging diagram, retaining Vault-specific log settings.
  • docs/packages/addons/anchore.md: update the same claim and logging diagram, retaining application log-level guidance.
  • docs/packages/addons/external-secrets-operator.md: replace the old default-stack claim with the shared guide link.
  • docs/packages/addons/argocd.md: remove the incorrect ECK-default description and link to the shared guide; its existing Alloy/Loki diagram is already correct.
  • docs/packages/addons/minio.md: correct the same stale default claim found during review and retain namespace-filtering guidance.
  • Sources: current umbrella defaults, Alloy destination mapping, and the shared logging guide.
  • Validation: verified default enablement and rendered Alloy log collection and its Loki destination URL; all eight new shared-guide links resolve and all four changed Mermaid diagrams render. git diff --check passed. Documentation pipeline 5842374 passed: docs check, link check and secret scan.

Generated reference and test command — issue #3501 (closed) item 13

  • docs/community/development/helm-unittests.md: replace the zero-match helper glob with helm unittest chart -f "unittests/templates/*_test.yaml" and point its directory link at chart/unittests/templates/. The documented command executed 10 suites and 47 tests, all passing.
  • Generated reference coordination: !8503 remains open, but master already contains a reference regeneration in 1ded094f. This branch reconciled its two remaining stale rows in e80e6605e, using the generator during the direct-master rebase. No additional regeneration was needed for item 13; scripts/generate-values-reference.sh --check passes.
  • Sources: current helper suites, values-reference generator, and generation inputs.
  • Validation: ran the exact corrected command, resolved the corrected local directory link, and passed the generator and whitespace checks. Documentation pipeline 5842380 passed: docs check, link check and secret scan.
Edited by Daniel Dides

Merge request reports

Loading
Loading