Help us shape the future of Go! Take the 2026 Go Developer Survey

dcspki

package
v0.4.26 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Files

type Files struct {
	CA         string
	CAKey      string
	ServerCert string
	ServerKey  string
	ClientCert string
	ClientKey  string
}

func Ensure

func Ensure(dir string, serverNames []string) (Files, error)

Ensure creates and maintains the BaseHarbor-owned etcd PKI. Leaf certificates are rotated under the existing CA before expiry. CA rotation is deliberately fail-closed because changing etcd trust roots requires a fenced cluster migration and must never happen as a side effect of ordinary reconciliation.

Jump to

Keyboard shortcuts

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