add infra app local-path-provisioner
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: storage.k8s.io/v1
|
|
||||||
kind: StorageClass
|
|
||||||
metadata:
|
|
||||||
name: local-mount-nfs
|
|
||||||
provisioner: rancher.io/local-path
|
|
||||||
reclaimPolicy: Retain
|
|
||||||
volumeBindingMode: WaitForFirstConsumer
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: local-path-provisioner
|
||||||
|
namespace: local-path-storage
|
||||||
|
spec:
|
||||||
|
interval: 1h
|
||||||
|
driftDetection:
|
||||||
|
mode: enabled
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: local-path-provisioner
|
||||||
|
version: master-head
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
namespace: flux-system
|
||||||
|
name: local-path-provisioner
|
||||||
|
interval: 1d
|
||||||
|
values:
|
||||||
|
storageClass:
|
||||||
|
reclaimPolicy: Retain
|
||||||
@@ -2,15 +2,18 @@
|
|||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
metadata:
|
metadata:
|
||||||
name: kube-system-misc
|
name: local-path-provisioner
|
||||||
namespace: kube-system
|
namespace: local-path-storage
|
||||||
spec:
|
spec:
|
||||||
interval: 10m
|
interval: 10m
|
||||||
timeout: 1m30s
|
timeout: 1m30s
|
||||||
retryInterval: 30s
|
retryInterval: 30s
|
||||||
path: ./kubernetes/infrastructure/kube-system/misc
|
path: ./kubernetes/infrastructure/local-path-provisioner/app
|
||||||
prune: true
|
prune: true
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
name: flux-system
|
name: flux-system
|
||||||
|
dependsOn:
|
||||||
|
- name: namespaces
|
||||||
|
namespace: flux-system
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: local-path-provisioner
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
ref:
|
||||||
|
branch: main
|
||||||
|
secretRef:
|
||||||
|
name: flux-system
|
||||||
|
timeout: 60s
|
||||||
|
url: https://github.com/rancher/local-path-provisioner.git
|
||||||
Reference in New Issue
Block a user