Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init.image.pullPolicy and nodeAgent.image.pullPolicy not being respect #3009

Open
zyue110026 opened this issue Aug 8, 2024 · 1 comment
Open
Labels

Comments

@zyue110026
Copy link
Contributor

We have noticed two instances of incorrect helming in your Kubernetes configuration files. Hardcoded or default configuration values in the template are considered anti-pattern and configurable values in the values.yaml file are not being respect, resulting in user-provided configurations never being applied. Additionally, we provide anecdotal evidence from trivy-operator#729 regarding the incorrect helming defect.

What happened:

init.image.pullPolicy and nodeAgent.image.pullPolicy not take affect when changing them to other values. This is due to missing implementation for this value in daemonset.yaml file:

image: {{ include "aws-vpc-cni.nodeAgentImage" . }}

Attach logs

What you expected to happen:

change image pullpolicy for initcontainer and nodeAgent image can take affect, or delete these two values in value.yaml file

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • CNI Version: main version
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
@orsenthil
Copy link
Member

This is fixed in #3010 and will be available in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants