storageclass-accessor
by KubeSphere
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.
| Parameter | Description | Default |
|---|---|---|
image.repository | Image repository of accessor deployment | kubesphere/storageclass-accessor |
webhook.timeoutSeconds | The maximum number of seconds used by the webhook to verify | 5 |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartstorageclass-accessor is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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