Skip to content

fix(chart): render workload pod settings#59

Merged
izturn merged 1 commit into
mainfrom
fix/chart-tmpl
Jul 16, 2026
Merged

fix(chart): render workload pod settings#59
izturn merged 1 commit into
mainfrom
fix/chart-tmpl

Conversation

@izturn

@izturn izturn commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@izturn
izturn merged commit 71e2ae2 into main Jul 16, 2026
2 checks passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for custom pod labels, node selectors, affinity, and tolerations to both the agent daemonset and controller deployment Helm templates, along with corresponding verification tests in verify-helm.sh and updates to .dockerignore. The feedback suggests using the more idiomatic parenthesized (dict) instead of dict as a default value in the Helm templates to prevent potential parsing issues.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

app: {{ include "kcover.fullname" . }}-agent
template:
metadata:
{{- $podLabels := deepCopy (default dict .Values.agent.podLabels) }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using default dict is non-idiomatic in Helm templates and can be confusing or cause parsing issues with some IDEs/linters. It is highly recommended to use parenthesized (dict) to explicitly evaluate the function and return an empty dictionary.

      {{- $podLabels := deepCopy (default (dict) .Values.agent.podLabels) }}

type: RollingUpdate
template:
metadata:
{{- $podLabels := deepCopy (default dict .Values.controller.podLabels) }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using default dict is non-idiomatic in Helm templates and can be confusing or cause parsing issues with some IDEs/linters. It is highly recommended to use parenthesized (dict) to explicitly evaluate the function and return an empty dictionary.

      {{- $podLabels := deepCopy (default (dict) .Values.controller.podLabels) }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant