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