Skip to content

Commit

Permalink
chore: Chart version and .Values.monitorEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Oct 26, 2023
1 parent 99add43 commit 5940d72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/oceanbase-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.2.0
version: 4.2.0-sp.0-101000032023091319

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/oceanbase-cluster/templates/obcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ spec:
size: {{ $size }}
{{- end }}
{{- end }}
{{- if .Values.monitorEnabled }}
monitor:
image: oceanbase/obagent:4.2.0-100000062023080210
resource:
{{- toYaml .Values.monitorResource | nindent 6 }}
{{- end }}
parameters:
{{- range $param := .Values.parameters }}
- name: {{ $param.name }}
Expand Down
1 change: 1 addition & 0 deletions charts/oceanbase-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ observerConfig:
redoLogStorage: 50Gi
logStorage: 20Gi

monitorEnabled: true
monitorResource:
cpu: 1
memory: 2Gi
Expand Down

0 comments on commit 5940d72

Please sign in to comment.