1+ [ ![ Post Merge] ( https://github.com/scality/crl-operator/actions/workflows/post-merge.yaml/badge.svg )] ( https://github.com/scality/crl-operator/actions/workflows/post-merge.yaml )
2+
13# crl-operator
2- // TODO(user): Add simple overview of use/purpose
4+
5+ A Kubernetes operator for managing Certificate Revocation Lists (CRLs) in your cluster
6+ based on ClusterIssuer/Issuer resources from cert-manager.
37
48## Description
5- // TODO(user): An in-depth paragraph about your project and overview of use
9+
10+ The CRL Operator provides automated management of Certificate Revocation Lists within
11+ Kubernetes environments. It enables cluster administrators to deploy, update, and maintain
12+ CRLs as custom resources.
13+
14+ The CRL can also be exposed in a Pod via an NGINX server, allowing clients to retrieve
15+ the CRL using HTTP requests internally using a Kubernetes Service or externally via
16+ an Ingress resource (that can be managed by the operator as well).
17+
18+ The operator handles CRL lifecycle management, periodic updates, and patch of ClusterIssuer/Issuer
19+ resources from cert-manager to include CRL distribution points.
620
721## Getting Started
822
923### Prerequisites
1024- go version v1.25.0+
11- - docker version 17.03+.
12- - kubectl version v1.11.3+.
13- - Access to a Kubernetes v1.11.3 + cluster.
25+ - docker
26+ - kubectl
27+ - Access to a Kubernetes v1.32 + cluster
1428
1529### To Deploy on the cluster
1630** Build and push your image to the location specified by ` IMG ` :**
@@ -21,7 +35,7 @@ make docker-build docker-push IMG=<some-registry>/crl-operator:tag
2135
2236** NOTE:** This image ought to be published in the personal registry you specified.
2337And it is required to have access to pull the image from the working environment.
24- Make sure you have the proper permission to the registry if the above commands don’ t work.
38+ Make sure you have the proper permission to the registry if the above commands don' t work.
2539
2640** Install the CRDs into the cluster:**
2741
@@ -45,9 +59,10 @@ You can apply the samples (examples) from the config/sample:
4559kubectl apply -k config/samples/
4660```
4761
48- > ** NOTE** : Ensure that the samples has default values to test it out .
62+ > ** NOTE** : Ensure to update the sample CRs to fit your needs before applying them to the cluster .
4963
5064### To Uninstall
65+
5166** Delete the instances (CRs) from the cluster:**
5267
5368``` sh
@@ -66,56 +81,9 @@ make uninstall
6681make undeploy
6782```
6883
69- ## Project Distribution
70-
71- Following the options to release and provide this solution to the users.
72-
73- ### By providing a bundle with all YAML files
74-
75- 1 . Build the installer for the image built and published in the registry:
76-
77- ``` sh
78- make build-installer IMG=< some-registry> /crl-operator:tag
79- ```
80-
81- ** NOTE:** The makefile target mentioned above generates an 'install.yaml'
82- file in the dist directory. This file contains all the resources built
83- with Kustomize, which are necessary to install this project without its
84- dependencies.
85-
86- 2 . Using the installer
87-
88- Users can just run 'kubectl apply -f <URL for YAML BUNDLE >' to install
89- the project, i.e.:
90-
91- ``` sh
92- kubectl apply -f https://raw.githubusercontent.com/< org> /crl-operator/< tag or branch> /dist/install.yaml
93- ```
94-
95- ### By providing a Helm Chart
96-
97- 1 . Build the chart using the optional helm plugin
98-
99- ``` sh
100- operator-sdk edit --plugins=helm/v1-alpha
101- ```
102-
103- 2 . See that a chart was generated under 'dist/chart', and users
104- can obtain this solution from there.
105-
106- ** NOTE:** If you change the project, you need to update the Helm Chart
107- using the same command above to sync the latest changes. Furthermore,
108- if you create webhooks, you need to use the above command with
109- the '--force' flag and manually ensure that any custom configuration
110- previously added to 'dist/chart/values.yaml' or 'dist/chart/manager/manager.yaml'
111- is manually re-applied afterwards.
112-
11384## Contributing
114- // TODO(user): Add detailed information on how you would like others to contribute to this project
115-
116- ** NOTE:** Run ` make help ` for more information on all potential ` make ` targets
11785
118- More information can be found via the [ Kubebuilder Documentation ] ( https://book.kubebuilder.io/introduction.html )
86+ See [ contributing ] ( CONTRIBUTING.md ) for details.
11987
12088## License
12189
0 commit comments