Update folder location
This commit is contained in:
41
master/longhorn/templates/ingress.yaml
Normal file
41
master/longhorn/templates/ingress.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: longhorn-ingress
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`longhorn.internal.durp.info`) && PathPrefix(`/`)
|
||||
middlewares:
|
||||
- name: whitelist
|
||||
namespace: traefik
|
||||
- name: authentik-proxy-provider
|
||||
namespace: traefik
|
||||
kind: Rule
|
||||
services:
|
||||
- name: longhorn-frontend
|
||||
port: 80
|
||||
- match: Host(`longhorn.internal.durp.info`) && PathPrefix(`/outpost.goauthentik.io`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: ak-outpost-authentik-embedded-outpost
|
||||
namespace: authentik
|
||||
port: 9000
|
||||
tls:
|
||||
secretName: longhorn-tls
|
||||
|
||||
---
|
||||
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: longhorn-tls
|
||||
spec:
|
||||
secretName: longhorn-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-production
|
||||
kind: ClusterIssuer
|
||||
commonName: "longhorn.internal.durp.info"
|
||||
dnsNames:
|
||||
- "longhorn.internal.durp.info"
|
||||
24
master/longhorn/templates/secrets.yaml
Normal file
24
master/longhorn/templates/secrets.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
apiVersion: external-secrets.io/v1beta1
|
||||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: external-longhorn-backup-token-secret
|
||||
spec:
|
||||
secretStoreRef:
|
||||
name: vault
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: longhorn-backup-token-secret
|
||||
data:
|
||||
- secretKey: AWS_ACCESS_KEY_ID
|
||||
remoteRef:
|
||||
key: secrets/longhorn/backup
|
||||
property: AWS_ACCESS_KEY_ID
|
||||
- secretKey: AWS_ENDPOINTS
|
||||
remoteRef:
|
||||
key: secrets/longhorn/backup
|
||||
property: AWS_ENDPOINTS
|
||||
- secretKey: AWS_SECRET_ACCESS_KEY
|
||||
remoteRef:
|
||||
key: secrets/longhorn/backup
|
||||
property: AWS_SECRET_ACCESS_KEY
|
||||
Reference in New Issue
Block a user