Skip to content

Commit

Permalink
namespace-lister: disable configmap name suffix hashing (#5288)
Browse files Browse the repository at this point in the history
Currently, when we generate the configmap for the proxy, kustomize will
automatically append a hash to its name.  This breaks the proxy
deployment, since it looks for a configmap with a specific name.

We can fix this either by disabling name suffix hashing or by injecting
the name via a replacement.  The former is easier to implement, so opt
to implement that method.

Signed-off-by: Andy Sadler <[email protected]>
  • Loading branch information
sadlerap authored Jan 16, 2025
1 parent fbee540 commit e412d98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/namespace-lister/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ configMapGenerator:
- files:
- nginx.conf=nginx.conf
name: nginx
options:
disableNameSuffixHash: true
images:
- name: namespace-lister
newName: quay.io/konflux-ci/namespace-lister
Expand Down

0 comments on commit e412d98

Please sign in to comment.