storage parameter
Use the storage parameter to configure the persistent volume for shared storage.
- This shared storage is used across all the Sterling™ Order Management System Software pods (agent, app, integration, Order Hub, Order Service) for sharing files such as catalog index, bindings file, and more.
- This configuration is used to identify an existing Persistent Volume Claim (PVC) with the given name or create a new PVC with this name if it does not already exist.
- The parameters of the PVC must match with the parameters of the PV that you create. For more information, see Creating a Kubernetes Persistent Volume page.
The following .yaml snippet is a sample schema of
storage: storage:
name: ""
# accessMode: ReadWriteMany
# capacity: 10Gi
# storageClassName: default
# securityContext:
# fsGroup:
# supplementalGroups: []
The following table explains the attributes applicable for the
storage parameter
of OMEnvironment.
| Property | Default value | Value type | Required | Description |
|---|---|---|---|---|
name |
string | Yes | Specify the name of the Persistent Volume Claim (PVC). If the PVC doesn’t exist, a new PVC is created and expected to be bound. If the PVC exist, then it is reused. | |
securityContext.fsGroup |
integer | No | Specify the file system group ID to access the Persistent Volume. If you are using restricted
Security Context Constraints (SCC), ensure that the specified fsGroup conforms to
the restrictions imposed by SCC. |
|
securityContext.supplementalGroups |
array | No | Specify the list of supplemental group ID to access the Persistent Volume. For example, [9999]. The Operator automatically adds 0,1000, 1001 as supplemental groups. | |
accessMode |
ReadWriteMany |
string | No | Specify the access mode for the Persistent Volume as ReadWriteMany. This is
required for use with features such as search catalog index, where multiple pods such as appServers
and agentServers can read or write from this shared persistent volume. |
capacity |
10Gi |
string or integer | No | Specify the capacity for the Persistent Volume. |
storageClassName |
default |
string | No | Specify the storage class for the Persistent Volume Claim. |