feat(openebs): add openebs, use openebs hostpath provisioner for woodpecker
This commit is contained in:
parent
396bc860a7
commit
41f85c2583
|
@ -26,9 +26,9 @@ spec:
|
||||||
WOODPECKER_BACKEND: kubernetes
|
WOODPECKER_BACKEND: kubernetes
|
||||||
WOODPECKER_SERVER: woodpecker-server.dev.svc.cluster.local:9000
|
WOODPECKER_SERVER: woodpecker-server.dev.svc.cluster.local:9000
|
||||||
WOODPECKER_BACKEND_K8S_NAMESPACE: dev
|
WOODPECKER_BACKEND_K8S_NAMESPACE: dev
|
||||||
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: longhorn
|
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: openebs-hostpath
|
||||||
WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 5G
|
WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 5G
|
||||||
WOODPECKER_BACKEND_K8S_STORAGE_RWX: true
|
WOODPECKER_BACKEND_K8S_STORAGE_RWX: false
|
||||||
WOODPECKER_BACKEND_K8S_POD_LABELS: ""
|
WOODPECKER_BACKEND_K8S_POD_LABELS: ""
|
||||||
WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS: ""
|
WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS: ""
|
||||||
WOODPECKER_CONNECT_RETRY_COUNT: "1"
|
WOODPECKER_CONNECT_RETRY_COUNT: "1"
|
||||||
|
|
|
@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./longhorn
|
- ./longhorn
|
||||||
|
- ./openebs
|
||||||
#- ./local-path-provisioner
|
#- ./local-path-provisioner
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: openebs
|
||||||
|
namespace: openebs
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: openebs
|
||||||
|
version: 3.10.0
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: openebs-charts
|
||||||
|
namespace: flux-system
|
||||||
|
|
||||||
|
values:
|
||||||
|
ndm:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
localprovisioner:
|
||||||
|
deviceClass:
|
||||||
|
enabled: false
|
|
@ -0,0 +1,8 @@
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: openebs-charts
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1m
|
||||||
|
url: https://openebs.github.io/charts
|
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./namespace.yaml
|
||||||
|
- ./helm-repository.yaml
|
||||||
|
- ./helm-release.yaml
|
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: openebs
|
||||||
|
labels:
|
||||||
|
name: openebs
|
Loading…
Reference in New Issue