mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-22 01:17:16 +00:00
* test: Use dedicated multi-arch workloads in e2e tests Signed-off-by: jannfis <jann@mistrust.net> * Use correct tag Signed-off-by: jannfis <jann@mistrust.net>
61 lines
1.2 KiB
YAML
61 lines
1.2 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: test-multi-ns-hook-second
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-deployment
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: quay.io/argoprojlabs/argocd-e2e-container:0.1
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 80
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: my-hook
|
|
annotations:
|
|
argocd.argoproj.io/hook: PostSync
|
|
argocd.argoproj.io/hook-delete-policy: HookSucceeded
|
|
spec:
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: main
|
|
image: quay.io/argoprojlabs/argocd-e2e-container:0.1
|
|
imagePullPolicy: IfNotPresent
|
|
command: [sh, -c, "sleep 10"]
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: my-hook
|
|
namespace: test-multi-ns-hook-second
|
|
annotations:
|
|
argocd.argoproj.io/hook: PostSync
|
|
argocd.argoproj.io/hook-delete-policy: HookSucceeded
|
|
spec:
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: main
|
|
image: quay.io/argoprojlabs/argocd-e2e-container:0.1
|
|
imagePullPolicy: IfNotPresent
|
|
command: [sh, -c, "sleep 10"]
|