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

feat: add internal/external Postgres config #48

Conversation

pmoscode
Copy link
Contributor

@pmoscode pmoscode commented Aug 7, 2023

Description

Adds the ability to configure the PostgreSQL DB. Now, you can bring your own PostgreSQL or use the bundled one.
And you can also predefine the DB password or let PostgreSQL create one for you.

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

  • DEPENDENCIES are up to date. Dash license tool. Committers can open IP issues for restricted libs.
  • Copyright and license header are present on all affected files

@pmoscode
Copy link
Contributor Author

pmoscode commented Aug 7, 2023

@borisrizov-zf @mknoopvw
Please, review the changes.

@pmoscode pmoscode marked this pull request as ready for review August 7, 2023 12:51
@pmoscode
Copy link
Contributor Author

pmoscode commented Aug 7, 2023

@SebastianBezold
Please merge this PR after review is done.
Thx

.github/workflows/chart-lint.yml Outdated Show resolved Hide resolved
charts/managed-identity-wallet/values.yaml Outdated Show resolved Hide resolved
charts/managed-identity-wallet/values.yaml Outdated Show resolved Hide resolved
@SebastianBezold
Copy link
Contributor

HI all,
there are again valuable comments to the change from @borisrizov-zf, but the PR is approved anyways.
Just as suggestion, I would rather address or fix the comments right in this PR (preferred), or at least create issues as a reminder of the spots, that can be improved.
I think if i'll merge the PR without addressing the comments or creating issues, the valuable feedback will be lost

- fix test for deployment
- add explanation for test
- rework description in values.yaml
- quote every value in values*.yaml - env section
-
@mknoopvw
Copy link
Contributor

mknoopvw commented Aug 8, 2023

I am just curious:
In the "{stage}-values.yaml" were "" added for some values: is this to fix the fault or just to unify the appearance?
Thank you.

@pmoscode pmoscode requested a review from mknoopvw August 8, 2023 10:14
@pmoscode
Copy link
Contributor Author

pmoscode commented Aug 8, 2023

HI all,
there are again valuable comments to the change from @borisrizov-zf, but the PR is approved anyways.
Just as suggestion, I would rather address or fix the comments right in this PR (preferred), or at least create issues as a reminder of the spots, that can be improved.
I think if i'll merge the PR without addressing the comments or creating issues, the valuable feedback will be lost

Hi @SebastianBezold,
sorry for the misleading post. First all reviews should be green, and then...
Now, it's done.
Fyi: The "Lint and Test Chart" check is failing, because the image isn't available on hub.docker.com yet.

Thx

@almadigabor
Copy link
Contributor

HI all,
there are again valuable comments to the change from @borisrizov-zf, but the PR is approved anyways.
Just as suggestion, I would rather address or fix the comments right in this PR (preferred), or at least create issues as a reminder of the spots, that can be improved.
I think if i'll merge the PR without addressing the comments or creating issues, the valuable feedback will be lost

Hi @SebastianBezold, sorry for the misleading post. First all reviews should be green, and then... Now, it's done. Fyi: The "Lint and Test Chart" check is failing, because the image isn't available on hub.docker.com yet.

Thx

Hi @pmoscode! The "Lint and Test Charts" workflow fails because one of the container environment variables in the values.yaml is invalid. See the error description.

@pmoscode
Copy link
Contributor Author

HI all,
there are again valuable comments to the change from @borisrizov-zf, but the PR is approved anyways.
Just as suggestion, I would rather address or fix the comments right in this PR (preferred), or at least create issues as a reminder of the spots, that can be improved.
I think if i'll merge the PR without addressing the comments or creating issues, the valuable feedback will be lost

Hi @SebastianBezold, sorry for the misleading post. First all reviews should be green, and then... Now, it's done. Fyi: The "Lint and Test Chart" check is failing, because the image isn't available on hub.docker.com yet.
Thx

Hi @pmoscode! The "Lint and Test Charts" workflow fails because one of the container environment variables in the values.yaml is invalid. See the error description.

Yes, you're right. Fixed it. But the test is still failing, because the corresponding image isn't released on Docker Hub yet. Pipeline is still in dev.

@pmoscode
Copy link
Contributor Author

@almadigabor
Fix is done.

@almadigabor almadigabor merged commit 21ec362 into eclipse-tractusx:main Aug 14, 2023
3 of 4 checks passed
@almadigabor
Copy link
Contributor

Merged this PR but raised a new issue #51, so the helm test workflow can run properly even when the new image version is not yet released.

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 this pull request may close these issues.

5 participants