apiVersion: v1
kind: Pod
metadata:
  name: test
  labels:
    app: test
spec:
  containers:
  - name: mightycalc-container
    image: aleskov/mightycalc-test:stable
    ports:
    - name: ssh
      containerPort: 22
    command: [ "sleep" ]
    args: [ "infinity" ]
    env:
    - name: MightyCalc_ApiUrl
      value: "http://api-svc"
    - name: MightyCalc_Journal
      value: "Host=postgres-svc;Port=5432;Database=journal;User ID=postgres;"
    - name: MightyCalc_SnapshotStore
      value: "Host=postgres-svc;Port=5432;Database=snapshotstore;User ID=postgres;"
    - name: MightyCalc_ReadModel
      value: "Host=postgres-svc;Port=5432;Database=readmodel;User ID=postgres;"
  restartPolicy: Never