separate dependencies on openebs installation

This commit is contained in:
Joseph Hanson 2024-05-07 20:14:34 -05:00
parent b82c9c1677
commit 8cf6cc9867
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
18 changed files with 44 additions and 16 deletions

View file

@ -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:

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -4,5 +4,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ./storageclass.yaml
- ./volumesnapshotclass.yaml

View file

@ -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

View file

@ -18,4 +18,27 @@ spec:
wait: false wait: false
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

View file

@ -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: