From e4f53ddf7534a45fefa98fd8feb2145ee283dcf8 Mon Sep 17 00:00:00 2001 From: dongming Date: Thu, 8 Dec 2022 20:32:36 +0800 Subject: [PATCH] change repo name --- src/argocd/application.yaml | 9 ++------- src/argocd/private-repo.yaml | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/argocd/application.yaml b/src/argocd/application.yaml index 38d698f..ee4643e 100644 --- a/src/argocd/application.yaml +++ b/src/argocd/application.yaml @@ -1,18 +1,13 @@ apiVersion: argoproj.io/v1alpha1 kind: Application metadata: - name: msb-app + name: pipeline-sample # You'll usually want to add your resources to the argocd namespace. namespace: argocd # Add this finalizer ONLY if you want these to cascade delete. - finalizers: - - resources-finalizer.argocd.argoproj.io - # Add labels to your application object. - labels: - name: msb-app spec: # The project the application belongs to. - project: default + project: msb-project # Source of the application manifests source: diff --git a/src/argocd/private-repo.yaml b/src/argocd/private-repo.yaml index 46612b9..936d08d 100644 --- a/src/argocd/private-repo.yaml +++ b/src/argocd/private-repo.yaml @@ -7,7 +7,7 @@ metadata: argocd.argoproj.io/secret-type: repository stringData: type: git - url: http://host.docker.internal/root/mashibing-deployment.git + url: http://host.docker.internal/root/mashibing-deployment-deploy.git password: "12345678" username: root --- @@ -20,7 +20,7 @@ metadata: argocd.argoproj.io/secret-type: repository stringData: type: git - url: git@host.docker.internal:root/mashibing-deployment.git + url: git@host.docker.internal:root/mashibing-deployment-deploy.git sshPrivateKey: | -----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn