Skip to content

Commit 50154e0

Browse files
authored
Merge pull request #152 from EventTriangle/AZ400-336
AZ400-336. Implement ArgoCD in Event Triangle
2 parents c311e23 + 76ce2c6 commit 50154e0

4 files changed

Lines changed: 64 additions & 26 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec
3232
- Merge plan and plan-destroy terraform pipelines
3333
- Configure HPA for services
3434
- Fix the error Unable to unprotect the message.State.
35+
- ArgoCD initial config
36+
- ArgoCD application manifest

argocd/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## ArgoCD project
2+
3+
- https://github.com/argoproj/argo-cd
4+
5+
## Install ArgoCD CLI (Windows)
6+
7+
- choco install argocd-cli -y
8+
- argocd version
9+
10+
## Install and configure ArgoCD
11+
12+
- kubectl create namespace argocd
13+
- kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.14.7/manifests/install.yaml
14+
- kubectl patch svc argocd-server -n argocd --type merge --patch '{"spec": {"type": "LoadBalancer"}}'
15+
- https://argocd-et.razumovsky.me/
16+
- $Password = kubectl get secret argocd-initial-admin-secret -n argocd -o jsonpath="{.data.password}" | ForEach-Object { [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($_)) }
17+
- argocd login argocd-et.razumovsky.me --username admin --password $Password --insecure
18+
- argocd repo add "https://github.com/EventTriangle/EventTriangleAPI.git"

argocd/argocd-auth.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: auth-service
5+
namespace: argocd
6+
spec:
7+
project: default
8+
source:
9+
repoURL: https://github.com/EventTriangle/EventTriangleAPI.git
10+
targetRevision: AZ400-336
11+
path: kubernetes/auth-deployment-cluster-ip
12+
destination:
13+
server: https://kubernetes.default.svc
14+
namespace: event-triangle
15+
syncPolicy:
16+
automated:
17+
prune: true
18+
selfHeal: true

terraform/.terraform.lock.hcl

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)