change
This commit is contained in:
@@ -1,26 +0,0 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: argocd-tls
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- kind: Rule
|
|
||||||
match: Host(`argocd-dev.allarddcs.nl`)
|
|
||||||
priority: 10
|
|
||||||
services:
|
|
||||||
- kind: Service
|
|
||||||
name: argocd-server
|
|
||||||
port: 80
|
|
||||||
# - kind: Rule
|
|
||||||
# match: Host(`argocd-dev.allarddcs.nl`) && Headers(`Content-Type`, `application/grpc`)
|
|
||||||
# priority: 11
|
|
||||||
# services:
|
|
||||||
# - kind: Service
|
|
||||||
# name: argocd-server
|
|
||||||
# port: 80
|
|
||||||
# scheme: h2c
|
|
||||||
tls:
|
|
||||||
certResolver: letsencrypt
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: argocd-http
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
routes:
|
|
||||||
- match: Host(`argocd.example.com`)
|
|
||||||
kind: Rule
|
|
||||||
middlewares:
|
|
||||||
- name: redirect-to-https
|
|
||||||
services:
|
|
||||||
- name: argocd-server
|
|
||||||
port: 80
|
|
||||||
scheme: https
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: redirect-to-https
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
redirectScheme:
|
|
||||||
scheme: https
|
|
||||||
permanent: true
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: argocd-https
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`argocd.example.com`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: argocd-server
|
|
||||||
port: 80
|
|
||||||
scheme: https
|
|
||||||
tls:
|
|
||||||
certResolver: letsencrypt
|
|
||||||
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
ingress:
|
|
||||||
server:
|
|
||||||
enabled: true
|
|
||||||
ingressClassName: traefik
|
|
||||||
hosts:
|
|
||||||
- host: argocd-dev.allarddcs.nl
|
|
||||||
paths:
|
|
||||||
- "/"
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- argocd-dev.allarddcs.nl
|
|
||||||
secretName: argocd-tls-cert
|
|
||||||
|
|
||||||
configs:
|
|
||||||
params:
|
|
||||||
# disable insecure (HTTP)
|
|
||||||
server.insecure: "false"
|
|
||||||
|
|
||||||
configs:
|
|
||||||
resource.customizations: |
|
|
||||||
rbac.authorization.k8s.io/ClusterRole:
|
|
||||||
ignoreDifferences: |
|
|
||||||
jsonPointers:
|
|
||||||
- /metadata/annotations/argocd.argoproj.io~1tracking-id
|
|
||||||
rbac.authorization.k8s.io/ClusterRoleBinding:
|
|
||||||
ignoreDifferences: |
|
|
||||||
jsonPointers:
|
|
||||||
- /metadata/annotations/argocd.argoproj.io~1tracking-id
|
|
||||||
|
|
||||||
server:
|
|
||||||
tls:
|
|
||||||
enabled: true
|
|
||||||
# name of the TLS secret (created via cert-manager)
|
|
||||||
secretName: argocd-tls-cert
|
|
||||||
|
|
||||||
repoServer:
|
|
||||||
extraArgs:
|
|
||||||
- --parallelismlimit=1
|
|
||||||
|
|
||||||
readinessProbe:
|
|
||||||
initialDelaySeconds: 10
|
|
||||||
periodSeconds: 5
|
|
||||||
timeoutSeconds: 2
|
|
||||||
failureThreshold: 10
|
|
||||||
|
|
||||||
livenessProbe:
|
|
||||||
initialDelaySeconds: 10
|
|
||||||
periodSeconds: 10
|
|
||||||
timeoutSeconds: 2
|
|
||||||
failureThreshold: 10
|
|
||||||
Reference in New Issue
Block a user