mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 16:00:29 -05:00
update
This commit is contained in:
parent
509f5928c8
commit
1bb678a293
1 changed files with 37 additions and 0 deletions
37
vault/templates/ingress.yaml
Normal file
37
vault/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: vault-ingress
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`vault.internal.durp.info`)
|
||||
middlewares:
|
||||
- name: whitelist
|
||||
namespace: traefik
|
||||
kind: Rule
|
||||
services:
|
||||
- name: vault
|
||||
port: 8200
|
||||
scheme: https
|
||||
tls:
|
||||
secretName: vault-tls
|
||||
|
||||
---
|
||||
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: vault-tls
|
||||
spec:
|
||||
secretName: vault-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-production
|
||||
kind: ClusterIssuer
|
||||
commonName: "vault.internal.durp.info"
|
||||
dnsNames:
|
||||
- "vault.internal.durp.info"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue