Skip to content

Commit

Permalink
chore(chart): switch to a static entry in configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Apr 7, 2022
1 parent c0be7be commit 773613a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ spec:
- /app/config-db
args:
- serve
- -vvv
- -v
{{- range .Values.scrapeRuleConfigMaps }}
- /config/{{.}}/*.yaml
- /config/{{.}}/config.yaml
{{- end }}
env:
- name: DB_URL
Expand Down
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ image:
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

# a list of configmaps to load scrape rules from
# a list of configmaps to load scrape rules from, the configmap should have a single entry called "config.yaml"
scrapeRuleConfigMaps:
- config-db-rules
db:
Expand Down

0 comments on commit 773613a

Please sign in to comment.