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

namespace-lister: disable configmap name suffix hashing #5288

Conversation

sadlerap
Copy link
Contributor

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.

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 <ansadler@redhat.com>
@sadlerap
Copy link
Contributor Author

FWIW, I'm opting to fix proxy here since I don't have permissions to do port-forwarding on the staging clusters.

$ oc auth can-i create pods/port-forward -n namespace-lister
no

Copy link

openshift-ci bot commented Jan 16, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: filariow, sadlerap

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@filariow
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 16, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit e412d98 into redhat-appstudio:main Jan 16, 2025
6 checks passed
@sadlerap sadlerap deleted the namespace-lister-fix-configmap branch January 16, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants