Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the option for a peristed config volume #87

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anestos
Copy link
Member

@anestos anestos commented Oct 28, 2024

No description provided.

@@ -232,6 +243,17 @@ curity:
helm upgrade <release-name> curity/idsvr -f myValues.xml
```

## Enabling the peristed configuration volume

It is possible to set the `curity.config.persistentConfigVolume.enabled` which will create a `PersistedVolumeClaim` using the defined `StorageClass`, `AccessMode` and `size`.
Copy link
Contributor

@gary-archer gary-archer Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would tidy up this comment a little:

Title has a typo:
-Enabling the persistent configuration volume

Then, use persistentVolumeClaim and lower case:

  • It is possible to set the curity.config.persistentConfigVolume.enabled which will create a PersistentVolumeClaim using the defined storageClass, accessMode and size.

@@ -0,0 +1,15 @@
{{- if and .Values.curity.config.persistentConfigVolume.enabled (not .Values.curity.config.persistentConfigVolume.existingClaim) }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the new persistentConfigVolume section is completely omitted .enabled setting is not configured in the customer's Helm chart. this seems to create a persistent volume anyway, though I don't understand why. The admin node then has problems.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The curity.config.persistendConfigVolume.enabled was true by accident so that's why. I made it default false now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants