mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-11-15 20:44:14 +08:00
31d91adb42
* use helm for e2e test * wait for pods * update action
17 lines
424 B
YAML
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 }}
|