From e567ad48aaaefcf0f79a43669675efff5b4cd150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AE=E6=B8=A1=E6=85=88=E8=88=AA?= <2237361616@qq.com> Date: Wed, 22 Mar 2023 11:46:28 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'application.yaml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/application.yaml b/application.yaml index 5249819..389744f 100644 --- a/application.yaml +++ b/application.yaml @@ -2,7 +2,6 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: myapp-argo-application - namespace: argocd spec: project: default From a1f0fa18c59908cfee092aa94ac228166c7b0818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AE=E6=B8=A1=E6=85=88=E8=88=AA?= <2237361616@qq.com> Date: Wed, 22 Mar 2023 11:47:25 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'application.yaml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.yaml b/application.yaml index 389744f..b5b13a9 100644 --- a/application.yaml +++ b/application.yaml @@ -6,7 +6,7 @@ spec: project: default source: - repoURL: https://github.com/yangchuansheng/argocd-lab.git + repoURL: https://gitea.wty.cool/root/zero.git targetRevision: HEAD path: dev destination: From e8ebe9e30bd498b92bca1a0469357b0bf502f2ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AE=E6=B8=A1=E6=85=88=E8=88=AA?= <2237361616@qq.com> Date: Wed, 22 Mar 2023 14:39:38 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'application.yaml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/application.yaml b/application.yaml index b5b13a9..86776a6 100644 --- a/application.yaml +++ b/application.yaml @@ -2,6 +2,7 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: myapp-argo-application + namespace: argocd spec: project: default From 80a35ff6417c58e4c8b534caef188fec4a91a8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AE=E6=B8=A1=E6=85=88=E8=88=AA?= <2237361616@qq.com> Date: Wed, 22 Mar 2023 14:51:21 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'application.yaml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application.yaml b/application.yaml index 86776a6..38721d3 100644 --- a/application.yaml +++ b/application.yaml @@ -8,7 +8,7 @@ spec: source: repoURL: https://gitea.wty.cool/root/zero.git - targetRevision: HEAD + targetRevision: main path: dev destination: server: https://kubernetes.default.svc @@ -20,4 +20,4 @@ spec: automated: selfHeal: true - prune: true + prune: true \ No newline at end of file From de2d3f25978dda4a0fc537d7bc9ab3c1221728ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AE=E6=B8=A1=E6=85=88=E8=88=AA?= <2237361616@qq.com> Date: Wed, 22 Mar 2023 14:51:45 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'dev/deployment.yaml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/deployment.yaml b/dev/deployment.yaml index 902c642..9a3ca98 100644 --- a/dev/deployment.yaml +++ b/dev/deployment.yaml @@ -16,4 +16,4 @@ spec: - name: myapp image: nginx:latest ports: - - containerPort: 80 + - containerPort: 80 \ No newline at end of file From a2d7a2085c63f00e19a95495174d052efa354e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AE=E6=B8=A1=E6=85=88=E8=88=AA?= <2237361616@qq.com> Date: Wed, 22 Mar 2023 15:04:31 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'dev/deployment.yaml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/deployment.yaml b/dev/deployment.yaml index 9a3ca98..80fa0e3 100644 --- a/dev/deployment.yaml +++ b/dev/deployment.yaml @@ -6,7 +6,7 @@ spec: selector: matchLabels: app: myapp - replicas: 2 + replicas: 1 template: metadata: labels: From 9c0b40317ee0201b016db69b037561555655f0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=AE=E6=B8=A1=E6=85=88=E8=88=AA?= <2237361616@qq.com> Date: Wed, 22 Mar 2023 15:05:23 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'dev/deployment.yaml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/deployment.yaml b/dev/deployment.yaml index 80fa0e3..fbd0ed4 100644 --- a/dev/deployment.yaml +++ b/dev/deployment.yaml @@ -6,7 +6,7 @@ spec: selector: matchLabels: app: myapp - replicas: 1 + replicas: 3 template: metadata: labels: