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

Config maps don't apply when using a differen OS base image #34

Open
4 tasks done
likeMyCoffee opened this issue May 6, 2024 · 0 comments
Open
4 tasks done

Config maps don't apply when using a differen OS base image #34

likeMyCoffee opened this issue May 6, 2024 · 0 comments

Comments

@likeMyCoffee
Copy link

likeMyCoffee commented May 6, 2024

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here (legacy) and here
  • I've tried installing latest charts and the issue still persists there
  • I'm running a supported version of the application & chart which is listed here

Describe the bug (actual behavior)

( I've supplied the solution below but filling in the form :-) )

I'm running a debian based zulu-openjdk-17 OS version because Alpine doesn't do DNS in Kubernetes.

When trying to use the inline-configmaps or configmaps for the config I'm unable to. It no longer works for me. However everything works as expected when using the environment variables.

Expected behavior

Config to apply

Your installation details

I'm runing kafka ui 0.7.2
I'm running helm chart 0.7.6
Application config irrelevant becasue it's not applying. I've provided the fix and then my config applies and works.

Steps to reproduce

Install with helm chart and then use the yamlApplicationConfig or yamlApplicationConfigConfig

Screenshots

Not applicable

Logs

Not applicable

Additional context

The solution:

In deployment.yaml
Change

         - name: SPRING_CONFIG_ADDITIONAL-LOCATION

To

        - name: SPRING_CONFIG_ADDITIONALLOCATION

Reasoning:
Environment variable support for a dash (-) is dropped in bash. So mappings should not have a dash. In your documentation you point to a tool that does the correct mapping, however you didn't do it in the helm chart.
I believe Alpine Linux doesn't use bash so it's masking the bug and that's why it's probably working for everyone but me :)

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

No branches or pull requests

1 participant