importer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AnnotationKeyServiceAccountImportName = "multicluster.admiralty.io/service-account-import.name"

Functions

func Add

Add creates a service account import controller and adds it to a manager (mgr). It is implemented by the service-account-import-controller command, via controller-runtime. The src argument is a map of client-go rest.Configs and namespaces by service account import name or kubeconfig context. The controller watches service account imports in the manager's cluster, and ensures secrets exist for each of them, created from the corresponding remote service account secrets data and cluster URL, fetched with the source client whose name matches the service account import clusterName spec field. TODO... import into multiple clusters with multicluster-controller

func MakeServiceAccountImportSecret added in v0.4.0

func MakeServiceAccountImportSecret(sai *v1alpha1.ServiceAccountImport, server string, saSecret *corev1.Secret, scheme *runtime.Scheme) *corev1.Secret

Types

This section is empty.

Jump to

Keyboard shortcuts

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