mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-11-15 12:31:19 +08:00
6b07040ad7
* move e2e test in regular build * write to summary
25 lines
588 B
YAML
25 lines
588 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: adguardhome-sync
|
|
namespace: {{ $.Release.Namespace }}
|
|
spec:
|
|
serviceAccountName: agh-e2e
|
|
initContainers:
|
|
- name: wait-for-others
|
|
image: bitnami/kubectl:1.24
|
|
command:
|
|
- /bin/bash
|
|
- -c
|
|
- |
|
|
{{- .Files.Get "bin/wait-for-agh-pods.sh" | nindent 10}}
|
|
containers:
|
|
- name: adguardhome-sync
|
|
image: localhost:5001/adguardhome-sync:e2e
|
|
command:
|
|
- /opt/go/adguardhome-sync
|
|
- run
|
|
envFrom:
|
|
- configMapRef:
|
|
name: sync-conf
|
|
restartPolicy: Never
|