Modifying the Template
The tibemsd-template.yaml template has to be modified to mount the secret as a volume. This involves adding one entry to the volumes section and another to the volumeMounts section.
kind: Deployment … spec: … template: … spec: containers: - name: tibemsd-container … volumeMounts: - mountPath: /shared name: tibemsd-volume - mountPath: /etc/secret name: tibemsd-secret-volume readOnly: true … volumes: - name: tibemsd-volume persistentVolumeClaim: claimName: ${{EMS_PVC}} - name: tibemsd-secret-volume secret: secretName: tibemsd-secret
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.