Lightbits CSI Plugin Guide
Lightbits VCP Plugin Guide
Lightbits vCenter Configuration Guide
Lightbits OpenStack Driver Support
Lightbits Cluster Federation
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Secret and StorageClass Chart
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
This chart will install the following resources:
A
Secretcontaining the Lightbits JWT.A
StorageClassreferencing the secret and configured with all values needed to provision volumes on Lightbits.
Deploying the Secret And StorageClasses Workload
helm install \
--set storageclass.enabled=true \
--set global.storageClass.mgmtEndpoints="$MGMT_EP" \
--set global.jwtSecret.jwt="$LIGHTOS_JWT" \
lb-csi-workload-examples-sc \
lightbits-helm-repo/lb-csi-workload-examples
Will output:
NAME: lb-csi-workload-examples-sc
LAST DEPLOYED: Sun Feb 21 16:12:56 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
Provided is an example Secret created by helm:
# Source: lb-csi-workload-examples/templates/secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: example-secret
namespace: default
type: lightbitslabs.com/jwt
data:
jwt: |-
ZXlKaGJHY2lPaUpTVXpJMU5pSXNJbXRwWkNJNkluTjVjM1JsYlRweWIyOTBJaXdpZEhsd0lqb2lT
bGRVSW4wLmV5SmhkV1FpT2lKTWFXZG9kRTlUSWl3aVpYaHdJam94TmpRMU5UQTNOemcyTENKcFlY
UWlPakUyTVRNNU56RTNPRFlzSW1semN5STZJbk41YzNSbGMzUnpJaXdpYW5ScElqb2lhWFJ5UjNN
Mk1sTk1hMmxhY2xKdlNuWjNXazFhZHlJc0ltNWlaaUk2TVRZeE16azNNVGM0Tml3aWNtOXNaWE1p
T2xzaWMzbHpkR1Z0T21Oc2RYTjBaWEl0WVdSdGFXNGlYU3dpYzNWaUlqb2liR2xuYUhSdmN5MWpi
R2xsYm5RaWZRLlc5QXMwdTJQZnFudTIzZ3U0YXFYcTBKMXZETUJ6bkVfT3dkZkxGeEgzMUdZZVAx
WHFqbUNLUWlZS3pJcXlmcTgweTdCZC02azZvZlVXbzlRZ0FDb1J6LUhRWTJjc1pYdHVHTGRpRzN3
YUF3aEs3QjRIQnhROFAzSnpSeno4TzJLOVg1Z3dRY19xYnpjYTBNaUlrWTZVVjVTOWNEMTROTHNQ
RExwUjdvOFRMbFozbm9kSDZiRlNNVjlPeF9GRXBvTGVidzRWLUlvaURiTV9NdTFDSzZCOUJGeFpN
RTV6NmJIMXlkSDZFWnRuUFlRaUVrRVdlUzFHMUJSTVNfR0hGN3Nja2NYU0c3Q1pkSFFqOHY1b0Y1
YS1USHNVdXR0dmFIc1hUS3FzREFkOHRvbEphZUNUN0NWRFFHX0xUQ1hYZ3dudUI3c0ZRaHJHbHhR
Mkw3V3BlNzczdw==
Note
The chart will validate that the required fields are provided. If they are not provided, an error will be presented.
For example, if global.jwtSecret.jwt is not provided, you will get the following error:
Error: execution error at (lb-csi-workload-examples/charts/storageclass/templates/secret.yaml:1:85): global.jwtSecret.jwt field is required
Verifying the Secret And StorageClasses Workload
Verify that all resources were created:
kubectl get sc,secret
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
storageclass.storage.k8s.io/example-sc csi.lightbitslabs.com Delete Immediate true 5m27s
NAME TYPE DATA AGE
secret/example-secret lightbitslabs.com/jwt 1 5m27s
Uninstalling the Secret And StorageClasses Workload
Once done with deployment examples, you can delete storageclass resources.
helm uninstall lb-csi-workload-examples-sc
release "lb-csi-workload-examples-sc" uninstalled
Last updated on
Was this page helpful?
Next to read:
Deploying Block PVC and POD© 2026 Lightbits Labs™
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message