v1alpha1

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	VaultPrefix string = "vault+kvv2:///" // This is the prefix to identify secrets referenced directly from vault/openBao.
)

Variables

This section is empty.

Functions

func DefaultCluster

func DefaultCluster(ctx context.Context, _ client.Client, cluster *greenhousev1alpha1.Cluster) error

func DefaultClusterPluginDefinition added in v0.10.0

func DefaultClusterPluginDefinition(_ context.Context, _ client.Client, _ *greenhousev1alpha1.ClusterPluginDefinition) error

func DefaultPlugin

func DefaultPlugin(ctx context.Context, c client.Client, plugin *greenhousev1alpha1.Plugin) error

func DefaultPluginPreset

func DefaultPluginPreset(ctx context.Context, c client.Client, pluginPreset *greenhousev1alpha1.PluginPreset) error

func DefaultSecret

func DefaultSecret(_ context.Context, _ client.Client, _ *corev1.Secret) error

func SetupClusterPluginDefinitionWebhookWithManager

func SetupClusterPluginDefinitionWebhookWithManager(mgr ctrl.Manager) error

func SetupClusterWebhookWithManager

func SetupClusterWebhookWithManager(mgr ctrl.Manager) error

func SetupOrganizationWebhookWithManager

func SetupOrganizationWebhookWithManager(mgr ctrl.Manager) error

func SetupPluginDefinitionWebhookWithManager

func SetupPluginDefinitionWebhookWithManager(mgr ctrl.Manager) error

func SetupPluginPresetWebhookWithManager

func SetupPluginPresetWebhookWithManager(mgr ctrl.Manager) error

func SetupPluginWebhookWithManager

func SetupPluginWebhookWithManager(mgr ctrl.Manager) error

SetupPluginWebhookWithManager configures the webhook for the Plugin custom resource.

func SetupSecretWebhookWithManager

func SetupSecretWebhookWithManager(mgr ctrl.Manager) error

func SetupTeamRoleWebhookWithManager

func SetupTeamRoleWebhookWithManager(mgr ctrl.Manager) error

func SetupTeamWebhookWithManager

func SetupTeamWebhookWithManager(mgr ctrl.Manager) error

func ValidateCreateCluster

func ValidateCreateCluster(ctx context.Context, c client.Client, cluster *greenhousev1alpha1.Cluster) (admission.Warnings, error)

ValidateCreateCluster disallows creating clusters with deletionMarked or deletionSchedule annotations

func ValidateCreatePlugin

func ValidateCreatePlugin(ctx context.Context, c client.Client, plugin *greenhousev1alpha1.Plugin) (admission.Warnings, error)

func ValidateCreatePluginPreset

func ValidateCreatePluginPreset(ctx context.Context, c client.Client, pluginPreset *greenhousev1alpha1.PluginPreset) (admission.Warnings, error)

func ValidateCreateSecret

func ValidateCreateSecret(ctx context.Context, c client.Client, secret *corev1.Secret) (admission.Warnings, error)

func ValidateDeleteCluster

func ValidateDeleteCluster(ctx context.Context, _ client.Client, cluster *greenhousev1alpha1.Cluster) (admission.Warnings, error)

ValidateDeleteCluster only allows deletion requests for clusters with a deletion schedule timestamp past now.

func ValidateDeletePluginPreset

func ValidateDeletePluginPreset(_ context.Context, _ client.Client, pluginPreset *greenhousev1alpha1.PluginPreset) (admission.Warnings, error)

func ValidateDeleteSecret

func ValidateDeleteSecret(_ context.Context, _ client.Client, _ *corev1.Secret) (admission.Warnings, error)

func ValidateUpdateCluster

func ValidateUpdateCluster(ctx context.Context, c client.Client, _, cluster *greenhousev1alpha1.Cluster) (admission.Warnings, error)

ValidateUpdateCluster disallows cluster updates with invalid deletion schedules

func ValidateUpdatePlugin

func ValidateUpdatePlugin(ctx context.Context, c client.Client, oldPlugin, plugin *greenhousev1alpha1.Plugin) (admission.Warnings, error)

func ValidateUpdatePluginPreset

func ValidateUpdatePluginPreset(ctx context.Context, c client.Client, oldPluginPreset, pluginPreset *greenhousev1alpha1.PluginPreset) (admission.Warnings, error)

func ValidateUpdateSecret

func ValidateUpdateSecret(ctx context.Context, c client.Client, _, secret *corev1.Secret) (admission.Warnings, error)

func ValidateUpdateTeam

func ValidateUpdateTeam(ctx context.Context, c client.Client, _, team *greenhousev1alpha1.Team) (admission.Warnings, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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