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

Detect and automatically map the system properties that are used in the application.properties #177

Closed
Sgitario opened this issue Feb 13, 2023 · 0 comments · Fixed by #179

Comments

@Sgitario
Copy link
Contributor

For example, if we add the following configuration:

quarkus.datasource.jdbc.url=${POSTGRESQL_URL}
quarkus.datasource.username=${POSTGRESQL_USERNAME}
quarkus.datasource.password=${POSTGRESQL_PASSWORD}

I would like that the Quarkus HELM extension to automatically map those values into the generated Values.yaml file as:

app:
  envs:
    POSTGRESQL_URL: 
    POSTGRESQL_USERNAME: 
    POSTGRESQL_PASSWORD: 

At the moment, the only workaround is to configure either Kubernetes or Openshift as follows:

quarkus.openshift.env.vars.POSTGRESQL_URL=jdbc:postgresql://host:1111/database
quarkus.openshift.env.vars.POSTGRESQL_USERNAME=user
quarkus.openshift.env.vars.POSTGRESQL_PASSWORD=pass

And now, the Quarkus Helm will map those values.

It would be great if we could automatically find the system properties without needing to configure quarkus.openshift.env.vars.xxx.

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

Successfully merging a pull request may close this issue.

1 participant