separate dependencies on openebs installation
This commit is contained in:
parent
b82c9c1677
commit
8cf6cc9867
18 changed files with 44 additions and 16 deletions
|
@ -18,7 +18,7 @@ spec:
|
||||||
name: homelab
|
name: homelab
|
||||||
wait: false
|
wait: false
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
- name: volsync
|
- name: volsync
|
||||||
- name: external-secrets-stores
|
- name: external-secrets-stores
|
||||||
postBuild:
|
postBuild:
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
retries: 3
|
retries: 3
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
- name: volsync
|
- name: volsync
|
||||||
namespace: volsync-system
|
namespace: volsync-system
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
retries: 3
|
retries: 3
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
values:
|
values:
|
||||||
controllers:
|
controllers:
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
retries: 3
|
retries: 3
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
- name: volsync
|
- name: volsync
|
||||||
namespace: volsync-system
|
namespace: volsync-system
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
retries: 3
|
retries: 3
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
- name: volsync
|
- name: volsync
|
||||||
namespace: volsync-system
|
namespace: volsync-system
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
retries: 3
|
retries: 3
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
values:
|
values:
|
||||||
controllers:
|
controllers:
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
retries: 3
|
retries: 3
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
- name: volsync
|
- name: volsync
|
||||||
namespace: volsync-system
|
namespace: volsync-system
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
retries: 3
|
retries: 3
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
- name: volsync
|
- name: volsync
|
||||||
namespace: volsync-system
|
namespace: volsync-system
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
name: homelab
|
name: homelab
|
||||||
wait: true
|
wait: true
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
- name: volsync
|
- name: volsync
|
||||||
- name: external-secrets-stores
|
- name: external-secrets-stores
|
||||||
postBuild:
|
postBuild:
|
||||||
|
|
|
@ -26,7 +26,7 @@ spec:
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
retries: 3
|
retries: 3
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: openebs-system
|
namespace: openebs-system
|
||||||
- name: thanos
|
- name: thanos
|
||||||
namespace: observability
|
namespace: observability
|
||||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
||||||
strategy: uninstall
|
strategy: uninstall
|
||||||
retries: 3
|
retries: 3
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: openebs-system
|
namespace: openebs-system
|
||||||
- name: rook-ceph-cluster
|
- name: rook-ceph-cluster
|
||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
retries: 3
|
retries: 3
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
namespace: openebs-system
|
namespace: openebs-system
|
||||||
- name: dragonfly-operator
|
- name: dragonfly-operator
|
||||||
namespace: dragonfly-operator-system
|
namespace: dragonfly-operator-system
|
||||||
|
|
|
@ -4,5 +4,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
- ./storageclass.yaml
|
|
||||||
- ./volumesnapshotclass.yaml
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./storageclass.yaml
|
||||||
|
- ./volumesnapshotclass.yaml
|
|
@ -19,3 +19,26 @@ spec:
|
||||||
interval: 30m
|
interval: 30m
|
||||||
retryInterval: 1m
|
retryInterval: 1m
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: &app openebs-cluster
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
targetNamespace: openebs-system
|
||||||
|
commonMetadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: *app
|
||||||
|
path: ./kubernetes/apps/openebs-system/openebs/cluster
|
||||||
|
dependsOn:
|
||||||
|
- name: openebs
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: homelab
|
||||||
|
wait: false
|
||||||
|
interval: 30m
|
||||||
|
retryInterval: 1m
|
||||||
|
timeout: 5m
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
name: homelab
|
name: homelab
|
||||||
wait: true
|
wait: true
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: openebs
|
- name: openebs-cluster
|
||||||
- name: volsync
|
- name: volsync
|
||||||
- name: external-secrets-stores
|
- name: external-secrets-stores
|
||||||
postBuild:
|
postBuild:
|
||||||
|
|
Loading…
Reference in a new issue