Skip to content

Commit

Permalink
fix(artifact-caching-proxy): single quote around values.logCollection…
Browse files Browse the repository at this point in the history
…config (#301)

* fix(artifact-caching-proxy): single quote around values.logCollection.config

The single quotes present in the values.yaml are lost when applied in the statefulset, rendering this value recognized as an array instead of a string.

* Update Chart.yaml
  • Loading branch information
lemeurherve authored Nov 4, 2022
1 parent 55ea497 commit 867d7e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/artifact-caching-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
description: artifact-caching-proxy is a Nginx caching proxy in front of repo.jenkins-ci.org
name: artifact-caching-proxy
type: application
version: 0.4.2
version: 0.4.3
2 changes: 1 addition & 1 deletion charts/artifact-caching-proxy/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
}
{{- if .Values.logCollection.enabled }}
# log collection with Datadog
ad.datadoghq.com/{{ .Chart.Name }}.logs: {{ .Values.logCollection.config }}
ad.datadoghq.com/{{ .Chart.Name }}.logs: {{ .Values.logCollection.config | squote }}
{{- end }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 867d7e3

Please sign in to comment.