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 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 ¶
func (in *VaultServerConfiguration) DeepCopy() *VaultServerConfiguration
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.
Click to show internal directories.
Click to hide internal directories.