podidentity

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 18 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 podidentity requests certificates from substrate's podidentity signer for processes that do not run in a pod.

Index

Constants

View Source
const SignerName = "podidentity.podcert.ate.dev/identity"

SignerName is the podidentity signer, which issues the SPIFFE certificates the ingress router verifies.

Variables

This section is empty.

Functions

func RequestCertificate

func RequestCertificate(ctx context.Context, clientset kubernetes.Interface, requester, namespace, serviceAccount string, timeout time.Duration) (tls.Certificate, error)

RequestCertificate creates a PodCertificateRequest for serviceAccount in namespace, waits for the podidentity signer to issue it, and deletes it again. The key never leaves this process.

The pod, ServiceAccount and node the request names do not exist: kube-apiserver only checks them for requests a kubelet creates, and the signer takes the identity from the request. requester names the node and prefixes the request's name, so the request shows who made it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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