Files
monorepo/LCU.Api.Internal.DataCleanUp/kustomize/base/Deployment.yaml
T
2026-03-13 09:28:55 -05:00

93 lines
3.7 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: data-clean-up-api
spec:
replicas: 1
selector:
matchLabels:
app: data-clean-up-api
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: data-clean-up-api
spec:
containers:
- name: data-clean-up-api
image: data-clean-up-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
subPath: lcu-cert-internal.pem
- name: volume-appsettings
mountPath: /app/config/mapped-appsettings
- name: data-clean-up-api-secrets
mountPath: /vault/secrets/data-clean-up-api-security-configuration-internal-api-key-sets.json
subPath: data-clean-up-api-security-configuration-internal-api-key-sets
readOnly: true
- name: data-clean-up-api-secrets
mountPath: /vault/secrets/data-clean-up-database-connection.json
subPath: data-clean-up-database-connection
readOnly: true
- name: data-clean-up-api-secrets
mountPath: /vault/secrets/data-clean-up-seq-api-key.json
subPath: data-clean-up-seq-api-key
readOnly: true
- name: data-clean-up-api-secrets
mountPath: /vault/secrets/data-clean-up-connection-configuration-queue-user-name.json
subPath: data-clean-up-connection-configuration-queue-user-name
readOnly: true
- name: data-clean-up-api-secrets
mountPath: /vault/secrets/data-clean-up-connection-configuration-queue-password.json
subPath: data-clean-up-connection-configuration-queue-password
readOnly: true
- name: data-clean-up-api-secrets
mountPath: /vault/secrets/data-clean-up-saving-missing-requirements-defaults-funds-to-account-defaults-gl-account-number.json
subPath: data-clean-up-saving-missing-requirements-defaults-funds-to-account-defaults-gl-account-number
readOnly: true
- name: data-clean-up-api-secrets
mountPath: /vault/secrets/data-clean-up-indirect-savings-requirements-defaults-funds-to-account-defaults-indirect-gl-account-number.json
subPath: data-clean-up-indirect-savings-requirements-defaults-funds-to-account-defaults-indirect-gl-account-number
readOnly: true
- name: data-clean-up-api-secrets
mountPath: /vault/secrets/data-clean-up-indirect-savings-requirements-defaults-funds-to-account-defaults-funds-defaults-fund-amount-indirect-fund-amount.json
subPath: data-clean-up-indirect-savings-requirements-defaults-funds-to-account-defaults-funds-defaults-fund-amount-indirect-fund-amount
readOnly: true
volumes:
- name: data-clean-up-api-secrets
csi:
driver: secrets-store.csi.k8s.io
readOnly: true
volumeAttributes:
secretProviderClass: data-clean-up-api-csi-key-vault-secrets-provider
- name: volume-lcu-internal-cert
configMap:
name: configmap-lcu-internal-cert
- name: volume-appsettings
configMap:
name: datacleanupapi-configmap