Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix storageClassName "null" value #44

Merged
merged 1 commit into from
Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ entries:
nebula-cluster:
- apiVersion: v2
appVersion: 0.1.0
created: "2021-06-28T10:15:33.333416+08:00"
created: "2021-07-20T16:38:43.161264382+08:00"
description: Nebula Cluster Helm chart for Kubernetes
digest: df8dfc3a710753bec8544b6cde9c9ad35c0fcd89bb6144f59f5ce48b5bbb2f1d
digest: aa03c80a212414404e11aa1b026802b86f33063f9eaf2ea484b4195e0d301ecc
home: https://nebula-graph.io
keywords:
- kubernetes
Expand All @@ -29,9 +29,9 @@ entries:
nebula-operator:
- apiVersion: v2
appVersion: 0.1.0
created: "2021-06-28T10:15:33.334456+08:00"
created: "2021-07-20T16:38:43.162192859+08:00"
description: Nebula Operator Helm chart for Kubernetes
digest: 53c46adb019cf7e1c5226df321486c451e83d2071f95f95d9620bde141f1330a
digest: 92ff3f3e6eda554ae4e3bdacdf9b5d95eaf2a2f12ab2d01a0bbc898dcb83fe21
home: https://nebula-graph.io
keywords:
- kubernetes
Expand All @@ -50,4 +50,4 @@ entries:
urls:
- https://vesoft-inc.github.io/nebula-operator/charts/nebula-operator-0.1.0.tgz
version: 0.1.0
generated: "2021-06-28T10:15:33.332855+08:00"
generated: "2021-07-20T16:38:43.160050416+08:00"
Binary file modified charts/nebula-cluster-0.1.0.tgz
Binary file not shown.
6 changes: 6 additions & 0 deletions charts/nebula-cluster/templates/nebula-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
resources:
requests:
storage: {{ .Values.nebula.graphd.storage }}
{{- if .Values.nebula.storageClassName }}
storageClassName: {{ .Values.nebula.storageClassName }}
{{- end }}
labels: {{ toYaml .Values.nebula.podLabels | nindent 6 }}
annotations: {{ toYaml .Values.nebula.podAnnotations | nindent 6 }}
metad:
Expand All @@ -32,7 +34,9 @@ spec:
resources:
requests:
storage: {{ .Values.nebula.metad.storage }}
{{- if .Values.nebula.storageClassName }}
storageClassName: {{ .Values.nebula.storageClassName }}
{{- end }}
labels: {{ toYaml .Values.nebula.podLabels | nindent 6 }}
annotations: {{ toYaml .Values.nebula.podAnnotations | nindent 6 }}
storaged:
Expand All @@ -45,7 +49,9 @@ spec:
resources:
requests:
storage: {{ .Values.nebula.storaged.storage }}
{{- if .Values.nebula.storageClassName }}
storageClassName: {{ .Values.nebula.storageClassName }}
{{- end }}
labels: {{ toYaml .Values.nebula.podLabels | nindent 6 }}
annotations: {{ toYaml .Values.nebula.podAnnotations | nindent 6 }}
reference: {{ toYaml .Values.nebula.reference | nindent 4 }}
Expand Down
8 changes: 5 additions & 3 deletions charts/nebula-cluster/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nebula:
version: v2.0.0
version: v2.0.1
imagePullPolicy: IfNotPresent
# storageClassName:
storageClassName: ""
schedulerName: default-scheduler # nebula-scheduler
reference:
name: statefulsets.apps
Expand Down Expand Up @@ -47,4 +47,6 @@ nebula:
memory: "1Gi"
storage: "1Gi"

imagePullSecrets: []
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""