Getting Started
Prerequisites
Before deploying the kubensync operator, ensure you have the following prerequisites:
- Kubernetes cluster up and running.
kubectl
CLI tool configured to access your cluster.cluster-admin
privileges.- Operator Lifecycle Manager (OLM) installed if you want to use the OLM installation method.
Installation
Default SA permissions
After installing the operator, the operator service account does not have permissions to create resources by default. Therefore, you need to define and grant the necessary permissions manually. This allows you to specify the minimum permission level required for the operator to create objects.
The reason for this is that the template is rendered at runtime, so it is not possible to determine the required permissions for each specific scenario before installing the operator.
Using Operator Lifecycle Manager (OLM)
- Install the
kubensync
operator from the OperatorHub.
Using Helm
- Add the
kubensync
Helm repository: -
Install the
kubensync
operator:Note
You can customize the installation by providing additional parameters in the values.yaml. You can find more information about the available parameters in the Helm Chart
Using kubectl / kustomize
- Install the operator:
-
Grant Permissions:
Uninstallation
Using Operator Lifecycle Manager (OLM)
- Open the olm in your cluster.
- Find the kubensync operator and click "Uninstall."
Using kubectl / kustomize
- Delete the operator:
- Delete Permissions: