mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 07:50:29 -05:00
update
This commit is contained in:
parent
57ea463e19
commit
c38262a51b
3 changed files with 43 additions and 105 deletions
|
|
@ -1,62 +0,0 @@
|
||||||
apiVersion: cert-manager.io/v1
|
|
||||||
kind: Certificate
|
|
||||||
metadata:
|
|
||||||
name: authentik-tls
|
|
||||||
spec:
|
|
||||||
issuerRef:
|
|
||||||
name: letsencrypt-production
|
|
||||||
kind: ClusterIssuer
|
|
||||||
secretName: authentik-tls
|
|
||||||
commonName: "authentik.durp.info"
|
|
||||||
dnsNames:
|
|
||||||
- "authentik.durp.info"
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: authentik-ingress
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`authentik.durp.info`) && PathPrefix(`/`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: infra-cluster
|
|
||||||
port: 443
|
|
||||||
tls:
|
|
||||||
secretName: authentik-tls
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: Service
|
|
||||||
apiVersion: v1
|
|
||||||
metadata:
|
|
||||||
name: authentik-external-dns
|
|
||||||
annotations:
|
|
||||||
external-dns.alpha.kubernetes.io/hostname: authentik.durp.info
|
|
||||||
spec:
|
|
||||||
type: ExternalName
|
|
||||||
externalName: durp.info
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Endpoints
|
|
||||||
metadata:
|
|
||||||
name: infra-cluster
|
|
||||||
subsets:
|
|
||||||
- addresses:
|
|
||||||
- ip: 192.168.12.130
|
|
||||||
ports:
|
|
||||||
- port: 443
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: infra-cluster
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: 443
|
|
||||||
targetPort: 443
|
|
||||||
|
|
@ -7,9 +7,9 @@ spec:
|
||||||
- websecure
|
- websecure
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`argocd.infra.durp.info`)
|
- match: Host(`argocd.infra.durp.info`)
|
||||||
#middlewares:
|
middlewares:
|
||||||
# - name: whitelist
|
- name: whitelist
|
||||||
# namespace: traefik
|
namespace: traefik
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: infra-cluster
|
- name: infra-cluster
|
||||||
|
|
|
||||||
|
|
@ -1,40 +1,40 @@
|
||||||
#apiVersion: traefik.io/v1alpha1
|
apiVersion: cert-manager.io/v1
|
||||||
#kind: IngressRoute
|
kind: Certificate
|
||||||
#metadata:
|
metadata:
|
||||||
# name: authentik-ingress
|
name: authentik-tls
|
||||||
#spec:
|
spec:
|
||||||
# entryPoints:
|
issuerRef:
|
||||||
# - websecure
|
name: letsencrypt-production
|
||||||
# routes:
|
kind: ClusterIssuer
|
||||||
# - match: Host(`authentik.durp.info`) && PathPrefix(`/`)
|
secretName: authentik-tls
|
||||||
# kind: Rule
|
commonName: "authentik.durp.info"
|
||||||
# services:
|
dnsNames:
|
||||||
# - name: infra-cluster
|
- "authentik.durp.info"
|
||||||
# port: 443
|
|
||||||
# tls:
|
---
|
||||||
# secretName: authentik-tls
|
apiVersion: traefik.io/v1alpha1
|
||||||
#
|
kind: IngressRoute
|
||||||
#---
|
metadata:
|
||||||
#apiVersion: cert-manager.io/v1
|
name: authentik-ingress
|
||||||
#kind: Certificate
|
spec:
|
||||||
#metadata:
|
entryPoints:
|
||||||
# name: authentik-tls
|
- websecure
|
||||||
#spec:
|
routes:
|
||||||
# issuerRef:
|
- match: Host(`authentik.durp.info`) && PathPrefix(`/`)
|
||||||
# name: letsencrypt-production
|
kind: Rule
|
||||||
# kind: ClusterIssuer
|
services:
|
||||||
# secretName: authentik-tls
|
- name: infra-cluster
|
||||||
# commonName: "authentik.durp.info"
|
port: 443
|
||||||
# dnsNames:
|
tls:
|
||||||
# - "authentik.durp.info"
|
secretName: authentik-tls
|
||||||
#
|
|
||||||
#---
|
---
|
||||||
#kind: Service
|
kind: Service
|
||||||
#apiVersion: v1
|
apiVersion: v1
|
||||||
#metadata:
|
metadata:
|
||||||
# name: authentik-external-dns
|
name: authentik-external-dns
|
||||||
# annotations:
|
annotations:
|
||||||
# external-dns.alpha.kubernetes.io/hostname: authentik.durp.info
|
external-dns.alpha.kubernetes.io/hostname: authentik.durp.info
|
||||||
#spec:
|
spec:
|
||||||
# type: ExternalName
|
type: ExternalName
|
||||||
# externalName: durp.info
|
externalName: durp.info
|
||||||
Loading…
Add table
Add a link
Reference in a new issue