[incubator/monochart] Dockercfg name mismatch

Open
#266 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, helm, kubernetes

Research direction

The report points to incubator/monochart v0.25.0, values.yaml, the dockercfg secret, and the Deployment's imagePullSecrets; inspect the chart templates that render those two resources and compare their generated names. Verify with the provided values and release name foo that both names match and the Deployment can use the pull secret.

Written by the indexing model from the issue text.

Description

Environment

Chart: incubator/monochart v0.25.0

What I expect

If I use the following in values.yaml

dockercfg:
  enabled: true
  image:
    pullSecret:
      registry: foo
      username: bar
      password: baz
...

A secret is created and referenced correctly in a Deployment's pullSecrets

What I experienced

If, for example, my release name is foo, the secret is named foo-dockercfg but the imagePullSecrets section in the deployment says

imagePullSecrets:
  - name: foo-monochart

Since they don't match, the image pull fails.

Visual Aids

image

image

image

image

Dominant language
Mustache
Stars
160
Forks
60
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudposse/charts

All issues in cloudposse/charts

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.