controllers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationSecretMetadata    = "kubernetes.io/service-account.name" //#nosec G101
	AnnotationSecretManagedBy   = "app.kubernetes.io/managed-by"       //#nosec  G101
	AnnotationGCPServiceAccount = "giantswarm.io/gcp-service-account"

	SecretManagedBy = "workload-identity-operator-gcp" //#nosec G101

	MembershipSecretName             = "fleet-membership-operator-gcp-membership"
	DefaultMembershipSecretNamespace = "giantswarm"

	SecretNameSuffix                      = "google-application-credentials" //#nosec G101
	SecretKeyGoogleApplicationCredentials = "config"

	ServiceAccountTokenPath         = "token"
	VolumeMountWorkloadIdentityPath = "/var/run/secrets/workload-identity"
)

Variables

This section is empty.

Functions

func GetMembershipFromSecret added in v0.4.0

func GetMembershipFromSecret(ctx context.Context, c client.Client, logger logr.Logger) (types.MembershipData, error)

Types

type ServiceAccountReconciler

type ServiceAccountReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Logger logr.Logger
}

func (*ServiceAccountReconciler) Reconcile

func (*ServiceAccountReconciler) SetupWithManager

func (r *ServiceAccountReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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