diff --git a/deployment/authZ/forwardAuth.yaml b/deployment/authZ/forwardAuth.yaml deleted file mode 100644 index 895b8f9..0000000 --- a/deployment/authZ/forwardAuth.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: traefik.io/v1alpha1 -kind: Middleware -metadata: - name: auth-service -spec: - forwardAuth: - address: https://gh-authz/auth/ - authResponseHeaders: - - id - tls: - insecureSkipVerify: true \ No newline at end of file diff --git a/deployment/authz-argo.yaml b/deployment/authz-argo.yaml deleted file mode 100644 index a0ddcfe..0000000 --- a/deployment/authz-argo.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: gh-authz -spec: - project: generations-heritage-vv - source: - repoURL: 'https://github.com/vcscsvcscs/GenerationsHeritage' - path: deployment/authZ - targetRevision: main - kustomize: - namespace: generations-heritage - destination: - server: 'https://kubernetes.default.svc' - namespace: generations-heritage - syncPolicy: - automated: - selfHeal: true - syncOptions: - - CreateNamespace=true - - ServerSideApply=true - \ No newline at end of file diff --git a/deployment/backend-argo.yaml b/deployment/backend-argo.yaml deleted file mode 100644 index b35db2f..0000000 --- a/deployment/backend-argo.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: gh-backend -spec: - project: generations-heritage-vv - source: - repoURL: 'https://github.com/vcscsvcscs/GenerationsHeritage' - path: deployment/backend - targetRevision: main - kustomize: - namespace: generations-heritage - destination: - server: 'https://kubernetes.default.svc' - namespace: generations-heritage - syncPolicy: - automated: - selfHeal: true - syncOptions: - - CreateNamespace=true - - ServerSideApply=true - \ No newline at end of file diff --git a/deployment/memgraph-argo.yaml b/deployment/memgraph-argo.yaml deleted file mode 100644 index 4849779..0000000 --- a/deployment/memgraph-argo.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: memgraph -spec: - project: generations-heritage-vv - source: - repoURL: 'https://github.com/vcscsvcscs/GenerationsHeritage' - path: deployment/memgraph - targetRevision: main - kustomize: - namespace: generations-heritage - destination: - server: 'https://kubernetes.default.svc' - namespace: generations-heritage - syncPolicy: - automated: - selfHeal: true - syncOptions: - - CreateNamespace=true - - ServerSideApply=true - \ No newline at end of file diff --git a/kustomization.yaml b/kustomization.yaml deleted file mode 100644 index 4c8a7cb..0000000 --- a/kustomization.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: argocd - -resources: - - ./deployment/cert-issuer.yaml - - ./deployment/server-transport.yaml - - ./deployment/project-argo.yaml - - ./deployment/memgraph-argo.yaml - - ./deployment/auth-service-argo.yaml - - ./deployment/backend-argo.yaml diff --git a/deployment/project-argo.yaml b/project-argo.yaml similarity index 87% rename from deployment/project-argo.yaml rename to project-argo.yaml index 487eb52..19b6af7 100644 --- a/deployment/project-argo.yaml +++ b/project-argo.yaml @@ -5,7 +5,7 @@ metadata: spec: description: Generations heritages is a project that aims to preserve the heritage of families based on bloodlines. sourceRepos: - - '*' # Allow all repositories + - 'https://github.com/vcscsvcscs/GenerationsHeritage' destinations: - namespace: 'generations-heritage' server: '*'