Added ArgoCD proxy
This commit is contained in:
parent
0295ca8349
commit
1ecc6bf920
24
manifests/_apps/argocd.yaml
Normal file
24
manifests/_apps/argocd.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: argocd
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: cluster.fun
|
||||
destination:
|
||||
namespace: inlets
|
||||
name: cluster-fun (scaleway)
|
||||
source:
|
||||
path: manifests/argocd
|
||||
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
ignoreDifferences:
|
||||
- kind: Secret
|
||||
jsonPointers:
|
||||
- /data
|
25
manifests/argocd/argocd.yaml
Normal file
25
manifests/argocd/argocd.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: argo
|
||||
namespace: inlets
|
||||
labels:
|
||||
app: argo
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
traefik.ingress.kubernetes.io/frontend-entry-points: http,https
|
||||
traefik.ingress.kubernetes.io/redirect-entry-point: https
|
||||
traefik.ingress.kubernetes.io/redirect-permanent: "true"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- argo.cluster.fun
|
||||
secretName: argo-ingress
|
||||
rules:
|
||||
- host: argo.cluster.fun
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: auth-proxy
|
||||
servicePort: 80
|
Loading…
Reference in New Issue
Block a user