certs

package
v0.8.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package certs sets up the serving cert of the vela-workflow admission webhooks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ensure

func Ensure(ctx context.Context, c client.Client, opts Options) (*servingcert.Result, error)

Ensure keeps the serving cert Secret and webhook configuration in sync.

func WriteFiles

func WriteFiles(dir string, res *servingcert.Result) (bool, error)

WriteFiles writes the serving cert and key where the webhook server reads them.

Types

type Options

type Options struct {
	SecretNamespace   string
	SecretName        string
	ConfigurationName string
	FailurePolicy     admissionregistrationv1.FailurePolicyType
}

Options configures Ensure.

Jump to

Keyboard shortcuts

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