Skip to content

Commit

Permalink
fix(shield): touch up custom port formatting (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
aroberts87 authored Nov 8, 2024
1 parent 79d8dd7 commit d805ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/shield/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ maintainers:
- name: mavimo
email: [email protected]
type: application
version: 0.1.14
version: 0.1.15
appVersion: "1.0.0"
2 changes: 1 addition & 1 deletion charts/shield/templates/cluster/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{{- end -}}
{{- end -}}
{{- if and .Values.sysdig_endpoint.collector.host .Values.sysdig_endpoint.collector.port -}}
{{- $_ := set $sysdigEndpointConfig "collector" (printf "%s:%.0f" .Values.sysdig_endpoint.collector.host .Values.sysdig_endpoint.collector.port) -}}
{{- $_ := set $sysdigEndpointConfig "collector" (printf "%s:%d" .Values.sysdig_endpoint.collector.host (.Values.sysdig_endpoint.collector.port | int)) -}}
{{- end -}}
{{- $_ := set $config "sysdig_endpoint" $sysdigEndpointConfig -}}
{{- $_ := set $config "cluster_config" (dict "name" .Values.cluster_config.name) -}}
Expand Down

0 comments on commit d805ca0

Please sign in to comment.