Skip to content

Commit 580b481

Browse files
update tests
Signed-off-by: Ishita Sequeira <[email protected]>
1 parent 42d46a4 commit 580b481

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

test/e2e/suite/006-apps-in-any-namespace/01-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
argocd-image-updater.argoproj.io/guestbook.update-strategy: semver
77
name: image-updater-006
88
spec:
9-
project: default
9+
project: project-one
1010
source:
1111
repoURL: https://github.com/argoproj/argocd-example-apps.git
1212
path: kustomize-guestbook

test/e2e/suite/006-apps-in-any-namespace/01-install.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@ metadata:
2525
name: project-one
2626
namespace: argocd-image-updater-e2e
2727
spec:
28+
sourceRepos:
29+
- '*'
30+
destinations:
31+
- namespace: '*'
32+
server: '*'
2833
sourceNamespaces:
29-
- image-updater-e2e-test
34+
- image-updater-e2e-006-01
3035
---
3136
apiVersion: kuttl.dev/v1beta1
3237
kind: TestStep
@@ -44,7 +49,7 @@ metadata:
4449
argocd-image-updater.argoproj.io/image-list: guestbook=gcr.io/heptio-images/ks-guestbook-demo:~0
4550
argocd-image-updater.argoproj.io/guestbook.update-strategy: semver
4651
spec:
47-
project: default
52+
project: project-one
4853
source:
4954
repoURL: https://github.com/argoproj/argocd-example-apps.git
5055
path: kustomize-guestbook

test/e2e/suite/006-apps-in-any-namespace/99-delete.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ delete:
55
- apiVersion: argoproj.io/v1alpha1
66
kind: Application
77
name: image-updater-006
8+
- apiVersion: argoproj.io/v1alpha1
9+
kind: AppProject
10+
name: project-one
811
- apiVersion: v1
912
kind: Namespace
1013
name: image-updater-e2e-006-01

0 commit comments

Comments
 (0)