storageclass-accessor

by KubeSphere

Helm chartv0.1.0App v0.1.1Verified publisher

The storageclass-accessor webhook is an HTTP callback which responds to admission requests. When creating and deleting the PVC, it will take out the accessor related to this storage class, and the request will be allowed only when all accessors pass the verification. Users can create accessors and set namespaceSelector to achieve namespace-level management on the storage class which provisions PVC.

About this chart

#storageclass-accessor helm-charts

How to use

You need to add this repository to your Helm repositories:

helm repo add main https://charts.kubesphere.io/main

Quick start

Installing the Chart

To install the chart with the release name storageclass-accessor using a dedicated namespace(recommended):

helm install --create-namespace --namespace storageclass-accessor storageclass-accessor main/storageclass-accessor

Uninstalling

To uninstall/delete the stoargeclass-accessor deployment:

helm delete storageclass-accessor --namespace storageclass-accessor

Configuration

The following table lists the configurable parameters of the chart and their default values.

ParameterDescriptionDefault
image.repositoryImage repository of accessor deploymentkubesphere/storageclass-accessor
webhook.timeoutSecondsThe maximum number of seconds used by the webhook to verify5

Deploy storageclass-accessor with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has storageclass-accessor on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartstorageclass-accessor is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply