diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-lE3QXf/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-22LcGY/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-lE3QXf/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-22LcGY/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-lE3QXf/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-22LcGY/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-lE3QXf/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-22LcGY/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-lE3QXf/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-FagHth/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-GyEmBN/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-FagHth/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-GyEmBN/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-FagHth/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-GyEmBN/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-FagHth/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-GyEmBN/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-FagHth/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-FagHth/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-FagHth/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-FagHth/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-FagHth/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-FagHth/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-FagHth/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-FagHth/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-FagHth/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-FagHth/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-FagHth/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-FagHth/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-nSNGDn/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-2EITar/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-nSNGDn/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-2EITar/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-nSNGDn/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-2EITar/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-nSNGDn/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-2EITar/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
diff --git a/tmp/kustomize-action-2EITar/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml b/tmp/kustomize-action-2EITar/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
new file mode 100644
index 0000000..2c37498
--- /dev/null
+++ b/tmp/kustomize-action-2EITar/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,19 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-nSNGDn/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-tASRB8/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-OR64WI/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-tASRB8/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-OR64WI/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-tASRB8/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-OR64WI/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-tASRB8/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-OR64WI/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
diff --git a/tmp/kustomize-action-OR64WI/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml b/tmp/kustomize-action-OR64WI/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
new file mode 100644
index 0000000..2c37498
--- /dev/null
+++ b/tmp/kustomize-action-OR64WI/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,19 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-tASRB8/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-tASRB8/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-tASRB8/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-tASRB8/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-tASRB8/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-tASRB8/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-tASRB8/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-tASRB8/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-tASRB8/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-tASRB8/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-tASRB8/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-tASRB8/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-SQNjfC/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-hvhIx9/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-SQNjfC/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-hvhIx9/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-SQNjfC/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-hvhIx9/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-SQNjfC/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-hvhIx9/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
diff --git a/tmp/kustomize-action-hvhIx9/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml b/tmp/kustomize-action-hvhIx9/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
new file mode 100644
index 0000000..2c37498
--- /dev/null
+++ b/tmp/kustomize-action-hvhIx9/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,19 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-SQNjfC/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-OhRmNk/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-fYX9KQ/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-OhRmNk/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-fYX9KQ/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-OhRmNk/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-fYX9KQ/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-OhRmNk/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-fYX9KQ/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
diff --git a/tmp/kustomize-action-fYX9KQ/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml b/tmp/kustomize-action-fYX9KQ/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
new file mode 100644
index 0000000..e892257
--- /dev/null
+++ b/tmp/kustomize-action-fYX9KQ/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,21 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-OhRmNk/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-L3gTe7/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-Ji1Y0z/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-L3gTe7/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-Ji1Y0z/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-L3gTe7/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-Ji1Y0z/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-L3gTe7/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-Ji1Y0z/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
diff --git a/tmp/kustomize-action-Ji1Y0z/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml b/tmp/kustomize-action-Ji1Y0z/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
new file mode 100644
index 0000000..e892257
--- /dev/null
+++ b/tmp/kustomize-action-Ji1Y0z/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,21 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-L3gTe7/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-mKPgLL/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-hUoqaj/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-mKPgLL/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-hUoqaj/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-mKPgLL/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-hUoqaj/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-mKPgLL/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-hUoqaj/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
diff --git a/tmp/kustomize-action-hUoqaj/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml b/tmp/kustomize-action-hUoqaj/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
new file mode 100644
index 0000000..e892257
--- /dev/null
+++ b/tmp/kustomize-action-hUoqaj/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,21 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-mKPgLL/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
diff --git a/tmp/kustomize-action-slhaDl/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml b/tmp/kustomize-action-lVgmUK/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
index 0ff2794..7c193a1 100644
--- a/tmp/kustomize-action-slhaDl/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-lVgmUK/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
diff --git a/tmp/kustomize-action-slhaDl/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml b/tmp/kustomize-action-lVgmUK/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
index 090cb6c..87cf2fc 100644
--- a/tmp/kustomize-action-slhaDl/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-lVgmUK/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
diff --git a/tmp/kustomize-action-lVgmUK/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml b/tmp/kustomize-action-lVgmUK/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
new file mode 100644
index 0000000..e892257
--- /dev/null
+++ b/tmp/kustomize-action-lVgmUK/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,21 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
diff --git a/tmp/kustomize-action-slhaDl/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-slhaDl/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 4dd97bf..0000000
--- a/tmp/kustomize-action-slhaDl/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-slhaDl/e2e_test/fixture/app1/v1_namespace_app1.yaml b/tmp/kustomize-action-slhaDl/e2e_test/fixture/app1/v1_namespace_app1.yaml
deleted file mode 100644
index f39399b..0000000
--- a/tmp/kustomize-action-slhaDl/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
diff --git a/tmp/kustomize-action-slhaDl/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml b/tmp/kustomize-action-slhaDl/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
deleted file mode 100644
index 84a7ffe..0000000
--- a/tmp/kustomize-action-slhaDl/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
diff --git a/tmp/kustomize-action-slhaDl/e2e_test/fixture/app2/v1_namespace_app2.yaml b/tmp/kustomize-action-slhaDl/e2e_test/fixture/app2/v1_namespace_app2.yaml
deleted file mode 100644
index b990c93..0000000
--- a/tmp/kustomize-action-slhaDl/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
--- a/tmp/kustomize-action-QyMx7G/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-ZNygE4/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
--- a/tmp/kustomize-action-QyMx7G/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-ZNygE4/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
--- /dev/null
+++ b/tmp/kustomize-action-ZNygE4/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,21 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-QyMx7G/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app1/v1_namespace_app1.yaml
--- a/tmp/kustomize-action-QyMx7G/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-QyMx7G/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app2/v1_namespace_app2.yaml
--- a/tmp/kustomize-action-QyMx7G/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
--- a/tmp/kustomize-action-TjQwNo/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-aewx2D/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
--- a/tmp/kustomize-action-TjQwNo/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-aewx2D/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
--- /dev/null
+++ b/tmp/kustomize-action-aewx2D/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,25 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ backoff:
+ duration: 1s
+ factor: 1
+ maxDuration: 1s
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-TjQwNo/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app1/v1_namespace_app1.yaml
--- a/tmp/kustomize-action-TjQwNo/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-TjQwNo/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app2/v1_namespace_app2.yaml
--- a/tmp/kustomize-action-TjQwNo/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
--- a/tmp/kustomize-action-KllZfj/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-9iS8Oy/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
--- a/tmp/kustomize-action-KllZfj/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-9iS8Oy/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
--- /dev/null
+++ b/tmp/kustomize-action-9iS8Oy/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,25 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ backoff:
+ duration: 1s
+ factor: 1
+ maxDuration: 1s
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-KllZfj/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app1/v1_namespace_app1.yaml
--- a/tmp/kustomize-action-KllZfj/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-KllZfj/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app2/v1_namespace_app2.yaml
--- a/tmp/kustomize-action-KllZfj/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
--- a/tmp/kustomize-action-uj9Y9H/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-K0EMs7/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
--- a/tmp/kustomize-action-uj9Y9H/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-K0EMs7/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
--- /dev/null
+++ b/tmp/kustomize-action-K0EMs7/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,25 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ backoff:
+ duration: 1s
+ factor: 1
+ maxDuration: 1s
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-uj9Y9H/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app1/v1_namespace_app1.yaml
--- a/tmp/kustomize-action-uj9Y9H/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-uj9Y9H/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app2/v1_namespace_app2.yaml
--- a/tmp/kustomize-action-uj9Y9H/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2
diff
- e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
- e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml (New)
- e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app1/v1_namespace_app1.yaml (Deleted)
- e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml (Deleted)
- e2e_test/fixture/app2/v1_namespace_app2.yaml (Deleted)
e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
--- a/tmp/kustomize-action-7SEUrs/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
+++ b/tmp/kustomize-action-6Ln05z/e2e_test/applications/argoproj.io_v1alpha1_application_app1.yaml
@@ -5,13 +5,15 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: app1
+ namespace: test1
server: https://kubernetes.default.svc
project: default
source:
- path: app1
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test1/main
syncPolicy:
automated:
prune: true
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
--- a/tmp/kustomize-action-7SEUrs/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
+++ b/tmp/kustomize-action-6Ln05z/e2e_test/applications/argoproj.io_v1alpha1_application_app2.yaml
@@ -5,15 +5,17 @@ metadata:
namespace: argocd
spec:
destination:
- namespace: test2-fixture
+ namespace: test2
server: https://kubernetes.default.svc
project: default
source:
- path: app2
+ path: app
repoURL: https://github.com/int128/argocd-commenter-e2e-test
- targetRevision: FIXTURE_BRANCH/main
+ targetRevision: FIXTURE_BRANCH/test2/main
syncPolicy:
automated:
prune: true
retry:
limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
--- /dev/null
+++ b/tmp/kustomize-action-6Ln05z/e2e_test/applications/argoproj.io_v1alpha1_application_app3.yaml
@@ -0,0 +1,25 @@
+apiVersion: argoproj.io/v1alpha1
+kind: Application
+metadata:
+ name: app3
+ namespace: argocd
+spec:
+ destination:
+ namespace: test3
+ server: https://kubernetes.default.svc
+ project: default
+ source:
+ path: app
+ repoURL: https://github.com/int128/argocd-commenter-e2e-test
+ targetRevision: FIXTURE_BRANCH/test3/main
+ syncPolicy:
+ automated:
+ prune: true
+ retry:
+ backoff:
+ duration: 1s
+ factor: 1
+ maxDuration: 1s
+ limit: 1
+ syncOptions:
+ - CreateNamespace=true
e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-7SEUrs/e2e_test/fixture/app1/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app1
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app1/v1_namespace_app1.yaml
--- a/tmp/kustomize-action-7SEUrs/e2e_test/fixture/app1/v1_namespace_app1.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app1
e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
--- a/tmp/kustomize-action-7SEUrs/e2e_test/fixture/app2/apps_v1_deployment_echoserver.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: echoserver
- namespace: app2
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: echoserver
- template:
- metadata:
- labels:
- app: echoserver
- spec:
- containers:
- - image: gcr.io/google_containers/echoserver:1.8
- name: echoserver
- ports:
- - containerPort: 8080
e2e_test/fixture/app2/v1_namespace_app2.yaml
--- a/tmp/kustomize-action-7SEUrs/e2e_test/fixture/app2/v1_namespace_app2.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-apiVersion: v1
-kind: Namespace
-metadata:
- name: app2