Skip to content

SAP BTP Operator Custom Resource ​

The btpoperators.operator.kyma-project.io Custom Resource Definition (CRD) is a comprehensive specification that defines the structure and format used to manage the configuration and status of the SAP BTP Operator module within your Kyma environment.

To get the latest CRD in the YAML format, run the following command:

shell
kubectl get crd btpoperators.operator.kyma-project.io -o yaml

You can only have one SAP BTP Operator (BtpOperator) CR. The BtpOperator CR must be in the kyma-system namespace, and the resource's name must be 'btpoperator'. Any other BtpOperator CR has the Warning state.

Sample Custom Resource ​

The following BtpOperator object defines a module:

yaml
apiVersion: operator.kyma-project.io/v1alpha1
kind: BtpOperator
metadata:
  finalizers:
    - operator.kyma-project.io/btp-manager
  labels:
    app.kubernetes.io/created-by: btp-manager
    app.kubernetes.io/instance: btpoperator
    app.kubernetes.io/managed-by: btp-manager
    app.kubernetes.io/name: btpoperator
    app.kubernetes.io/part-of: btp-manager
  name: btpoperator
  namespace: kyma-system
spec: {}
status:
  conditions:
    - lastTransitionTime: '2024-08-08T14:39:01Z'
      message: Module provisioning succeeded
      reason: ReconcileSucceeded
      status: 'True'
      type: Ready
  state: Ready

Custom Resource Parameters ​

Spec:

You can't configure any entry parameters in the BtpOperator CR.

Status:

No.CR stateCondition typeCondition statusCondition reasonRemark
1ReadyReadytrueReconcileSucceededReconciled successfully
2ReadyReadytrueUpdateCheckSucceededUpdate not required
3ReadyReadytrueUpdateDoneUpdate done
4ProcessingReadyfalseClusterIdChangedCluster ID changed
5ProcessingReadyfalseCredentialsNamespaceChangedCredentials namespace changed
6ProcessingReadyfalseInitializedInitial processing or chart is inconsistent
7ProcessingReadyfalseProcessingFinal State after deprovisioning
8ProcessingReadyfalseUpdateCheckChecking for updates
9ProcessingReadyfalseUpdatedResource has been updated
10DeletingReadyfalseHardDeletingTrying to hard delete
11DeletingReadyfalseSoftDeletingTrying to soft-delete after hard-delete failed
12ErrorReadyfalseAnnotatingSecretFailedAnnotating the required Secret failed
13ErrorReadyfalseChartInstallFailedFailure during chart installation
14ErrorReadyfalseChartPathEmptyNo chart path available for processing
15ErrorReadyfalseConsistencyCheckFailedFailure during consistency check
16ErrorReadyfalseDeletionOfOrphanedResourcesFailedDeletion of orphaned resources failed
17ErrorReadyfalseGettingConfigMapFailedGetting ConfigMap failed
18ErrorReadyfalseGettingDefaultCredentialsSecretFailedGetting default credentials Secret failed
19ErrorReadyfalseGettingSapBtpServiceOperatorClusterIdSecretFailedGetting SAP BTP service operator Cluster ID Secret failed
20ErrorReadyfalseGettingSapBtpServiceOperatorConfigMapFailedGetting SAP BTP service operator ConfigMap failed
21ErrorReadyfalseInconsistentChartChart is inconsistent, reconciliation initialized
22ErrorReadyfalseInvalidSecretsap-btp-manager Secret does not contain required data - create proper Secret
23ErrorReadyfalsePreparingInstallInfoFailedError while preparing installation information
24ErrorReadyfalseProvisioningFailedProvisioning failed
25ErrorReadyfalseReconcileFailedReconciliation failed
26ErrorReadyfalseResourceRemovalFailedSome resources can still be present due to errors while deprovisioning
27ErrorReadyfalseStoringChartDetailsFailedFailure of storing chart details
28WarningReadyfalseMissingSecretsap-btp-manager Secret was not found - create proper Secret
29WarningReadyfalseServiceInstancesAndBindingsNotCleanedDeprovisioning blocked because of ServiceInstances and/or ServiceBindings existence
30WarningReadyfalseWrongNamespaceOrNameWrong namespace or name