Secret and StorageClass Chart

This chart will install the following resources:

  • A Secret containing the Lightbits JWT.
  • A StorageClass referencing the secret and configured with all values needed to provision volumes on Lightbits.

Deploying the Secret And StorageClasses Workload

Bash
Copy

Will output:

Bash
Copy

Provided is an example Secret created by helm:

Bash
Copy

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:

Bash
Copy

Uninstalling the Secret And StorageClasses Workload

Once done with deployment examples, you can delete storageclass resources.

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard