spc

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// IngressServiceAccountTLSAnnotation is the annotation used to specify the TLS workload identity sa
	IngressServiceAccountTLSAnnotation = util.ServiceAccountTLSOption
)

Variables

View Source
var NicDefaultSecretName = nicDefaultCertName

NicDefaultSecretName returns the default secret name for the NginxIngressController.

Functions

func GetGatewayListenerSpcName

func GetGatewayListenerSpcName(gwName, listenerName string) string

GetGatewayListenerSpcName returns a name for the SecretProviderClass that is unique to the Gateway and Listener

func IsManagedGateway

func IsManagedGateway(gw *gatewayv1.Gateway) bool

IsManagedGateway checks if the given Gateway uses a managed GatewayClass

func ListenerIsKvEnabled

func ListenerIsKvEnabled(listener gatewayv1.Listener) bool

ListenerIsKvEnabled checks if the listener is configured to use KeyVault for TLS certificates

func NewGatewaySecretClassProviderReconciler

func NewGatewaySecretClassProviderReconciler(manager ctrl.Manager, conf *config.Config, serviceAccountIndexName string) error

func NewIngressSecretProviderClassReconciler

func NewIngressSecretProviderClassReconciler(manager ctrl.Manager, conf *config.Config, ingressManager util.IngressManager) error

func NewNginxSecretProviderClassReconciler

func NewNginxSecretProviderClassReconciler(manager ctrl.Manager, conf *config.Config) error

func ServiceAccountFromListener

func ServiceAccountFromListener(listener gatewayv1.Listener) string

ServiceAccountFromListener extracts the ServiceAccount name from the TLS options of a Gateway listener

func ShouldReconcileIngress

func ShouldReconcileIngress(ingressManager util.IngressManager, ing *netv1.Ingress) (bool, error)

ShouldReconcileIngress checks if the ingress should be reconciled

func ShouldReconcileNic

func ShouldReconcileNic(nic *approutingv1alpha1.NginxIngressController) bool

ShouldReconcileNic checks if the NginxIngressController should be reconciled for KeyVault integration

Types

This section is empty.

Jump to

Keyboard shortcuts

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