Adopt Longhorn in gitops
This commit is contained in:
parent
ee40f4a350
commit
82ed32b874
23
storage/Longhorn/application-longhorn.yaml
Normal file
23
storage/Longhorn/application-longhorn.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: longhorn
|
||||
namespace: argo-cd
|
||||
spec:
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: longhorn-system
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://charts.longhorn.io
|
||||
chart: longhorn
|
||||
targetRevision: 1.8.0
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/storage/Longhorn/values.yaml
|
||||
- repoURL: https://code.spamasaurus.com/djpbessems/Kubernetes.K3s.installLog
|
||||
targetRevision: master
|
||||
ref: values
|
||||
# - repoURL: https://github.com/djpbessems/Kubernetes.K3s.installLog
|
||||
# targetRevision: master
|
||||
# ref: values
|
@ -1,5 +0,0 @@
|
||||
defaultSettings:
|
||||
defaultDataPath: /mnt/blockstorage/
|
||||
ingress:
|
||||
enabled: true
|
||||
host: storage.spamasaurus.com
|
@ -1,19 +0,0 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: longhorn-dashboard
|
||||
namespace: default
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`storage.spamasaurus.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: longhorn-frontend
|
||||
port: 80
|
||||
namespace: longhorn-system
|
||||
middlewares:
|
||||
- name: 2fa-authentication@file
|
||||
- name: security-headers@file
|
||||
- name: compression@file
|
7
storage/Longhorn/values.yaml
Normal file
7
storage/Longhorn/values.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
defaultSettings:
|
||||
defaultDataPath: /mnt/blockstorage/
|
||||
ingress:
|
||||
enabled: true
|
||||
host: storage.spamasaurus.com
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.middlewares: 2fa-authentication@file,security-headers@file,compression@file
|
Loading…
Reference in New Issue
Block a user