v1alpha1

package
v0.0.0-...-85ffd96 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+groupName=config.kubevault.com

Index

Constants

View Source
const (
	ResourceKindVaultServerConfiguration = "VaultServerConfiguration"
)

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: config.GroupName, Version: "v1alpha1"}

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type VaultServerConfiguration

type VaultServerConfiguration struct {
	// +optional
	metav1.TypeMeta `json:",inline,omitempty"`

	// Specifies the service account name
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty"`

	// Specifies the service account name for token reviewer
	// It has system:auth-delegator permission
	// It's jwt token is used on vault kubernetes auth config
	// +optional
	TokenReviewerServiceAccountName string `json:"tokenReviewerServiceAccountName,omitempty"`

	// Specifies the vault role name for policy controller
	// It has permission to create policy in vault
	// +optional
	PolicyControllerRole string `json:"policyControllerRole,omitempty"`

	// Specifies the vault role name for auth controller
	// It has permission to enable/disable auth method in vault
	// +optional
	AuthMethodControllerRole string `json:"authMethodControllerRole,omitempty"`

	// Specifies to use pod service account for vault csi driver
	// +optional
	UsePodServiceAccountForCSIDriver bool `json:"usePodServiceAccountForCsiDriver,omitempty"`

	// Specifies the path where kubernetes auth is enabled
	// default : kubernetes
	// +optional
	AuthPath string `json:"authPath,omitempty"`
}

VaultServerConfiguration defines a Vault Server configuration.

func (*VaultServerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VaultServerConfiguration.

func (*VaultServerConfiguration) DeepCopyInto

func (in *VaultServerConfiguration) DeepCopyInto(out *VaultServerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VaultServerConfiguration) DeepCopyObject

func (in *VaultServerConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Jump to

Keyboard shortcuts

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