adguardhome-sync/testdata/e2e/agh-e2e/templates/pod-adguardhome-replica.yaml
Marc Brugger 31d91adb42
start e2e tests with helm (#102)
* use helm for e2e test

* wait for pods

* update action
2022-10-06 20:58:11 +02:00

17 lines
424 B
YAML

{{ range $i, $version := .Values.replica.versions }}
apiVersion: v1
kind: Pod
metadata:
name: adguardhome-replica-{{ $i }}
namespace: {{ $.Release.Namespace }}
labels:
app.kubernetes.io/name: adguardhome-replica-{{ $i }}
bakito.net/adguardhome-sync: replica
spec:
containers:
- name: adguardhome
image: "adguard/adguardhome:{{ $version }}"
ports:
- containerPort: 3000
---
{{- end }}