From dfde7577b6a97554cc48f6758603c42f659e5861 Mon Sep 17 00:00:00 2001 From: mehmet Date: Sat, 4 May 2024 12:20:16 +0200 Subject: [PATCH] feat: Add Argo application manifest --- .github/workflows/deploy-manifests.yaml | 1 + backend/combined.log | 8 ++++++++ backend/error.log | 6 ++++++ infra/argo-application.yaml | 23 +++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 infra/argo-application.yaml diff --git a/.github/workflows/deploy-manifests.yaml b/.github/workflows/deploy-manifests.yaml index 91263818..d9c50cb1 100644 --- a/.github/workflows/deploy-manifests.yaml +++ b/.github/workflows/deploy-manifests.yaml @@ -54,3 +54,4 @@ jobs: kubectl apply -f infra/k8s/ -n kitapkurdu kubectl apply -f infra/secrets/ -n kitapkurdu kubectl apply -f infra/ingress.yaml -n kitapkurdu + kubectl apply -f infra/argo-application.yaml -n kitapkurdu diff --git a/backend/combined.log b/backend/combined.log index 99d54e7d..0dca63d8 100644 --- a/backend/combined.log +++ b/backend/combined.log @@ -11,3 +11,11 @@ {"level":"error","message":"No token, authorization denied","timestamp":"2024-04-06 13:20:38"} {"level":"error","message":"No token, authorization denied","timestamp":"2024-04-06 13:20:40"} {"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:07:36"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:10:18"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:10:34"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:10:36"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:39:41"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:51:22"} +{"level":"info","message":"User Mehmet sayin logged in successfully","timestamp":"2024-05-04 11:51:36"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:51:52"} +{"level":"info","message":"User Mehmet sayin logged in successfully","timestamp":"2024-05-04 11:52:06"} diff --git a/backend/error.log b/backend/error.log index 99d54e7d..0c3a2a83 100644 --- a/backend/error.log +++ b/backend/error.log @@ -11,3 +11,9 @@ {"level":"error","message":"No token, authorization denied","timestamp":"2024-04-06 13:20:38"} {"level":"error","message":"No token, authorization denied","timestamp":"2024-04-06 13:20:40"} {"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:07:36"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:10:18"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:10:34"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:10:36"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:39:41"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:51:22"} +{"level":"error","message":"No token, authorization denied","timestamp":"2024-05-04 11:51:52"} diff --git a/infra/argo-application.yaml b/infra/argo-application.yaml new file mode 100644 index 00000000..4e8333dc --- /dev/null +++ b/infra/argo-application.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kitapkurdu +spec: + destination: + name: public + namespace: kitapkurdu + source: + path: kustomize + repoURL: 'https://github.com/sayinmehmet47/kitapkurdu.git' + targetRevision: HEAD + project: kitapkurdu + syncPolicy: + automated: + prune: false + selfHeal: true + retry: + backoff: + duration: 5s + factor: 2 + maxDuration: 3m0s + limit: 2