Skip to content

Commit

Permalink
fix charts (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaByte875 authored Aug 15, 2023
1 parent 7d2e44d commit d940f40
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 62 deletions.
5 changes: 2 additions & 3 deletions charts/nebula-cluster/templates/nebula-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
requests:
storage: {{ .Values.nebula.metad.dataStorage }}
{{- if .Values.nebula.storageClassName }}
storageClassName: {{ .Values }}
storageClassName: {{ .Values.nebula.storageClassName }}
{{- end }}
labels: {{ toYaml .Values.nebula.metad.podLabels | nindent 6 }}
annotations: {{ toYaml .Values.nebula.metad.podAnnotations | nindent 6 }}
Expand Down Expand Up @@ -197,8 +197,7 @@ spec:
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 4 }}
{{- end }}
schedulerName: {{ .Values.nebula.schedulerName }}
topologySpreadConstraints: {{ .Values.nebula.topologySpreadConstraints }}
unsatisfiableAction: {{ .Values.nebula.unsatisfiableAction }}
topologySpreadConstraints: {{ toYaml .Values.nebula.topologySpreadConstraints | nindent 4 }}
enablePVReclaim: {{ .Values.nebula.enablePVReclaim }}
enableBR: {{ .Values.nebula.enableBR }}
{{- if .Values.nebula.logRotate }}
Expand Down
10 changes: 7 additions & 3 deletions charts/nebula-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ nebula:
enableBR: false
enableForceUpdate: false
schedulerName: default-scheduler # nebula-scheduler
topologySpreadConstraints: []
unsatisfiableAction: ScheduleAnyway
topologySpreadConstraints:
- topologyKey: "kubernetes.io/hostname"
whenUnsatisfiable: "ScheduleAnyway"
logRotate: {}
reference:
name: statefulsets.apps
Expand Down Expand Up @@ -107,8 +108,11 @@ nebula:
nodeSelector: {}
tolerations: []
affinity: {}
livenessProbe: {}
readinessProbe: {}
livenessProbe: {}
initContainers: []
sidecarContainers: []
sidecarVolumes: []
maxRequests: 20

agent:
Expand Down
Loading

0 comments on commit d940f40

Please sign in to comment.