Skip to content

Commit

Permalink
Fix charts (#165)
Browse files Browse the repository at this point in the history
* fix charts

* fix example
  • Loading branch information
MegaByte875 authored Nov 15, 2022
1 parent 9f9eb6a commit c9a4b4d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions charts/nebula-cluster/templates/nebula-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ spec:
resources:
requests:
storage: {{ .Values.nebula.graphd.logStorage }}
{{- if .Values.nebula.storageClassName }}
{{- if .Values.nebula.storageClassName }}
storageClassName: {{ .Values.nebula.storageClassName }}
{{- end }}
{{- end }}
labels: {{ toYaml .Values.nebula.graphd.podLabels | nindent 6 }}
annotations: {{ toYaml .Values.nebula.graphd.podAnnotations | nindent 6 }}
{{- with .Values.nebula.graphd.nodeSelector }}
Expand Down Expand Up @@ -60,9 +60,9 @@ spec:
resources:
requests:
storage: {{ .Values.nebula.metad.logStorage }}
{{- if .Values.nebula.storageClassName }}
{{- if .Values.nebula.storageClassName }}
storageClassName: {{ .Values.nebula.storageClassName }}
{{- end }}
{{- end }}
dataVolumeClaim:
resources:
requests:
Expand Down Expand Up @@ -112,15 +112,15 @@ spec:
resources:
requests:
storage: {{ .Values.nebula.storaged.logStorage }}
{{- if .Values.nebula.storageClassName }}
{{- if .Values.nebula.storageClassName }}
storageClassName: {{ .Values.nebula.storageClassName }}
{{- end }}
{{- end }}
dataVolumeClaims:
- resources:
requests:
storage: {{ .Values.nebula.storaged.dataStorage }}
{{- if .Values.nebula.storageClassName }}
storageClassName: {{ .Values.nebula.storageClassName }}
storageClassName: {{ .Values.nebula.storageClassName }}
{{- end }}
labels: {{ toYaml .Values.nebula.storaged.podLabels | nindent 6 }}
annotations: {{ toYaml .Values.nebula.storaged.podAnnotations | nindent 6 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/nebula-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
nebulaOperator:
image: vesoft/nebula-operator:v1.2.0
image: vesoft/nebula-operator:v1.3.0
imagePullPolicy: Always
kubeRBACProxy:
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
Expand Down
2 changes: 1 addition & 1 deletion config/samples/apps_v1alpha1_nebulacluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
- resources:
requests:
storage: 10Gi
storageClassName: gp2
storageClassName: gp2
logVolumeClaim:
resources:
requests:
Expand Down

0 comments on commit c9a4b4d

Please sign in to comment.