deploy-own-app-gitops-yml
+45 · 3 files changed
-
deploy-own-app/gitops/application.yml+23 −0 -
deploy-own-app/gitops/cluster.yml+11 −0 -
deploy-own-app/gitops/repository.yml+11 −0
@@ -0,0 +1,23 @@ +gitops: + name: ownapp-application + projectIdentifier: default_project + orgIdentifier: default + type: application + application: + metadata: + namespace: default + clusterName: ownapp_cluster + labels: + harness.io/serviceRef: harnesssockshop + harness.io/envRef: harnessdevenv + spec: + source: + repoURL: https://github.com/microservices-demo/microservices-demo + path: deploy/kubernetes + targetRevision: master + destination: + server: https://kubernetes.default.svc + namespace: default + agentIdentifier: AGENT_NAME + clusterIdentifier: ownappcluster + repoIdentifier: ownapprepo @@ -0,0 +1,11 @@ +gitops: + name: ownapp_cluster + identifier: ownappcluster + projectIdentifier: default_project + orgIdentifier: default + type: cluster + cluster: + server: https://kubernetes.default.svc + config: + clusterConnectionType: IN_CLUSTER + agentIdentifier: AGENT_NAME \ No newline at end of file @@ -0,0 +1,11 @@ +gitops: + name: ownapp_repo + identifier: ownapprepo + projectIdentifier: default_project + orgIdentifier: default + type: repository + repo: + repo: https://github.com/microservices-demo/microservices-demo + type: git + connectionType: HTTPS_ANONYMOUS + agentIdentifier: AGENT_NAME