Skip to content

imagePullSecrets is positioned incorrectly in daemonset.yaml; should be at pod spec (not container) level #35

@dmytro-trainych-flutter

Description

Problem

In the helm/templates/daemonset.yaml file, the imagePullSecrets field is currently defined within both the initContainers and containers sections. According to Kubernetes spec, imagePullSecrets should be defined at the pod spec level, not within individual containers.

File reference

Example problematic section

initContainers:
  - name: jfrog-credential-provider-injector
    image: ...
    imagePullSecrets: ... # Incorrect placement

Expected

  • Move imagePullSecrets under the pod spec:
spec:
  imagePullSecrets:
    - name: <secret-name>
  ...

Solution

Update daemonset.yaml so that imagePullSecrets is configured under the pod spec, not within containers.

Impact

  • Ensures compatibility with Kubernetes standards
  • Prevents potential deployment errors and clarifies configuration

References

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions