{{ if .Values.testingModule.enable }} apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }}-testing-module-gateway-deployment labels: app: {{ .Release.Name }}-testing-module-gateway spec: replicas: 1 selector: matchLabels: app: {{ .Release.Name }}-testing-module-gateway template: metadata: labels: app: {{ .Release.Name }}-testing-module-gateway annotations: redeploy-timestamp: "{{ now | unixEpoch }}" spec: containers: - name: {{ .Release.Name }}-testing-module-gateway image: git.nullptr.top/liquidcode/liquidcode-tester-gateway-roman:latest imagePullPolicy: Always ports: - containerPort: 8080 env: - name: Workers__Cpp value: http://{{ .Release.Name }}-testing-module-worker-service - name: Workers__Java value: http://{{ .Release.Name }}-testing-module-worker-service - name: Workers__Kotlin value: http://{{ .Release.Name }}-testing-module-worker-service - name: Workers__CSharp value: http://{{ .Release.Name }}-testing-module-worker-service - name: Workers__Python value: http://{{ .Release.Name }}-testing-module-worker-service {{ end }}