Skip to content

Commit

Permalink
add namespace to sentry tags (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennsimon authored Sep 10, 2021
1 parent 45e31c8 commit 75cfceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/opensrp-server-web/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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.11
version: 0.1.12

# 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: 1 addition & 1 deletion charts/opensrp-server-web/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Find the podCIDRPattern
Get sentry tags
*/}}
{{- define "opensrp-server-web.sentryTags" }}
{{- $dynamicTagMap := dict "release-name" .Release.Name -}}
{{- $dynamicTagMap := dict "release-name" (.Release.Name) "release-namespace" (.Release.Namespace) -}}
{{- range $index, $element:=.Values.sentry.tags }}
{{- $_ := set $dynamicTagMap $index $element -}}
{{- end }}
Expand Down

0 comments on commit 75cfceb

Please sign in to comment.