secretcsi

package
v0.0.0-...-00b30b3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CSIServiceAccountName     = "secerts-csi-zncdatadev"
	CSIClusterRoleName        = "secrets-csi-zncdatadev"
	CSIClusterRoleBindingName = "secrets-csi-zncdatadev"
)
View Source
const (
	VOLUMES_MOUNTPOINT_DIR_NAME   = "mountpoint-dir"
	VOLUMES_PLUGIN_DIR_NAME       = "plugin-dir"
	VOLUMES_REGISTRATION_DIR_NAME = "registration-dir"
)

Variables

View Source
var (
	ProjectRootDir = filepath.Join(
		"..",
		"..",
		"..",
	)
	CrdDirectories = filepath.Join(
		ProjectRootDir,
		"config",
		"crd",
		"bases",
	)
	LocalBin = filepath.Join(
		ProjectRootDir,
		"bin",
	)
)

Functions

This section is empty.

Types

type AutoTlsSecretClass

type AutoTlsSecretClass struct {
	// contains filtered or unexported fields
}

func NewAutoTlsSecretClass

func NewAutoTlsSecretClass(client client.Client) *AutoTlsSecretClass

func (*AutoTlsSecretClass) Reconcile

func (r *AutoTlsSecretClass) Reconcile(ctx context.Context) (ctrl.Result, error)

type CSIDriver

type CSIDriver struct {
	// contains filtered or unexported fields
}

func NewCSIDriver

func NewCSIDriver(client client.Client, cr *secretsv1alpha1.SecretCSI) *CSIDriver

func (*CSIDriver) Reconcile

func (r *CSIDriver) Reconcile(ctx context.Context) (ctrl.Result, error)

type DaemonSet

type DaemonSet struct {
	// contains filtered or unexported fields
}

func NewDaemonSet

func NewDaemonSet(client client.Client, cr *secretsv1alpha1.SecretCSI, secretCSI *secretsv1alpha1.SecretCSISpec, serviceAccount string) *DaemonSet

func (*DaemonSet) Reconcile

func (r *DaemonSet) Reconcile(ctx context.Context) (ctrl.Result, error)

func (*DaemonSet) Satisfied

func (r *DaemonSet) Satisfied(ctx context.Context) (bool, error)

type RBAC

type RBAC struct {
	// contains filtered or unexported fields
}

func NewRBAC

func NewRBAC(client client.Client, cr *secretsv1alpha1.SecretCSI) *RBAC

func (*RBAC) Reconcile

func (r *RBAC) Reconcile(ctx context.Context) (ctrl.Result, error)

type SecretCSIReconciler

type SecretCSIReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

SecretCSIReconciler reconciles a SecretCSI object

func (*SecretCSIReconciler) Reconcile

func (r *SecretCSIReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the SecretCSI object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*SecretCSIReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type StorageClass

type StorageClass struct {
	// contains filtered or unexported fields
}

func NewStorageClass

func NewStorageClass(client client.Client, cr *secretsv1alpha1.SecretCSI) *StorageClass

func (*StorageClass) Reconcile

func (r *StorageClass) Reconcile(ctx context.Context) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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