-
Notifications
You must be signed in to change notification settings - Fork 0
docs: Update README and add other docs #4
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| # Contributing to the Project | ||
|
|
||
| This document contains and defines the rules that have to be followed by any | ||
| contributor to the project, in order for any change to be merged into the | ||
| stable branches. | ||
|
|
||
| More information can be found via the [Kubebuilder Documentation](https://book.kubebuilder.io/introduction.html) | ||
|
|
||
| ## Workflow Guidelines | ||
|
|
||
| ### Committing Guidelines | ||
|
|
||
| No restrictions are placed at this time on individual commits passing in the | ||
| CI and/or maintaining full functionality of the repository. | ||
|
|
||
| Commit messages should: | ||
|
|
||
| * have a short (< 50 characters) summary as title | ||
| * contain more explanations, if necessary, in the body | ||
| * contain a reference to the issue being tackled in the body | ||
|
|
||
| A commit message should *not* contain a reference to the issue in the title. | ||
|
|
||
| ### Pull Request Guidelines | ||
|
|
||
| Pull requests should contain in their body a reference to the GitHub issue | ||
| being targeted by the changeset introduced. | ||
|
|
||
| ### Signing your work | ||
|
|
||
| In order to contribute to the project, you must sign your work. By signing your | ||
| work, you certify to the statements set out in the Developer Certificate of | ||
| Origin ([developercertificate.org](https://developercertificate.org/)) | ||
|
|
||
| Signing your work is easy. Just add the following line at the end of each of | ||
| your commit messages. You must use your real name in your sign-off. | ||
|
|
||
| ``` | ||
| Signed-off-by: Jane Doe <jane.doe@email.com> | ||
| ``` | ||
|
|
||
| If your `user.name` and `user.email` are set in your git configs, you can sign | ||
| each commit automatically by using the `git commit -s` command. | ||
|
|
||
| ## Reporting an issue | ||
|
|
||
| This project uses Github issues to manage the issues. | ||
|
|
||
| Before creating an issue: | ||
|
|
||
| 1. upgrade the operator to the latest supported release version, and check whether your bug is still present, | ||
| 2. ensure the operator version is supported by the PowerDNS version you are using, | ||
| 3. have a look in the opened issues if your problem is already known/tracked, and possibly contribute to the thread with your own information. | ||
|
|
||
| If none of the above was met, open an issue directly in Github, select the appropriate issue template and fill-in each section when applicable. | ||
|
|
||
| ## Development Setup | ||
|
|
||
| ### Prerequisites | ||
|
|
||
| - go version v1.25.0+ | ||
| - docker | ||
| - kubectl | ||
| - make | ||
| - operator-sdk | ||
| - Docker (for building) | ||
| - Kind (for running e2e tests) | ||
|
|
||
| We recommend using the [devcontainer](https://code.visualstudio.com/docs/devcontainers/containers) | ||
| provided here that come with all necessary tools pre-installed. | ||
|
|
||
| ## Testing & Linting | ||
|
|
||
| Run linting: | ||
| ```sh | ||
| make lint | ||
| ``` | ||
|
|
||
| Run tests: | ||
| ```sh | ||
| make test | ||
| ``` | ||
|
|
||
| Run e2e tests: | ||
| ```sh | ||
| make test-e2e | ||
| ``` | ||
|
|
||
| **NOTE:** Run `make help` for more information on all potential `make` targets | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Design | ||
|
|
||
| ## Goal | ||
|
|
||
| The goal of the CRL Operator is to provide automated management of | ||
| Certificate Revocation Lists (CRLs) within Kubernetes environments. It aims to simplify the | ||
| deployment, updating, and maintenance of CRLs as custom resources as well as | ||
| patching ClusterIssuer/Issuer resources from cert-manager to include CRL distribution points. | ||
|
|
||
| ## Technical Details | ||
|
|
||
| The CRL Operator is built using the Operator SDK and follows the | ||
| Kubernetes Operator pattern. It defines a Custom Resource Definition (CRD) for | ||
| ManagedCRL resources, which represent individual CRLs to be managed by the operator. The operator | ||
| watches for changes to ManagedCRL resources and performs the necessary actions to | ||
| ensure that the CRLs are correctly deployed and updated within the cluster. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.