postrender

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command postrender is a deterministic post-renderer for the integration tests.

helmtide's post_renderer is an external command: helm hands it the rendered manifests on stdin and reads the transformed manifests back on stdout. This one stamps every resource it is given with two annotations:

helmtide.io/postrendered:    "true"
helmtide.io/postrender-batch: "<number of docs in this invocation>"

The batch size is what makes the post_render_strategy observable end to end:

  • nohooks: hooks never reach the post-renderer, so a hook resource carries no annotation at all, while the one ordinary manifest is stamped batch=1.
  • combined: hooks and manifests arrive together in a single invocation, so both are stamped with the same batch size (2 for the hooked chart).
  • separate: the post-renderer is run once per group, so each resource is stamped batch=1 but the hook is still stamped (unlike nohooks).

It intentionally has no third-party dependencies beyond gopkg.in/yaml.v3, which the module already vendors, so the tests can `go build` it anywhere.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL