|
|
|
@ -19,34 +19,31 @@ spec: |
|
|
|
containers: |
|
|
|
# Backend container |
|
|
|
- name: trialytix-backend |
|
|
|
image: packages.semapp.lan:5000/trialytix_backend:1.1.0 |
|
|
|
image: packages.semapp.lan:5000/trialytix_backend:kubernetes-test |
|
|
|
ports: |
|
|
|
- containerPort: 5100 |
|
|
|
name: trialytix-back |
|
|
|
protocol: TCP |
|
|
|
envFrom: |
|
|
|
- configMapRef: |
|
|
|
name: trialytix-config-backend-testing |
|
|
|
imagePullPolicy: Always |
|
|
|
# Frontend container |
|
|
|
- name: trialytix-frontend |
|
|
|
image: packages.semapp.lan:5000/trialytix_frontend:1.1.0 |
|
|
|
image: packages.semapp.lan:5000/trialytix_frontend:kubernetes-test |
|
|
|
ports: |
|
|
|
- containerPort: 8100 |
|
|
|
name: trialytix-front |
|
|
|
protocol: TCP |
|
|
|
volumeMounts: |
|
|
|
- mountPath: /etc/nginx/conf.d |
|
|
|
readOnly: true |
|
|
|
name: nginx-trialytix-conf |
|
|
|
envFrom: |
|
|
|
- configMapRef: |
|
|
|
name: trialytix-config-backend-testing |
|
|
|
|
|
|
|
|
|
|
|
# TODO: kubectl validation hinders us from inserting base64-encoded strings |
|
|
|
# cf. also `baseline-secret.testing.yml` |
|
|
|
#- name: APP_KEY |
|
|
|
# valueFrom: |
|
|
|
# secretKeyRef: |
|
|
|
# name: baseline-secret-testing |
|
|
|
# key: app_key |
|
|
|
# - name: trialytix-frontend |
|
|
|
# image: packages.semapp.lan:5000/trialytix_frontend:1.1.0 |
|
|
|
# env: |
|
|
|
# - name: NODE_ENV |
|
|
|
# valueFrom: |
|
|
|
# configMapKeyRef: |
|
|
|
# name: trialytix-config-testing |
|
|
|
# key: node_env |
|
|
|
imagePullPolicy: Always |
|
|
|
volumes: |
|
|
|
- name: nginx-trialytix-conf |
|
|
|
configMap: |
|
|
|
name: nginx-trialytix-conf |
|
|
|
|