Commit d73f02c0 authored by Arie Peterson's avatar Arie Peterson 🐚
Browse files

Create helm chart

parent 75334931
apiVersion: "v1"
name: "local-storage"
version: "0.1.0"
description: "A local storage provisioner for automatically creating node-local directories."
sources:
- "https://code.greenhost.net/openappstack/local-storage"
maintainers:
- name: "Arie Peterson"
email: "arie@greenhost.nl"
The local storage provisioner is deployed succesfully.
Data will be stored under {{ .Values.storageDirectory }} on the node itself.
......@@ -18,18 +18,18 @@ spec:
serviceAccountName: local-provisioner
containers:
- name: local-provisioner
image: docker.greenhost.net/openappstack/local-storage/provisioner:develop
image: "docker.greenhost.net/openappstack/local-storage/provisioner:{{ .Values.image.tag }}"
imagePullPolicy: "Always"
volumeMounts:
- mountPath: "/var/lib/OpenAppStack/local-storage"
- mountPath: "{{ .Values.storageDirectory }}"
name: storage-directory
env:
- name: LOCAL_STORAGE_DIR
value: "/var/lib/OpenAppStack/local-storage"
value: "{{ .Values.storageDirectory }}"
volumes:
- name: storage-directory
hostPath:
path: "/var/lib/OpenAppStack/local-storage"
path: "{{ .Values.storageDirectory }}"
---
apiVersion: storage.k8s.io/v1beta1
kind: StorageClass
......
storageDirectory: "/var/lib/OpenAppStack/local-storage"
image:
tag: "develop"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment