ALERT-3312 - Adding volumeMounts option to postgres in values #2650
+10
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request template
Link to github issue (if applicable):
ALERT-3312
https://documentation.blackduck.com/bundle/alert/page/topics/troubleshooting/troubleshooting-issues-in-alert.html
Helm Deployment Storage Configuration Issue
"To workaround this issue you must update the postgres.yaml file under helm/blackduck-alert/templates/postgres.yaml.Update the following sections."
If nothing above, what is your reason for this pull request:
Allows to pass in config update to the postgres volumeMount using helm instead of having to patch the postgres.yaml file
Can do this update in values if require to use subPath
This makes doing this update much easier and not needing to either patch or fork your helm chart to do this update in an automated fashion
*
Changes proposed in this pull request:
deployment/helm/blackduck-alert/templates/postgres.yaml
Add range so can loop over provided volumeMounts from values, this also allows if we require multiple mounts in future
Support for with or without subPath
deployment/helm/blackduck-alert/values.yaml
Adding default behaviour of mount without subpath
*
*
*
Testing