mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-13 22:39:06 +02:00
Compare commits
2 Commits
feature/re
...
feature/sw
Author | SHA1 | Date | |
---|---|---|---|
f87f680a83 | |||
8939577c15 |
20
deployment/auth-chain.yaml
Normal file
20
deployment/auth-chain.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: https-only
|
||||
spec:
|
||||
redirectScheme:
|
||||
scheme: https
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: auth-chain
|
||||
namespace: apps
|
||||
spec:
|
||||
chain:
|
||||
middlewares:
|
||||
- name: https-only
|
||||
- name: authn
|
||||
- name: authz
|
@@ -8,4 +8,4 @@ resources:
|
||||
- ./deployment.yaml
|
||||
- ./service.yaml
|
||||
- ./horizontalPodAutoScaler.yaml
|
||||
- ./forwardAuth.yaml
|
||||
- ./middleware.yaml
|
||||
|
@@ -1,7 +1,7 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: auth-service
|
||||
name: authz
|
||||
spec:
|
||||
forwardAuth:
|
||||
address: https://gh-authz/auth/
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -15,3 +15,5 @@ spec:
|
||||
port: 443
|
||||
scheme: https
|
||||
serversTransport: gh-backend
|
||||
middlewares:
|
||||
- name: auth-chain
|
14
deployment/kustomization.yaml
Normal file
14
deployment/kustomization.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: generations-heritage
|
||||
|
||||
bases:
|
||||
- authZ
|
||||
- authN
|
||||
- backend
|
||||
- memgraph
|
||||
|
||||
resources:
|
||||
- ./cert-issuer.yaml
|
||||
- ./server-transport.yaml
|
||||
- ./auth-chain.yaml
|
@@ -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
|
||||
|
@@ -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
|
@@ -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: '*'
|
Reference in New Issue
Block a user