v1alpha1

package
v0.5.1 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=config.kubevault.com

Index

Constants

View Source
const (
	ResourceKindVaultServerConfiguration = "VaultServerConfiguration"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
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 AWSAuthConfig

type AWSAuthConfig struct {
	// Specifies the header value that required
	// if X-Vault-AWS-IAM-Server-ID Header is set in Vault.
	// +optional
	HeaderValue string `json:"headerValue,omitempty" protobuf:"bytes,1,opt,name=headerValue"`
}

AWSAuthConfig contains necessary information for performing AWS authentication to the Vault server.

func (*AWSAuthConfig) DeepCopy

func (in *AWSAuthConfig) DeepCopy() *AWSAuthConfig

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

func (*AWSAuthConfig) DeepCopyInto

func (in *AWSAuthConfig) DeepCopyInto(out *AWSAuthConfig)

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

func (*AWSAuthConfig) Descriptor

func (*AWSAuthConfig) Descriptor() ([]byte, []int)

func (*AWSAuthConfig) Marshal

func (m *AWSAuthConfig) Marshal() (dAtA []byte, err error)

func (*AWSAuthConfig) MarshalTo

func (m *AWSAuthConfig) MarshalTo(dAtA []byte) (int, error)

func (*AWSAuthConfig) MarshalToSizedBuffer

func (m *AWSAuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AWSAuthConfig) ProtoMessage

func (*AWSAuthConfig) ProtoMessage()

func (*AWSAuthConfig) Reset

func (m *AWSAuthConfig) Reset()

func (*AWSAuthConfig) Size

func (m *AWSAuthConfig) Size() (n int)

func (*AWSAuthConfig) String

func (this *AWSAuthConfig) String() string

func (*AWSAuthConfig) Unmarshal

func (m *AWSAuthConfig) Unmarshal(dAtA []byte) error

func (*AWSAuthConfig) XXX_DiscardUnknown

func (m *AWSAuthConfig) XXX_DiscardUnknown()

func (*AWSAuthConfig) XXX_Marshal

func (m *AWSAuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AWSAuthConfig) XXX_Merge

func (m *AWSAuthConfig) XXX_Merge(src proto.Message)

func (*AWSAuthConfig) XXX_Size

func (m *AWSAuthConfig) XXX_Size() int

func (*AWSAuthConfig) XXX_Unmarshal

func (m *AWSAuthConfig) XXX_Unmarshal(b []byte) error

type AzureAuthConfig

type AzureAuthConfig struct {
	// Specifies the subscription ID for the machine
	// that generated the MSI token.
	// +optional
	SubscriptionID string `json:"subscriptionID,omitempty" protobuf:"bytes,1,opt,name=subscriptionID"`

	// Specifies the resource group for the machine
	// that generated the MSI token.
	// +optional
	ResourceGroupName string `json:"resourceGroupName,omitempty" protobuf:"bytes,2,opt,name=resourceGroupName"`

	// Specifies the virtual machine name for the machine
	// that generated the MSI token. If VmssName is provided,
	// this value is ignored.
	// +optional
	VmName string `json:"vmName,omitempty" protobuf:"bytes,3,opt,name=vmName"`

	// Specifies the virtual machine scale set name
	// for the machine that generated the MSI token.
	// +optional
	VmssName string `json:"vmssName,omitempty" protobuf:"bytes,4,opt,name=vmssName"`
}

AzureAuthConfig contains necessary information for performing Azure authentication to the Vault server.

func (*AzureAuthConfig) DeepCopy

func (in *AzureAuthConfig) DeepCopy() *AzureAuthConfig

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

func (*AzureAuthConfig) DeepCopyInto

func (in *AzureAuthConfig) DeepCopyInto(out *AzureAuthConfig)

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

func (*AzureAuthConfig) Descriptor

func (*AzureAuthConfig) Descriptor() ([]byte, []int)

func (*AzureAuthConfig) Marshal

func (m *AzureAuthConfig) Marshal() (dAtA []byte, err error)

func (*AzureAuthConfig) MarshalTo

func (m *AzureAuthConfig) MarshalTo(dAtA []byte) (int, error)

func (*AzureAuthConfig) MarshalToSizedBuffer

func (m *AzureAuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AzureAuthConfig) ProtoMessage

func (*AzureAuthConfig) ProtoMessage()

func (*AzureAuthConfig) Reset

func (m *AzureAuthConfig) Reset()

func (*AzureAuthConfig) Size

func (m *AzureAuthConfig) Size() (n int)

func (*AzureAuthConfig) String

func (this *AzureAuthConfig) String() string

func (*AzureAuthConfig) Unmarshal

func (m *AzureAuthConfig) Unmarshal(dAtA []byte) error

func (*AzureAuthConfig) XXX_DiscardUnknown

func (m *AzureAuthConfig) XXX_DiscardUnknown()

func (*AzureAuthConfig) XXX_Marshal

func (m *AzureAuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AzureAuthConfig) XXX_Merge

func (m *AzureAuthConfig) XXX_Merge(src proto.Message)

func (*AzureAuthConfig) XXX_Size

func (m *AzureAuthConfig) XXX_Size() int

func (*AzureAuthConfig) XXX_Unmarshal

func (m *AzureAuthConfig) XXX_Unmarshal(b []byte) error

type KubernetesAuthConfig

type KubernetesAuthConfig struct {
	// Specifies the service account name
	ServiceAccountName string `json:"serviceAccountName" protobuf:"bytes,1,opt,name=serviceAccountName"`

	// 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" protobuf:"bytes,2,opt,name=tokenReviewerServiceAccountName"`

	// Specifies to use pod service account for vault csi driver
	// +optional
	UsePodServiceAccountForCSIDriver bool `json:"usePodServiceAccountForCSIDriver,omitempty" protobuf:"varint,3,opt,name=usePodServiceAccountForCSIDriver"`
}

KubernetesAuthConfiguration contains necessary information for performing Kubernetes authentication to the Vault server.

func (*KubernetesAuthConfig) DeepCopy

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

func (*KubernetesAuthConfig) DeepCopyInto

func (in *KubernetesAuthConfig) DeepCopyInto(out *KubernetesAuthConfig)

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

func (*KubernetesAuthConfig) Descriptor

func (*KubernetesAuthConfig) Descriptor() ([]byte, []int)

func (*KubernetesAuthConfig) Marshal

func (m *KubernetesAuthConfig) Marshal() (dAtA []byte, err error)

func (*KubernetesAuthConfig) MarshalTo

func (m *KubernetesAuthConfig) MarshalTo(dAtA []byte) (int, error)

func (*KubernetesAuthConfig) MarshalToSizedBuffer

func (m *KubernetesAuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KubernetesAuthConfig) ProtoMessage

func (*KubernetesAuthConfig) ProtoMessage()

func (*KubernetesAuthConfig) Reset

func (m *KubernetesAuthConfig) Reset()

func (*KubernetesAuthConfig) Size

func (m *KubernetesAuthConfig) Size() (n int)

func (*KubernetesAuthConfig) String

func (this *KubernetesAuthConfig) String() string

func (*KubernetesAuthConfig) Unmarshal

func (m *KubernetesAuthConfig) Unmarshal(dAtA []byte) error

func (*KubernetesAuthConfig) XXX_DiscardUnknown

func (m *KubernetesAuthConfig) XXX_DiscardUnknown()

func (*KubernetesAuthConfig) XXX_Marshal

func (m *KubernetesAuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubernetesAuthConfig) XXX_Merge

func (m *KubernetesAuthConfig) XXX_Merge(src proto.Message)

func (*KubernetesAuthConfig) XXX_Size

func (m *KubernetesAuthConfig) XXX_Size() int

func (*KubernetesAuthConfig) XXX_Unmarshal

func (m *KubernetesAuthConfig) XXX_Unmarshal(b []byte) error

type VaultServerConfiguration

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

	// Specifies the path which is used for authentication by this AppBinding.
	// If vault server is provisioned by KubeVault, this is usually `kubernetes`.
	// +optional
	Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`

	// Specifies the vault role name for policy controller
	// It has permission to create policy in vault
	// +optional
	VaultRole string `json:"vaultRole,omitempty" protobuf:"bytes,2,opt,name=vaultRole"`

	// Specifies the Kubernetes authentication information
	// +optional
	Kubernetes *KubernetesAuthConfig `json:"kubernetes,omitempty" protobuf:"bytes,3,opt,name=kubernetes"`

	// Specifies the Azure authentication information
	// +optional
	Azure *AzureAuthConfig `json:"azure,omitempty" protobuf:"bytes,4,opt,name=azure"`

	// Specifies the AWS authentication information
	// +optional
	AWS *AWSAuthConfig `json:"aws,omitempty" protobuf:"bytes,5,opt,name=aws"`
}

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.

func (*VaultServerConfiguration) Descriptor

func (*VaultServerConfiguration) Descriptor() ([]byte, []int)

func (*VaultServerConfiguration) Marshal

func (m *VaultServerConfiguration) Marshal() (dAtA []byte, err error)

func (*VaultServerConfiguration) MarshalTo

func (m *VaultServerConfiguration) MarshalTo(dAtA []byte) (int, error)

func (*VaultServerConfiguration) MarshalToSizedBuffer

func (m *VaultServerConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VaultServerConfiguration) ProtoMessage

func (*VaultServerConfiguration) ProtoMessage()

func (*VaultServerConfiguration) Reset

func (m *VaultServerConfiguration) Reset()

func (*VaultServerConfiguration) Size

func (m *VaultServerConfiguration) Size() (n int)

func (*VaultServerConfiguration) String

func (this *VaultServerConfiguration) String() string

func (*VaultServerConfiguration) Unmarshal

func (m *VaultServerConfiguration) Unmarshal(dAtA []byte) error

func (*VaultServerConfiguration) XXX_DiscardUnknown

func (m *VaultServerConfiguration) XXX_DiscardUnknown()

func (*VaultServerConfiguration) XXX_Marshal

func (m *VaultServerConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VaultServerConfiguration) XXX_Merge

func (m *VaultServerConfiguration) XXX_Merge(src proto.Message)

func (*VaultServerConfiguration) XXX_Size

func (m *VaultServerConfiguration) XXX_Size() int

func (*VaultServerConfiguration) XXX_Unmarshal

func (m *VaultServerConfiguration) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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