/btp-manager

BTP Manager installs SAP BTP Service Operator as Kyma module

Primary LanguageGoApache License 2.0Apache-2.0

BTP Manager

Overview

BTP Manager is an operator for SAP BTP Service Operator based on the Kubebuilder framework. It extends Kubernetes API by providing BtpOperator CRD which allows you to manage SAP BTP Service Operator resource through CR. For more information, see the BTP Manager documentation.

Prerequisites

Install BTP Manager

You can install BTP Manager locally or in your cluster. For more information, read the Install and uninstall BTP Manager document.

Usage

Install SAP BTP Service Operator

You can install SAP BTP Service Operator:

with a real BTP Manager Secret

To install SAP BTP Service Operator with a real BTP Manager Secret, follow these steps:

  1. Create ServiceBinding to obtain the access credentials to the ServiceInstance as described in points 2b and 2c of the Setup section in the SAP BTP Service Operator documentation.

  2. Copy the access credentials into the hack/creds.json file.

  3. Call create-secret-file.sh.

  4. Apply the Secret in your cluster.

    ./hack/create-secret-file.sh
    kubectl apply -f deployments/prerequisites.yaml
    kubectl apply -f hack/operator-secret.yaml
    kubectl apply -f examples/btp-operator.yaml
with a dummy BTP Manager Secret

To install SAP BTP Service Operator with a dummy BTP Manager Secret, run the following commands:

kubectl apply -f deployments/prerequisites.yaml
kubectl apply -f examples/btp-manager-secret.yaml
kubectl apply -f examples/btp-operator.yaml

To check the BtpOperator CR status, run the following command:

kubectl get btpoperators btpoperator

The expected result is:

NAME                 STATE
btpoperator   Ready

Uninstall SAP BTP Service Operator

To uninstall SAP BTP Service Operator, run the following commands:

kubectl delete -f examples/btp-operator.yaml
kubectl delete -f examples/btp-manager-secret.yaml
kubectl delete -f deployments/prerequisites.yaml