keptn / lifecycle-toolkit

Toolkit for cloud-native application lifecycle management
https://keptn.sh
Apache License 2.0
272 stars 111 forks source link

feat(helm-chart): make charts Openshift compliant #3415

Closed smuda closed 2 months ago

smuda commented 3 months ago

Description

Allow removal of runAsUser and runAsGroup when running on openshift.

Fixes #3414

How to test

I've added a test under .github/scripts/.helm-tests and I hope that will run automatically together with the other tests, even though the github actions didn't run in my fork.

At least make helm-test works nicely :-).

Checklist

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.33%. Comparing base (ed152f0) to head (87cae22). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3415 +/- ## ========================================== + Coverage 85.29% 85.33% +0.04% ========================================== Files 167 167 Lines 7412 7412 ========================================== + Hits 6322 6325 +3 + Misses 801 799 -2 + Partials 289 288 -1 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/keptn/lifecycle-toolkit/pull/3415/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keptn) | [Flag](https://app.codecov.io/gh/keptn/lifecycle-toolkit/pull/3415/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keptn) | Coverage Δ | | |---|---|---| | [certificate-operator](https://app.codecov.io/gh/keptn/lifecycle-toolkit/pull/3415/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keptn) | `69.23% <ø> (ø)` | | | [component-tests](https://app.codecov.io/gh/keptn/lifecycle-toolkit/pull/3415/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keptn) | `58.04% <ø> (+0.24%)` | :arrow_up: | | [lifecycle-operator](https://app.codecov.io/gh/keptn/lifecycle-toolkit/pull/3415/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keptn) | `83.46% <ø> (ø)` | | | [metrics-operator](https://app.codecov.io/gh/keptn/lifecycle-toolkit/pull/3415/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keptn) | `88.32% <ø> (ø)` | | | [scheduler](https://app.codecov.io/gh/keptn/lifecycle-toolkit/pull/3415/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keptn) | `34.74% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keptn#carryforward-flags-in-the-pull-request-comment) to find out more.
odubajDT commented 2 months ago

Hi @smuda thank you for your contribution! Do you please have the capacity to make the required changes in the following days? We are planning to do a release in the next days and we would like to have this fix merged until then. If you do not have the capacity, we will take over the PR.

Thank you in advance!

smuda commented 2 months ago

Thank you! I'll fix this tonight.

odubajDT commented 2 months ago

Thank you! I'll fix this tonight.

@smuda thank you!

smuda commented 2 months ago

@StackScribe Thank you for the docs changes!

smuda commented 2 months ago

I rebased on top of main and handled most of your suggestions/comments. Could you please allow the rest of the tests to run?

smuda commented 2 months ago

Not many OSS have great documentation and you have even documented how to document. Impressive and awesome!

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud