mask

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mask hides the values of Kubernetes Secrets in the objects that Timoni prints, so that rendered manifests can be shared without exposing credentials.

Index

Constants

View Source
const Value = "***"

Value replaces the values of the Secret data and stringData entries.

Variables

This section is empty.

Functions

func SecretData

SecretData returns a copy of the object with every entry under the Secret data and stringData fields replaced by the mask, along with the kubectl last-applied-configuration annotation. A data or stringData field that is not a map is replaced by the mask as a whole. Objects that are not Secrets are returned unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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