Skip to content

Commit

Permalink
OpenEBS for Hybrid Node storage
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemcd3912 committed Oct 9, 2024
1 parent 1fc5af5 commit 5179555
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- storage-driver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: openebs
namespace: openebs
spec:
chart:
spec:
chart: openebs
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: openebs
namespace: openebs
version: "3.3.0"
interval: 60s
targetNamespace: openebs

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: openebs
namespace: openebs
spec:
interval: 30s
url: https://openebs.github.io/charts

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- helm-repo.yaml
- helm-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: openebs
14 changes: 14 additions & 0 deletions eks-anywhere-hybrid/Addons/Core/storage-driver/storage-driver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: openebs
namespace: flux-system
spec:
path: "./eks-anywhere-hybrid/Addons/Core/storage-driver/openebs"
sourceRef:
kind: GitRepository
name: addons
namespace: flux-system
interval: 5m0s
prune: true
---
34 changes: 17 additions & 17 deletions eks-anywhere-hybrid/Addons/Partner/Sample/manifestJob.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apiVersion: batch/v1
kind: Job
metadata:
name: sample-hybrid-manifestjob
namespace: default
spec:
backoffLimit: 1
template:
spec:
containers:
- name: job
image: busybox
args:
- /bin/sh
- -c
- date; echo sleeping....; sleep 5s; exit 1;
restartPolicy: Never
# apiVersion: batch/v1
# kind: Job
# metadata:
# name: sample-hybrid-manifestjob
# namespace: default
# spec:
# backoffLimit: 1
# template:
# spec:
# containers:
# - name: job
# image: busybox
# args:
# - /bin/sh
# - -c
# - date; echo sleeping....; sleep 5s; exit 1;
# restartPolicy: Never

0 comments on commit 5179555

Please sign in to comment.