Use cases to define additionalMounts
Refer to these use cases of mounting additional resources to either service pods or truststore pods or both.
Adding additionalMounts to service pods and truststore pods
- Option 1
- Define
additionalMountswithoutmatchLabels. As a result, mounts are applied to all the pods, including service and truststore pods. - Option 2
- Define
additionalMountswithmatchLabels.- Define all the matching labels as
podLabelsin the SIPEnvironment. - Ensure that none of the
podLabelsin thematchLabelsofadditionalMountsare overridden in the service group or server.
- Define all the matching labels as
Adding additionalMounts to only service pods
- Define
additionalMountswithmatchLabelsthat targets only service pods. - Set matching labels as
podLabelsin the service group. - Ensure that none of the
podLabelsin thematchLabelsofadditionalMountsare overridden in the server.As a result, truststore pods are excluded because they inherit only the labels from the SIPEnvironment.
Adding additionalMounts to only truststore pods
- Define
additionalMountswithmatchLabelsthat targets only truststore pods. - Define all matching labels as
podLabelsin the SIPEnvironment. The truststore pods inherit only the labels from the SIPEnvironment. Hence, the mounts are applied only to truststore pods. - To exclude service pods, override at least one label present in the
matchLabelsin the service group or server to prevent a label match.
Adding different mounts to service pods and truststore pods
Define separate additionalMounts for each type with distinct
matchLabels.
- Service pods
-
- Set matching labels as
podLabelsin the service group to target service pods. - Ensure that none of the
podLabelsin thematchLabelsofadditionalMountsare overridden in the server.
- Set matching labels as
- Truststore pods
-
- Define all the matching labels as
podLabelsin the SIPEnvironment. - To exclude service pods, override at least one label in the
matchLabelsin the service group or server.
- Define all the matching labels as
Adding additionalMounts to only specific service pods
- Define
additionalMountswithmatchLabelsthat target only specific service pods. - Define all matching labels as
podLabelsin the server to apply mounts only to those specific pods.