更新 wikijs
This commit is contained in:
@@ -1,6 +1,16 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: wikijs
|
name: wikijs
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Wiki.js. Wiki.js is the most powerful and extensible open source Wiki software
|
||||||
|
home: https://git.hty1024.com/HTY1024/helm_chart
|
||||||
|
sources:
|
||||||
|
- https://git.hty1024.com/HTY1024/helm_chart/wikijs
|
||||||
|
- https://js.wiki
|
||||||
|
- https://github.com/Requarks/wiki
|
||||||
|
maintainers:
|
||||||
|
- name: huty
|
||||||
|
email: huty@hty1024.com
|
||||||
|
url: https://hty1024.com
|
||||||
|
icon: https://js.wiki/img/wikijs-full-2021.b840e376.svg
|
||||||
|
|
||||||
# A chart can be either an 'application' or a 'library' chart.
|
# A chart can be either an 'application' or a 'library' chart.
|
||||||
#
|
#
|
||||||
@@ -21,4 +31,6 @@ version: 0.1.0
|
|||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# It is recommended to use it with quotes.
|
||||||
appVersion: "1.16.0"
|
appVersion: "2.5.307"
|
||||||
|
|
||||||
|
kubeVersion: >= 1.33.1
|
||||||
|
|||||||
4
examples/wikijs/templates/namespace.yaml
Normal file
4
examples/wikijs/templates/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Namespace }}
|
||||||
18
examples/wikijs/templates/persistentvolume.yaml
Normal file
18
examples/wikijs/templates/persistentvolume.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-pv
|
||||||
|
labels:
|
||||||
|
{{ range .Values.Labels }}
|
||||||
|
{{ .name }}: {{ .value }}
|
||||||
|
{{ end }}
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: {{ .Values.storageSize }}
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: {{ .Release.Name }}-scl
|
||||||
|
local:
|
||||||
|
path: {{ .Values.storagePath }}
|
||||||
17
examples/wikijs/templates/persistentvolumeclaim.yaml
Normal file
17
examples/wikijs/templates/persistentvolumeclaim.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-pvc
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
{{ range .Values.Labels }}
|
||||||
|
{{ .name }}: {{ .value }}
|
||||||
|
{{ end }}
|
||||||
|
spec:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.storageSize }}
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: {{ .Release.Name }}-sc
|
||||||
11
examples/wikijs/templates/storageclass.yaml
Normal file
11
examples/wikijs/templates/storageclass.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-scl
|
||||||
|
labels:
|
||||||
|
{{ range .Values.Labels }}
|
||||||
|
{{ .name }}: {{ .value }}
|
||||||
|
{{ end }}
|
||||||
|
provisioner: kubernetes.io/no-provisioner
|
||||||
|
reclaimPolicy: Retain
|
||||||
|
volumeBindingMode: WaitForFirstConsumer
|
||||||
Reference in New Issue
Block a user