Addon means an extension of ks-devops. For intance: Jenkins, Argo CD, SonarQube, ks-releaser, etc.
There are two CRDs:
Addon
, it represents a componentAddonStrategy
, it describes how to install an addon.
Name | Description |
---|---|
ks-releaser | Help to release a project which especially has multiple git repositories. |
Argo CD | Declarative continuous deployment for Kubernetes. |
The Addon Controller
is optional, please add the flag --enabled-controllers addon=true
into the controller command line.
For instance:
spec:
containers:
- args:
- --enabled-controllers
- addon=true
image: ghcr.io/kubesphere/devops-controller
then, create the AddonStrategy
: simple-operator-argocd
and ks-releaser-simple-operator
. You can find the YAML files from here.
install operator, for instance:
kubectl apply -f https://github.com/kubesphere-sigs/ks-releaser-operator/releases/download/v0.0.2/install.yaml
finally, you can install ks-releaser
by adding the following resource:
apiVersion: devops.kubesphere.io/v1alpha3
kind: Addon
metadata:
name: ks-releaser
spec:
version: v0.0.14
strategy:
name: simple-operator-releasercontroller
Want to support more addons? It would be easy if you can find it from the operator hub.
Restriction:
- Require install desired operator manually.
- Hard code about the supported addons