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

Refactoring DCE #496

Closed
wants to merge 10 commits into from
Closed

Refactoring DCE #496

wants to merge 10 commits into from

Conversation

bonddim
Copy link
Contributor

@bonddim bonddim commented Jun 20, 2024

  • Document your Changes in the CHANGELOG.md file of the respected chart as well as the Chart.yaml
  • explain your motives to contribute this change: what problem you are trying to fix, what improvement you are trying to make
    Refactored dce chart as was promised in Sonarqube chart maintenance #473.

Minor fixes:

  • Render correct value in application revisionHistoryLimit
  • Remove extra spaces in 'key: value' pairs
  • Render correct value for application extraInitContainers

Removed:

  • Rendering of depracated in 0.3.0 '*.image.pullSecret'
  • Rendering of '.Values.resource' (I can't find when it was deprecated, probably some typo from initial)
  • Headless service for app Deployment

Refactorings:

  • Added helpers for labels
  • Fixed template expression's indentation
  • Fixed whitespace processing
  • Replace 'if' conditions by 'with' where applicable
  • Use 'sonarqube.serviceAccount' template in SCC
  • Replace template action by include function
  • Add conditions to configmaps
  • Remove deprecated annotation from search headless service
  • Specify service type for search headless service
  • Simplify LoadBalancer values rendering
  • Remove unused "postgresql.fullname"
  • Remove useless "common.capabilities.policy.apiVersion" (chart requires Kubernetes > 1.24)
  • Simplify conditions in "jdbc.secret" template
  • Added additional named templates for common init containers
  • Move volumeClaimTemplates section to bottom
  • Write simple commands in one line
  • Separate manifests into sub-directories for better vision what is used by workload

- Render correct value in application revisionHistoryLimit
- Remove extra spaces in 'key: value' pairs
- Render correct value for application extraInitContainers
- Added helpers for labels
- Fixed template expression's indentation
- Fixed whitespace processing
- Replace 'if' conditions by 'with' where applicable
- Use 'sonarqube.serviceAccount' template in SCC
- Remove rendering of '.Values.resource'
- Remove headless service for app Deployment
- Remove deprecated annotation from search headless service
- Specify service type for search headless service
- Simplify LoadBalancer values rendering
- Remove unused "postgresql.fullname"
- Remove useless "common.capabilities.policy.apiVersion" (chart requires Kubernetes > 1.24)
- Simplify conditions in "jdbc.secret"
- Added additional named templates for common init containers
- Move volumeClaimTemplates section to bottom
- Write simple commands in one line
@davividal
Copy link
Contributor

davividal commented Jul 30, 2024

Hi @bonddim. Thank you again for this fantastic contribution!

Your previous PR resulted in SONAR-22435, which this PR of yours will fix. Unfortunately, we don't have the resources to test this PR properly, so I will close it now. However, we will reopen it as soon as we can test and apply your changes.

@davividal davividal closed this Jul 30, 2024
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.

2 participants