How persistent storage works
Restore Capability
The restore capability maintains the continuity of the policy configuration files in conditions where the SVN pod is restarted.
The policy configuration files are in the XMI format. Each SVN repository contains XMI files that are represented in a configMap. The configMap is updated whenever a policy configuration is modified and committed into an SVN repository. When the SVN pod is restarted, it verifies if the configMap is available and the corresponding XMI files are loaded to the repository.
The restore capability is managed through these configMaps:
-
Monitor-svn-configmap-pcf: Contains configuration data in key-value pairs that represent the repository name and policy hash.
-
Policy-svn-persistence-configmap: Contains the configured value of the policy-configuration-restore configMap.
Feedback