* added longhorn addon * enabled longhorn in the tests * fix: move longhorn to longhorn-system namespace Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: move longhorn to longhorn-system namespace Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: move longhorn to longhorn-system namespace Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: move longhorn to longhorn-system namespace Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa> Co-authored-by: Devin Buhl <devin@buhl.casa>
47 lines
991 B
YAML
47 lines
991 B
YAML
#% if volsync.enabled | default(false) %#
|
|
---
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: &app snapshot-controller
|
|
namespace: flux-system
|
|
spec:
|
|
targetNamespace: storage
|
|
commonMetadata:
|
|
labels:
|
|
app.kubernetes.io/name: *app
|
|
#% if longhorn.enabled | default(false) %#
|
|
dependsOn:
|
|
- name: longhorn
|
|
#% endif %#
|
|
path: ./kubernetes/apps/storage/volsync/snapshot-controller
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: home-kubernetes
|
|
wait: false
|
|
interval: 30m
|
|
retryInterval: 1m
|
|
timeout: 5m
|
|
---
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: &app volsync
|
|
namespace: flux-system
|
|
spec:
|
|
targetNamespace: storage
|
|
commonMetadata:
|
|
labels:
|
|
app.kubernetes.io/name: *app
|
|
path: ./kubernetes/apps/storage/volsync/app
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: home-kubernetes
|
|
wait: false
|
|
interval: 30m
|
|
retryInterval: 1m
|
|
timeout: 5m
|
|
#% endif %#
|