chartvalues

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 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

Package chartvalues holds the Go types of the preview-apps chart's values, from which cmd/schemagen generates charts/preview-apps/values.schema.json.

Index

Constants

View Source
const NamespacePattern = `^[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?$`

NamespacePattern matches a Kubernetes namespace name (an RFC 1123 label).

Variables

This section is empty.

Functions

This section is empty.

Types

type Values

type Values struct {
	preview.PreviewValues `yaml:",inline"`

	ArgocdNamespace string `yaml:"argocdNamespace"`
}

Values is the input of the preview-apps chart: a preview values file and the ApplicationSet's argocdNamespace. No other root key is allowed.

func (Values) JSONSchemaExtend

func (Values) JSONSchemaExtend(s *jsonschema.Schema)

JSONSchemaExtend applies the preview values file's root constraints (preview.PreviewValues.JSONSchemaExtend), requires argocdNamespace (a null argocdNamespace in a values file removes the chart default before validation, so it must fail as missing) and makes it a namespace name.

Jump to

Keyboard shortcuts

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