Skip to content

Commit

Permalink
add cbs exporter args (#16)
Browse files Browse the repository at this point in the history
* add cbs exporter args

* update tencentcloud-info-exporter chart version

* add args

* update args name
  • Loading branch information
QSummerY authored May 19, 2022
1 parent 76dc175 commit f79edd4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tencentcloud-info-exporter/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: 0.1.0
version: 0.1.1

# 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
4 changes: 4 additions & 0 deletions charts/tencentcloud-info-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
env:
{{- toYaml . | nindent 12 }}
{{- end}}
{{- with .Values.args }}
args:
{{- toYaml . | nindent 12 }}
{{- end}}
ports:
- name: http
containerPort: {{ .Values.containerPort }}
Expand Down
1 change: 1 addition & 0 deletions charts/tencentcloud-info-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ extraEnvs: []
# - name: test
# value: test

args: ['metrics.es', 'metrics.cbs']

ingress:
enabled: false
Expand Down

0 comments on commit f79edd4

Please sign in to comment.