labels

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//ExternalDNSHostnameAnnotationKey the external-dns annotation for setting the host for record creation
	ExternalDNSHostnameAnnotationKey = "external-dns.alpha.kubernetes.io/hostname"

	//ExternalDNSTargetAnnotationKey the external-dns annotation for setting the target of the host record
	ExternalDNSTargetAnnotationKey = "external-dns.alpha.kubernetes.io/target"

	//DefaultGatewayAllowListAnnotation the default key for the label controlling external-dns mutation opt out
	DefaultGatewayAllowListAnnotation = "ingress-whitelist"

	//IssueTemporaryCertificate idicates that the cert-manager.io/issue-temporary-certificate annotation for a certificate should be set to true
	IssueTemporaryCertificate = "issue-temporary-certificate"

	//DefaultGatewayAllowListAnnotationOverrideValue the default value for the label controlling external-dns mutation opt out
	DefaultGatewayAllowListAnnotationOverrideValue = "*"

	//HTTP01
	HTTP01 = "http01"
)

Variables

View Source
var (
	InjectSimpleCredentialNameLabel     = fmt.Sprintf("%s/%s", version.String(), "istio-cert-controller-inject-simple-credential-name")
	IssuerAnnotation                    = fmt.Sprintf("%s/%s", version.String(), "istio-cert-controller-issuer")
	ManagedLabel                        = fmt.Sprintf("%s/%s", version.String(), "istio-cert-controller-managed")
	IssueTemporaryCertificateAnnotation = fmt.Sprintf("%s/%s", version.String(), IssueTemporaryCertificate)
	HTTPSolverAnnotation                = fmt.Sprintf("%s/%s", version.String(), HTTP01)
)

Functions

func InjectSimpleCredentialNameLabelSelector

func InjectSimpleCredentialNameLabelSelector() string

func ManagedLabelSelector

func ManagedLabelSelector() string

func ParseManagedLabel

func ParseManagedLabel(in string) (gateway string, namespace string)

Types

type Label

type Label string

Jump to

Keyboard shortcuts

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