-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing steps #892
Add missing steps #892
Conversation
Add one of following labels |
@@ -1,21 +1,22 @@ | |||
# Create a Service Instance with a Custom Secret | |||
# Instance-Level Mapping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the meaning of the title?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added the explanation you provided - thank you :)
|
||
* A subaccount in the SAP BTP cockpit | ||
To create a service instance with a custom Secret, you must use the **btpAccessCredentialsSecret** field in the `spec` of the service instance. In it, you pass the Secret from the `kyma-system` namespace to create your service instance. You can use different Secrets for different service instances. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"pass the Secret name"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not an instruction, so I'm not using an imperative. This section just explains what this process consists in.
5. In the same working directory, generate the Secret by calling the `create-secret-file.sh` script with the **operator** option as the first parameter and **namespace-name-sap-btp-service-operator** Secret as the second parameter. | ||
1. In the SAP BTP cockpit, create an SAP Service Manager service instance with the `service-operator-access` plan. | ||
2. Create a service binding to the SAP Service Manager service instance you have created. | ||
1. Get the access credentials of the SAP Service Manager instance with the `service-operator-access` plan from its service binding. Copy them from the SAP BTP cockpit as a JSON. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like numbering starts from the beginning here (1 instead of 3)
|
||
To have service instances from one subaccount associated with one namespace, you must use a Secret dedicated to this namespace to create these service instances. | ||
|
||
## Prerequisites | ||
|
||
* A subaccount in the SAP BTP cockpit | ||
* A subaccount in the SAP BTP cockpit. | ||
* kubectl configured for communicating with your Kyma instance. | ||
|
||
## Procedure | ||
|
||
### Create a Namespace-Based Secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we merge the section with the Create Your Custom Secret section. It seems like both do the same but just use different namespaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not exactly the same, and the idea was to describe two complete processes separately.
1. [Create an SAP Service Manager service instance](03-30-management-of-service-instances-and-bindings.md#create-a-service-instance) with the `service-operator-access` plan. | ||
2. [Create a service binding](03-30-management-of-service-instances-and-bindings.md#create-a-service-binding) to the SAP Service Manager service instance you have created. | ||
1. In the SAP BTP cockpit, create an SAP Service Manager service instance with the `service-operator-access` plan. | ||
2. Create a service binding to the SAP Service Manager service instance you have created. | ||
3. Get the access credentials of the SAP Service Manager instance from its service binding. Copy them from the BTP cockpit as a JSON. | ||
4. Create the `creds.json` file in your working directory and save the credentials there. | ||
5. In the same working directory, generate the Secret by calling the `create-secret-file.sh` script with the **operator** option as the first parameter and **your-secret-name** as the second parameter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The warning in the point 5 seems to bee to soon in the file.
1. [Create an SAP Service Manager service instance](03-30-management-of-service-instances-and-bindings.md#create-a-service-instance) with the `service-operator-access` plan. | ||
2. [Create a service binding](03-30-management-of-service-instances-and-bindings.md#create-a-service-binding) to the SAP Service Manager service instance you have created. | ||
1. In the SAP BTP cockpit, create an SAP Service Manager service instance with the `service-operator-access` plan. | ||
2. Create a service binding to the SAP Service Manager service instance you have created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we point to the guide on how to create a binding in the prerequisites?
kubectl get secret -n kyma-system {YOUR_SECRET_NAME} | ||
``` | ||
|
||
You can see the status `Created`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual output of the command is as follows:
NAME TYPE DATA AGE
my-secret Opaque 5 2m20s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm removing point 7 as it's unnecessary.
``` | ||
|
||
You see the status `Created`. | ||
You see the staus `Created` and the message that your service instance has been created successfully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You see the staus `Created` and the message that your service instance has been created successfully. | |
You see the status `Created` and the message that your service instance has been created successfully. |
Description
Changes proposed in this pull request: