Skip to content

Commit 2228ff7

Browse files
dpacheconrclaude
andcommitted
feat(newrelic-logging): add global.images.pullSecrets support to daemonset
Update imagePullSecrets rendering to cascade from global.images.pullSecrets: - Updated daemonset.yaml imagePullSecrets to include global.images.pullSecrets - Uses common library renderPullSecrets helper with concat - Maintains compatibility with existing chart-level image.pullSecrets Configuration hierarchy: 1. global.images.pullSecrets (applied first - highest priority) 2. image.pullSecrets (chart level - applied second) Both sources are concatenated to support flexible secret management. 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d50f601 commit 2228ff7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

charts/newrelic-logging/templates/daemonset.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ spec:
3939
{{- end }}
4040
dnsPolicy: ClusterFirstWithHostNet
4141
terminationGracePeriodSeconds: 10
42-
{{- with include "newrelic.common.images.renderPullSecrets" ( dict "pullSecrets" (list .Values.image.pullSecrets) "context" .) }}
42+
{{- $globalPullSecrets := .Values.global.images.pullSecrets | default list }}
43+
{{- with include "newrelic.common.images.renderPullSecrets" ( dict "pullSecrets" (concat $globalPullSecrets (list .Values.image.pullSecrets)) "context" .) }}
4344
imagePullSecrets:
4445
{{- . | nindent 8 }}
4546
{{- end }}

0 commit comments

Comments
 (0)