Use our own install of local path
This commit is contained in:
25
clusters/kairos/local-path-provisioner/helmrelease.yaml
Normal file
25
clusters/kairos/local-path-provisioner/helmrelease.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: local-path-repo
|
||||
namespace: kube-system
|
||||
spec:
|
||||
interval: 5m
|
||||
releaseName: local-path-repo
|
||||
chart:
|
||||
spec:
|
||||
chart: local-path-provisioner
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: local-path-repo
|
||||
values:
|
||||
storageClass:
|
||||
defaultClass: true
|
||||
reclaimPolicy: Retain
|
||||
nodePathMap: [
|
||||
{
|
||||
node: DEFAULT_PATH_FOR_NON_LISTED_NODES,
|
||||
paths: [/usr/local]
|
||||
}
|
||||
]
|
||||
15
clusters/kairos/local-path-provisioner/helmrepo.yaml
Normal file
15
clusters/kairos/local-path-provisioner/helmrepo.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: local-path-repo
|
||||
namespace: kube-system
|
||||
spec:
|
||||
interval: 15m
|
||||
url: https://github.com/rancher/local-path-provisioner
|
||||
ref:
|
||||
branch: main
|
||||
ignore: |-
|
||||
# exclude all
|
||||
/*
|
||||
# include charts directory
|
||||
!/deploy/chart/
|
||||
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helmrelease.yaml
|
||||
- helmrepo.yaml
|
||||
Reference in New Issue
Block a user