Skip to content

Conversation

@ibakshay
Copy link
Contributor

@ibakshay ibakshay commented May 9, 2025

  • cleaned-up the helm-lint github actions workflow
  • added helm-docs for values.yaml auto generation
  • added heln-docs github actions workflow
  • other minor improvements

ibakshay added 6 commits May 8, 2025 14:34
* Includes `act_pull_request.json` to ignore during version control.
* Helps streamline local testing of GitHub Actions.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Set `validate-maintainers` and `check-version-increment` to true in `helm-lint.yaml`.
* Cleaned up formatting in `helm-lint.yaml` workflow file for consistency.
* Removed unused version bump check steps from the workflow.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Created a new `Makefile` for managing dependencies and installation of `helm-docs`.
* Added a `README.md.gotmpl` file to provide an overview of the project, including structure and contribution guidelines.
* Updated `.gitignore` to include the `bin` directory.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Introduced a new Makefile target `generate-readme` that runs `helm-docs` to generate the README.md file.
* This enhances documentation automation and ensures the README is up-to-date with the latest chart values.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
- Improved comment formatting for better readability.
- Enhanced descriptions for `prometheusRules` and `dashboards` sections.
- Updated version in `Chart.yaml` from `1.2.2` to `1.2.3`.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Introduced a new GitHub Actions workflow to automate the generation of `README.md` for the Helm charts.
* The workflow triggers on pull requests affecting `charts/kubernetes-operations/values.yaml`.
* It checks if the `README.md` is outdated and fails the job if updates are needed.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
@ibakshay ibakshay requested review from a team as code owners May 9, 2025 10:24
@ibakshay ibakshay marked this pull request as draft May 9, 2025 10:25
ibakshay added 11 commits May 9, 2025 13:04
…H` detection

* Simplified the architecture detection by using `uname -m` directly.
* Updated the `HELM_DOCS_REPO` variable to reflect the new method of determining the architecture.
* Added `-f` flag to `curl` command for better error handling during download.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Clarified comment for `labels` under `prometheusRules` to indicate it is a test.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Changed the path in the `git diff` command to check for updates in `README.md` directly.
* This simplifies the check by removing the specific directory reference.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Removed extraneous text from the comment for clarity.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
…tainer name

* Improved clarity of comments in `values.yaml` for `prometheusRules.annotations`.
* Standardized maintainer name format in `Chart.yaml`.
* Enhanced description for `prometheusRules.annotations` in `README.md`.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
- Introduced a new `.PHONY` target for `lint` to facilitate linting with a specified configuration.
- Ensures code quality and adherence to standards in the project.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Improved clarity of the error message when README.md is outdated.
* Encourages users to run `make generate-readme` to update the PR.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Updated the workflow to separate the display of the README.md error and the failure step.
* Improved clarity in the Helm Docs Check workflow for better maintainability.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Simplified the error message for outdated `README.md` in the GitHub Actions workflow.
* Removed redundant step that exited with an error if the README was outdated.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Updated the step name from `Display README.md error` to `Helm-Docs Check` for better understanding of its purpose.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Clarified the comment for `labels` under `prometheusRules` in `values.yaml`.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
@ibakshay ibakshay marked this pull request as ready for review May 9, 2025 11:49
Copy link
Member

@richardtief richardtief left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Looks reasonable to me.

ibakshay added 2 commits May 9, 2025 14:20
* Added missing dashes in comments for consistency.
* Corrected indentation for the `create` field under `dashboards`.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
* Updated the `paths-ignore` section to exclude 'README.md.gotmpl' from license checks.
* This change helps streamline the license validation process by ignoring template files.

Signed-off-by: Akshay Iyyadurai Balasundaram <[email protected]>
@ibakshay ibakshay requested a review from richardtief May 12, 2025 07:35
Copy link
Member

@richardtief richardtief left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. Thanks!

@ibakshay ibakshay merged commit 152da33 into main May 12, 2025
5 checks passed
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.

3 participants