Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhancement(helm): Volume mounts for Cerbos Cloud (#1547)
If the user is using the default settings, automatically mount `emptyDir` volumes for temp and cache directories. Also adds an example values file for connecting to Cerbos Cloud. Signed-off-by: Charith Ellawala <charith@cerbos.dev>
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Illustrates how to connect to Cerbos Cloud | ||
# Prerequisites: | ||
# - Sign-up to Cerbos Cloud and follow the instructions to create an API key | ||
# - Create a Kubernetes secret named `cerbos-cloud-credentials`: | ||
# kubectl create secret generic cerbos-cloud-credentials \ | ||
# --from-literal=CERBOS_CLOUD_CLIENT_ID=<YOUR_CLIENT_ID> \ | ||
# --from-literal=CERBOS_CLOUD_CLIENT_SECRET=<YOUR_CLIENT_SECRET> \ | ||
# --from-literal=CERBOS_CLOUD_SECRET_KEY=<YOUR_SECRET_KEY> | ||
|
||
cerbos: | ||
config: | ||
# Configure the bundle storage driver | ||
storage: | ||
driver: "bundle" | ||
bundle: | ||
remote: | ||
bundleLabel: "YOUR_LABEL" # Alternatively, add `CERBOS_CLOUD_BUNDLE=<YOUR_LABEL>` to the secret you created above. | ||
|
||
# Create environment variables from the secret. | ||
envFrom: | ||
- secretRef: | ||
name: cerbos-cloud-credentials | ||
|