To create the sap-btp-manager
Secret, follow these steps:
-
To obtain the access credentials to the service instance, create a service binding. For details, see Setup: Obtain the access credentials for the SAP BTP service operator.
-
Copy and save the access credentials into your
creds.json
file in your working directory. -
In the same directory, run the following script to create the Secret:
curl https://raw.githubusercontent.com/kyma-project/btp-manager/main/hack/create-secret-file.sh | bash -s
The expected result is the file operator-secret.yaml
created in your working directory:
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: sap-btp-manager
namespace: kyma-system
labels:
app.kubernetes.io/managed-by: kcp-kyma-environment-broker
data:
clientid: {CLIENT_ID}
clientsecret: {CLIENT_SECRET}
sm_url: {SM_URL}
tokenurl: {AUTH_URL}
cluster_id: {CLUSTER_ID}