--- apiVersion: apps/v1 kind: Deployment metadata: name: member-preferences-api spec: replicas: 1 selector: matchLabels: app: member-preferences-api strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: labels: app: member-preferences-api spec: containers: - name: member-preferences-api image: member-preferences-api resources: limits: memory: "1536Mi" cpu: "500m" ports: - containerPort: 8080 livenessProbe: initialDelaySeconds: 5 periodSeconds: 5 httpGet: path: /api/status port: 8080 readinessProbe: initialDelaySeconds: 5 periodSeconds: 5 httpGet: path: /api/status port: 8080 volumeMounts: - name: volume-lcu-internal-cert mountPath: /etc/ssl/certs/lcu-internal-cert.pem - name: volume-appsettings mountPath: /app/config/mapped-appsettings - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-member-preferences-api-key.json subPath: member-preferences-api-member-preferences-api-key readOnly: true - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-ftp-fingerprint.json subPath: member-preferences-api-ftp-fingerprint readOnly: true - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-ftp-password.json subPath: member-preferences-api-ftp-password readOnly: true - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-ftp-username.json subPath: member-preferences-api-ftp-username readOnly: true - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-queue-password.json subPath: member-preferences-api-queue-password readOnly: true - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-queue-username.json subPath: member-preferences-api-queue-username readOnly: true - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-db-connection.json subPath: member-preferences-api-db-connection readOnly: true - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-environment-from-vault.json subPath: member-preferences-api-environment-from-vault readOnly: true - name: member-preferences-api-secrets mountPath: /vault/secrets/member-preferences-api-seq-api-key.json subPath: member-preferences-api-seq-api-key readOnly: true volumes: - name: member-preferences-api-secrets csi: driver: secrets-store.csi.k8s.io readOnly: true volumeAttributes: secretProviderClass: member-preferences-api-csi-key-vault-secrets-provider - name: volume-lcu-internal-cert configMap: name: configmap-lcu-internal-cert - name: volume-appsettings configMap: name: memberpreferencesapi-configmap