You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MockServer has the ability to persistently save any expectation into a file. When running MockServer on Kubernetes, since pods are ephemeral and clear any files on restart - it would be nice to define a PVC to persistently store the configuration.
What you are trying to do
Keep MockServer's expectations persisted on Kubernetes pod restart.
The solution you'd like
New value in values.yaml: app.persistentVolumeClaimName
Update templates/deployment.yaml - if variable is defined, add volume & volumeMount
Add extra template for PVC - surrounded with {{ if .Values.app.persistentVolumeClaimName }}
Describe alternatives you've considered
Current alternative is manually copy-pasting the whole helm chart to our gitops repository and modifying above manually. Would be nice if it became available for everyone.
The text was updated successfully, but these errors were encountered:
Describe the feature request
MockServer has the ability to persistently save any expectation into a file. When running MockServer on Kubernetes, since pods are ephemeral and clear any files on restart - it would be nice to define a PVC to persistently store the configuration.
What you are trying to do
Keep MockServer's expectations persisted on Kubernetes pod restart.
The solution you'd like
values.yaml
:app.persistentVolumeClaimName
templates/deployment.yaml
- if variable is defined, add volume & volumeMount{{ if .Values.app.persistentVolumeClaimName }}
Describe alternatives you've considered
Current alternative is manually copy-pasting the whole helm chart to our gitops repository and modifying above manually. Would be nice if it became available for everyone.
The text was updated successfully, but these errors were encountered: