48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
name: apollo
|
|
namespace: olympus
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: apollo
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: apollo
|
|
spec:
|
|
volumes:
|
|
- name: apollo-pv-storage
|
|
persistentVolumeClaim:
|
|
claimName: private-azurefile-pvc
|
|
containers:
|
|
- name: apollo
|
|
image: olytest/apollo:2ac8bc10
|
|
envFrom:
|
|
- configMapRef:
|
|
name: olympus-db-shared-cfg
|
|
env:
|
|
- name: DOCUMENT_UPLOAD_PATH
|
|
value: /mnt/apollo_storage/documents
|
|
- name: REPOSITORY_UPLOAD_PATH
|
|
value: /mnt/apollo_storage/repository
|
|
- name: GITLAB_CLOUD_TOKEN
|
|
value: glpat-z-72kM9b9yvqd8arvEX1
|
|
- name: GITLAB_ONPREMISES_TOKEN
|
|
value: VScokCa7anraKbXisnwe
|
|
- name: APOLLO_FE_URL
|
|
value: http://apollo-aks.olympusai.live
|
|
- name: EUREKA_URI
|
|
value: >-
|
|
http://eureka-server-service.olympus.svc.cluster.local:8761/eureka
|
|
resources: {}
|
|
volumeMounts:
|
|
- name: apollo-pv-storage
|
|
mountPath: /mnt/apollo_storage/documents
|
|
subPath: documents
|
|
- name: apollo-pv-storage
|
|
mountPath: /mnt/apollo_storage/repository
|
|
subPath: repository
|
|
imagePullPolicy: Always |