API Reference
Packages:
operator.ibm.com/v1alpha1
Resource Types:
BusinessTeamsService
Name | Type | Description | Required |
---|---|---|---|
apiVersion | string | operator.ibm.com/v1alpha1 | true |
kind | string | BusinessTeamsService | true |
metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. |
true |
spec | object |
BusinessTeamsServiceSpec defines the desired state of BusinessTeamsService |
false |
status | object |
BusinessTeamsServiceStatus defines the observed state of BusinessTeamsService. |
false |
BusinessTeamsService.spec
BusinessTeamsServiceSpec defines the desired state of BusinessTeamsService
Name | Type | Description | Required | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adminRoles | []string |
Assign a list of Zen role names to assign BTS administrator permission to. Users that are assigned one of these roles get the permission to administer BTS teams. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
backup | object |
The backup configuration of the PostgreSQL database. This configuration relies on the EDB PostgreSQL operator's backup configuration. See https://cloudnative-pg.io/documentation/1.18/api_reference/#BackupConfiguration for reference. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
clusterSecretName | string |
This is mainly used on a recovered EBD PostgreSQL database instance. In case the app secret of PostgreSQL was not saved, this can be used to point to the admin secret on the recovered instance. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
commonServicesNamespace | string |
Custom setting for the namespace where IBM Foundational Services is installed. Defaults to ibm-common-services or the namespace that is mapped to the current BTS namespace by using the configmap common-service-maps in kube-public namespace. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
createNetworkPolicies | string |
If set to "true", BTS operator creates NetworkPolicies. Default is "false". |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
createZenExtensionCR | string |
If set to "true", BTS operator creates a ZenExtension CR for its Zen frontdoor extension, instead the default ConfigMap extension. Default is "false". |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
databaseConfig | object |
Use the The basic connection properties include The Use the It is also possible to specify custom JDBC properties by using the Note: In case a Example 1: Specify a database connection by using SSL spec: databaseConfig: serverName: postgres1.mycompany.com portNumber: 5432 databaseName: btsdb userSecretName: postgresql-user ssl: "true" sslMode: verify-ca sslSecretName: postgres-ssl customProperties: - name: connectTimeout value: "5" Example 2: Specify a JDBC connection URL by using customProperties spec: databaseConfig: userSecretName: postgresql-user customProperties: - name: URL value: jdbc:postgresql://unwon1.fyre.ibm.com:5432/umsdb02 |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
debug | boolean |
Deprecated. Used to enable BTS operator debug logging. This property is replaced by a config-map named ibm-bts-operator-config with attributes data.traceEnabled and data.debugYaml as strings "true" or "false". |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
deploymentProfile | string |
The deployment profile of BTS (can be "starter", "production" or "hpa"). See documentation of deploymentProfileSize for requests and limits that apply for each setting. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
deploymentProfileSize | string |
Deployment profile size of BTS (can be "small", "medium" or "large"). The following table shows the replica count, requests, and limits assigned to BTS pods for each setting:
The following table shows the replica count, requests, and limits assigned to EDB PostgreSQL pods for each setting:
|
false | ||||||||||||||||||||||||||||||||||||||||||||||||
emptyDirSizeLimits | object |
Explicitly assign a size limit for emptyDir volumes. Includes a limit for large and small sized emptyDirs. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
enableFips | string |
If set to "true", FIPS mode will be enabled for BTS. Default is "false". |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
hpa | object |
Horizontal pod autoscaler settings. Only active if deploymentProfile is set to "hpa". |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
image | string |
Custom image location for BTS. Defaults to icr.io/cpopen/cpfs/ibm-bts:3.32.0. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
imageKeytool | string |
Custom image location for keytool-initcontainer. Defaults to icr.io/cpopen/cpfs/ibm-bts-tls-init:3.32.0. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
imagePostgreSQL | string |
Custom image location for EDB PostgreSQL. Defaults to icr.io/cpopen/edb/postgresql:13.10-4.14.0. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
imagePullPolicy | string |
Custom image pull policy. Defaults to IfNotPresent. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
imagePullSecrets | []string |
Custom image pull secret names. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
jwkEndpointURL | string |
JWK endpoint URL. Defaults to https://internal-nginx-svc.bts-namespace.svc:12443/auth/jwks |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
license | object |
License parameter |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
livenessProbe | object |
Timeout and delay values for liveness probe according to https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ Example: spec: livenessProbe: initialDelaySeconds: 30 timeoutSeconds: 1 periodSeconds: 30 successThreshold: 1 failureThreshold: 3 terminationGracePeriodSeconds: 30 |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
readinessProbe | object |
Timeout and delay values for readiness probe according to https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ Example: spec: readinessProbe: initialDelaySeconds: 30 timeoutSeconds: 1 periodSeconds: 30 successThreshold: 1 failureThreshold: 3 terminationGracePeriodSeconds: 30 |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
recovery | object |
The recovery configuration of the PostgreSQL database. This configuration relies on the EDB PostgreSQL operators recovery configuration. See https://cloudnative-pg.io/documentation/1.18/api_reference/#BarmanObjectStoreConfiguration for reference. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
replicas | integer |
Number of BTS pods to deploy. BTS also supports horizontal pod autoscaler and fixed deployment profiles. See spec.hpa and spec.deploymentProfile for more information. Defaults to 1. Format: int32 Default: 1 |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
replicasDatabase | integer |
Number of EDB PostgreSQL pods to deploy. There is always one active primary pod and a number of secondary inactive pods for the EDB PostgreSQL database. Defaults to 1. Format: int32 Default: 1 |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
resources | object |
Allows to set custom BTS pod resources, including CPU, memory, and ephemeral storage requests and limits. Example: spec: resources: requests: cpu: 200m memory: 256Mi ephemeral-storage: 100Mi limits: cpu: 500m memory: 512Mi |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
resourcesPostgres | object |
Set custom EDB PostgreSQL resources, including CPU and memory request and limits. Example: spec: resourcesPostgres: requests: cpu: 50m memory: 768Mi limits: cpu: 200m memory: 1Gi |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
scimEndpointURL | string |
SCIM endpoint URL. Defaults to https://icp-management-ingress.CommonServicesNamespace.svc/idmgmt/identity/api/v1/scim |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
seccompLocalhostProfile | string |
Seccomp localhost profile path. This automatically turns seccomp type to Localhost for BTS pods. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
startupProbe | object |
Timeout and delay values for startup probe according to https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ Example: spec: startupProbe: initialDelaySeconds: 120 timeoutSeconds: 1 periodSeconds: 5 successThreshold: 1 failureThreshold: 180 terminationGracePeriodSeconds: 30 |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
storageClassName | string |
Explicitly assign a storage class for the BTS PostgreSQL database. By default, the default storage class of the cluster is used. If there is no default, the first storage class in the listing of storage classes is applied. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
storageRequest | string |
Explicitly assign a storage request. For example, 15Gi. By default, 10Gi is requested. The storage is used by the EDB PostgreSQL database. |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
tokenEndpointURL | string |
Token endpoint URL. Defaults to https://icp-management-ingress.CommonServicesNamespace.svc/idprovider/v1/auth/token |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
traceSpec | string |
Liberty trace spec for the BTS pods. Defaults to ".info". Default: =info |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
trustedTLSCertificates | []object |
TLS Certificates from secrets to add to the BTS truststore. Example: spec: trustedTLSCertificates: - secretName: platform-identity-provider key: ca.crt |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
waitForZenService | string |
If set to "true", BTS operator waits for ZenService .status.Progress to be 100% and .status.zenStatus Completed. Default is "false". |
false | ||||||||||||||||||||||||||||||||||||||||||||||||
zenIntrospectEndpointURL | string |
Zen Introspect Endpoint URL. Defaults to https://icp-management-ingress.CommonServicesNamespace.svc/idprovider/v1/auth/introspect |
false |
BusinessTeamsService.spec.backup
The backup configuration of the PostgreSQL database. This configuration relies on the EDB PostgreSQL operator's backup configuration. See https://cloudnative-pg.io/documentation/1.18/api_reference/#BackupConfiguration for reference.
Name | Type | Description | Required |
---|---|---|---|
barmanObjectStore | object |
BarmanObjectStoreConfiguration contains the backup configuration by using Barman against an S3-compatible object storage. For reference see https://cloudnative-pg.io/documentation/1.18/api_reference/#BarmanObjectStoreConfiguration |
false |
retentionPolicy | string |
|
false |
BusinessTeamsService.spec.backup.barmanObjectStore
BarmanObjectStoreConfiguration contains the backup configuration by using Barman against an S3-compatible object storage. For reference see https://cloudnative-pg.io/documentation/1.18/api_reference/#BarmanObjectStoreConfiguration
Name | Type | Description | Required |
---|---|---|---|
azureCredentials | object |
The credentials to use to upload data to Azure Blob storage |
false |
data | object |
The configuration to be used to backup the data files When not defined, base backups files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy. |
false |
destinationPath | string |
The path where to store the backup (i.e. s3://bucket/path/to/folder) this path, with different destination folders, will be used for WALs and for data - mandatory |
false |
endpointCA | object |
EndpointCA store the CA bundle of the barman endpoint. Useful when using self-signed certificates to avoid errors with certificate issuer and barman-cloud-wal-archive |
false |
endpointURL | string |
Endpoint to be used to upload data to the cloud, overriding the automatic endpoint discovery |
false |
googleCredentials | object |
The credentials to use to upload data to Google Cloud Storage |
false |
historyTags | map[string]string |
HistoryTags is a list of key value pairs that will be passed to the Barman --history-tags option. |
false |
s3Credentials | object |
The credentials to use to upload data to S3 |
false |
serverName | string |
The server name on S3, the cluster name is used if this parameter is omitted |
false |
tags | map[string]string |
Tags is a list of key value pairs that will be passed to the Barman --tags option. |
false |
wal | object |
The configuration for the backup of the WAL stream. When not defined, WAL files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy. |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.azureCredentials
The credentials to use to upload data to Azure Blob storage
Name | Type | Description | Required |
---|---|---|---|
connectionString | object |
The connection string to be used |
false |
storageAccount | object |
The storage account where to upload data |
false |
storageKey | object |
The storage account key to be used in conjunction with the storage account name |
false |
storageSasToken | object |
A shared-access-signature to be used in conjunction with the storage account name |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.azureCredentials.connectionString
The connection string to be used
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.azureCredentials.storageAccount
The storage account where to upload data
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.azureCredentials.storageKey
The storage account key to be used in conjunction with the storage account name
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.azureCredentials.storageSasToken
A shared-access-signature to be used in conjunction with the storage account name
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.data
The configuration to be used to backup the data files When not defined, base backups files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy.
Name | Type | Description | Required |
---|---|---|---|
compression | string |
Compress a WAL file before sending it to the object store. Available options are empty string (no compression, default), gzip, bzip2 or snappy. |
false |
encryption | string |
Whenever to force the encryption of files (if the bucket is not already configured for that). Allowed options are empty string (use the bucket policy, default), AES256 and aws:kms |
false |
immediateCheckpoint | boolean |
Control whether the I/O workload for the backup initial checkpoint will be limited, according to the checkpoint_completion_target setting on the PostgreSQL server. If set to true, an immediate checkpoint will be used, meaning PostgreSQL will complete
the checkpoint as soon as possible. false by default. |
false |
jobs | integer |
The number of parallel jobs to be used to upload the backup, defaults to 2 Format: int32 |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.endpointCA
EndpointCA store the CA bundle of the barman endpoint. Useful when using self-signed certificates to avoid errors with certificate issuer and barman-cloud-wal-archive
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.googleCredentials
The credentials to use to upload data to Google Cloud Storage
Name | Type | Description | Required |
---|---|---|---|
applicationCredentials | object |
The secret containing the Google Cloud Storage JSON file with the credentials |
false |
gkeEnvironment | boolean |
If set to true, will presume that it's running inside a GKE environment, default to false. - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.googleCredentials.applicationCredentials
The secret containing the Google Cloud Storage JSON file with the credentials
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.s3Credentials
The credentials to use to upload data to S3
Name | Type | Description | Required |
---|---|---|---|
accessKeyId | object |
The reference to the access key id |
false |
inheritFromIAMRole | boolean |
Use the role based authentication without providing explicitly the keys. - mandatory |
false |
secretAccessKey | object |
The reference to the secret access key |
false |
sessionToken | object |
The references to the session key |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.s3Credentials.accessKeyId
The reference to the access key id
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.s3Credentials.secretAccessKey
The reference to the secret access key
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.s3Credentials.sessionToken
The references to the session key
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.backup.barmanObjectStore.wal
The configuration for the backup of the WAL stream. When not defined, WAL files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy.
Name | Type | Description | Required |
---|---|---|---|
compression | string |
Compress a WAL file before sending it to the object store. Available options are empty string (no compression, default), gzip, bzip2 or snappy. |
false |
encryption | string |
Whenever to force the encryption of files (if the bucket is not already configured for that). Allowed options are empty string (use the bucket policy, default), AES256 and aws:kms |
false |
maxParallel | integer |
Number of WAL files to be either archived in parallel (when the PostgreSQL instance is archiving to a backup object store) or restored in parallel (when a PostgreSQL standby is fetching WAL files from a recovery object store). If not specified, WAL files
will be processed one at a time. It accepts a positive integer as a value - with 1 being the minimum accepted value. Format: int32 |
false |
BusinessTeamsService.spec.databaseConfig
spec: databaseConfig: serverName: postgres1.mycompany.com portNumber: 5432 databaseName: btsdb userSecretName: postgresql-user ssl: "true" sslMode: verify-ca sslSecretName: postgres-ssl customProperties: - name: connectTimeout value: "5"
Name | Type | Description | Required |
---|---|---|---|
autoDetectEDBCluster | string |
If "true", BTS will auto-detects an existing EDB PostgreSQL cluster and uses it as backend. Auto-detect means that BTS looks for a certain EDB cluster name in the current namespace. The name is determined by the configuration property databaseConfig.autoDetectEDBClusterName,
by default for postgres-cp4ba. If no such cluster is found, a dedicated EDB PostgreSQL cluster is deployed. Default "false". In case auto-detect is used, the databaseConfig properties portNumber, databaseName, ssl, and sslMode
can be used to customize the connection to the auto-detected database. |
false |
autoDetectEDBClusterName | string |
Sets the name of the EDB PostgreSQL Cluster to look for on auto-detection. Default postgres-cp4ba. |
false |
autoDetectEDBSecretConfig | object |
Configure the names and keys of secrets to be used with the auto-detected EDB cluster for a specific user and certificate secret with following structure: apiVersion: v1 kind: Secret metadata: name: postgres-cp4ba-custom-secret type: Opaque stringData: user: "postgres" pass: "Passw0rd" cert: |- -----BEGIN CERTIFICATE----- [PEM encoded CA certificate] -----END CERTIFICATE----- the matching spec: databaseConfig: autoDetectEDBSecretConfig: appSecretName: postgres-cp4ba-custom-secret appSecretUsernameKey: user appSecretPasswordKey: pass caSecretName: postgres-cp4ba-custom-secret caSecretCertificateKey: cert |
false |
autoMigrationDebug | string |
If "true", debug logs are written to the migration Job logs. Default "false". |
false |
autoMigrationDropTables | string |
If "true", any existing BTS tables in the migration target database are dropped, to ensure a clean migration target. Default "true". |
false |
autoMigrationEnabled | string |
If "true", the data of an existing EDB PostgreSQL cluster is migrated into the auto-detected cluster. Therefore a job is created that transfers all BTS data from the existing cluster to the new cluster. After successful migration, the existing
EDB PostgreSQL cluster is deleted. Default "true". |
false |
autoMigrationVerbose | string |
If "true", debug logging is verbose. Default "false". |
false |
customProperties | []object |
A list of name/value pairs to set custom JDBC driver configuration properties. Each name/value is set as property on the JDBC connection. A list of supported properties can be found in the section properties.postgresql: |
false |
databaseName | string |
The database name for BTS. Defaults to user schema name. |
false |
portNumber | integer |
Port of the database server. Defaults to 5432. Format: int32 |
false |
serverName | string |
Host of the database server. |
false |
ssl | string |
Whether SSL is enabled or not ("true" or "false"). Defaults to "false". |
false |
sslMode | string |
Sets SSL mode if ssl property is true. Defaults to prefer. |
false |
sslSecretName | string |
Secret that contains tls.crt (set as sslcert) and/or ca.crt (set as sslrootcert). This secret must be given if ssl is true. Otherwise, deployment fails. |
false |
userSecretName | string |
Secret that contains the .data.username and .data.password keys. This secret is used to authenticate against the database. |
false |
BusinessTeamsService.spec.databaseConfig.autoDetectEDBSecretConfig
apiVersion: v1 kind: Secret metadata: name: postgres-cp4ba-custom-secret type: Opaque stringData: user: "postgres" pass: "Passw0rd" cert: |- -----BEGIN CERTIFICATE----- [PEM encoded CA certificate] -----END CERTIFICATE-----
Name | Type | Description | Required |
---|---|---|---|
appSecretName | string |
The name of the EDB app secret that contains username and password. Default CLUSTER_NAME-app. |
false |
appSecretPasswordKey | string |
The key of the password property in the EDB app secret data section. Default password. |
false |
appSecretUsernameKey | string |
The key of the username property in the EDB app secret data section. Default username. |
false |
caSecretCertificateKey | string |
The key of the CA certificate in the EDB CA secret data section. Default ca.crt. |
false |
caSecretName | string |
The name of the EDB CA secret. Default CLUSTER_NAME-ca, where CLUSTER_NAME is replaced with the auto-detected cluster name. |
false |
BusinessTeamsService.spec.databaseConfig.customProperties[index]
Name | Type | Description | Required |
---|---|---|---|
name | string |
The name of the custom JDBC driver property. |
true |
value | string |
The value of the custom JDBC driver property. |
true |
BusinessTeamsService.spec.emptyDirSizeLimits
Explicitly assign a size limit for emptyDir volumes. Includes a limit for large and small sized emptyDirs.
Name | Type | Description | Required |
---|---|---|---|
limitLarge | string |
Limits for large empty dirs. Defaults to 500Mi. |
false |
limitSmall | string |
Limits for small empty dirs. Defaults to 50Mi. |
false |
BusinessTeamsService.spec.hpa
Horizontal pod autoscaler settings. Only active if deploymentProfile is set to "hpa".
Name | Type | Description | Required |
---|---|---|---|
averageUtilization | integer |
Set the average CPU utilization percentage for scaling pods when HPA is enabled. Defaults to 90. Format: int32 |
false |
maxReplicas | integer |
Set the maximum replicas for the BTS deployment when HPA is enabled. Defaults to 10. Format: int32 |
false |
minReplicas | integer |
Set the minimum replicas for the BTS deployment when HPA is enabled. Defaults to 1. Format: int32 |
false |
BusinessTeamsService.spec.license
License parameter
Name | Type | Description | Required |
---|---|---|---|
accept | boolean |
Set to true to accept license |
true |
BusinessTeamsService.spec.livenessProbe
spec: livenessProbe: initialDelaySeconds: 30 timeoutSeconds: 1 periodSeconds: 30 successThreshold: 1 failureThreshold: 3 terminationGracePeriodSeconds: 30
Name | Type | Description | Required |
---|---|---|---|
failureThreshold | integer |
Format: int32 |
false |
initialDelaySeconds | integer |
Format: int32 |
false |
periodSeconds | integer |
Format: int32 |
false |
successThreshold | integer |
Format: int32 |
false |
terminationGracePeriodSeconds | integer |
Format: int64 |
false |
timeoutSeconds | integer |
Format: int32 |
false |
BusinessTeamsService.spec.readinessProbe
spec: readinessProbe: initialDelaySeconds: 30 timeoutSeconds: 1 periodSeconds: 30 successThreshold: 1 failureThreshold: 3 terminationGracePeriodSeconds: 30
Name | Type | Description | Required |
---|---|---|---|
failureThreshold | integer |
Format: int32 |
false |
initialDelaySeconds | integer |
Format: int32 |
false |
periodSeconds | integer |
Format: int32 |
false |
successThreshold | integer |
Format: int32 |
false |
terminationGracePeriodSeconds | integer |
Format: int64 |
false |
timeoutSeconds | integer |
Format: int32 |
false |
BusinessTeamsService.spec.recovery
The recovery configuration of the PostgreSQL database. This configuration relies on the EDB PostgreSQL operators recovery configuration. See https://cloudnative-pg.io/documentation/1.18/api_reference/#BarmanObjectStoreConfiguration for reference.
Name | Type | Description | Required |
---|---|---|---|
barmanObjectStore | object |
BarmanObjectStoreConfiguration contains the backup configuration by using Barman against an S3-compatible object storage. For reference see https://cloudnative-pg.io/documentation/1.18/api_reference/#BarmanObjectStoreConfiguration |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore
BarmanObjectStoreConfiguration contains the backup configuration by using Barman against an S3-compatible object storage. For reference see https://cloudnative-pg.io/documentation/1.18/api_reference/#BarmanObjectStoreConfiguration
Name | Type | Description | Required |
---|---|---|---|
azureCredentials | object |
The credentials to use to upload data to Azure Blob storage |
false |
data | object |
The configuration to be used to backup the data files When not defined, base backups files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy. |
false |
destinationPath | string |
The path where to store the backup (i.e. s3://bucket/path/to/folder) this path, with different destination folders, will be used for WALs and for data - mandatory |
false |
endpointCA | object |
EndpointCA store the CA bundle of the barman endpoint. Useful when using self-signed certificates to avoid errors with certificate issuer and barman-cloud-wal-archive |
false |
endpointURL | string |
Endpoint to be used to upload data to the cloud, overriding the automatic endpoint discovery |
false |
googleCredentials | object |
The credentials to use to upload data to Google Cloud Storage |
false |
historyTags | map[string]string |
HistoryTags is a list of key value pairs that will be passed to the Barman --history-tags option. |
false |
s3Credentials | object |
The credentials to use to upload data to S3 |
false |
serverName | string |
The server name on S3, the cluster name is used if this parameter is omitted |
false |
tags | map[string]string |
Tags is a list of key value pairs that will be passed to the Barman --tags option. |
false |
wal | object |
The configuration for the backup of the WAL stream. When not defined, WAL files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy. |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.azureCredentials
The credentials to use to upload data to Azure Blob storage
Name | Type | Description | Required |
---|---|---|---|
connectionString | object |
The connection string to be used |
false |
storageAccount | object |
The storage account where to upload data |
false |
storageKey | object |
The storage account key to be used in conjunction with the storage account name |
false |
storageSasToken | object |
A shared-access-signature to be used in conjunction with the storage account name |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.azureCredentials.connectionString
The connection string to be used
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.azureCredentials.storageAccount
The storage account where to upload data
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.azureCredentials.storageKey
The storage account key to be used in conjunction with the storage account name
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.azureCredentials.storageSasToken
A shared-access-signature to be used in conjunction with the storage account name
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.data
The configuration to be used to backup the data files When not defined, base backups files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy.
Name | Type | Description | Required |
---|---|---|---|
compression | string |
Compress a WAL file before sending it to the object store. Available options are empty string (no compression, default), gzip, bzip2 or snappy. |
false |
encryption | string |
Whenever to force the encryption of files (if the bucket is not already configured for that). Allowed options are empty string (use the bucket policy, default), AES256 and aws:kms |
false |
immediateCheckpoint | boolean |
Control whether the I/O workload for the backup initial checkpoint will be limited, according to the checkpoint_completion_target setting on the PostgreSQL server. If set to true, an immediate checkpoint will be used, meaning PostgreSQL will complete
the checkpoint as soon as possible. false by default. |
false |
jobs | integer |
The number of parallel jobs to be used to upload the backup, defaults to 2 Format: int32 |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.endpointCA
EndpointCA store the CA bundle of the barman endpoint. Useful when using self-signed certificates to avoid errors with certificate issuer and barman-cloud-wal-archive
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.googleCredentials
The credentials to use to upload data to Google Cloud Storage
Name | Type | Description | Required |
---|---|---|---|
applicationCredentials | object |
The secret containing the Google Cloud Storage JSON file with the credentials |
false |
gkeEnvironment | boolean |
If set to true, will presume that it's running inside a GKE environment, default to false. - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.googleCredentials.applicationCredentials
The secret containing the Google Cloud Storage JSON file with the credentials
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.s3Credentials
The credentials to use to upload data to S3
Name | Type | Description | Required |
---|---|---|---|
accessKeyId | object |
The reference to the access key id |
false |
inheritFromIAMRole | boolean |
Use the role based authentication without providing explicitly the keys. - mandatory |
false |
secretAccessKey | object |
The reference to the secret access key |
false |
sessionToken | object |
The references to the session key |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.s3Credentials.accessKeyId
The reference to the access key id
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.s3Credentials.secretAccessKey
The reference to the secret access key
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.s3Credentials.sessionToken
The references to the session key
Name | Type | Description | Required |
---|---|---|---|
key | string |
The key to select - mandatory |
false |
name | string |
The name of the secret - mandatory |
false |
BusinessTeamsService.spec.recovery.barmanObjectStore.wal
The configuration for the backup of the WAL stream. When not defined, WAL files will be stored uncompressed and may be unencrypted in the object store, according to the bucket default policy.
Name | Type | Description | Required |
---|---|---|---|
compression | string |
Compress a WAL file before sending it to the object store. Available options are empty string (no compression, default), gzip, bzip2 or snappy. |
false |
encryption | string |
Whenever to force the encryption of files (if the bucket is not already configured for that). Allowed options are empty string (use the bucket policy, default), AES256 and aws:kms |
false |
maxParallel | integer |
Number of WAL files to be either archived in parallel (when the PostgreSQL instance is archiving to a backup object store) or restored in parallel (when a PostgreSQL standby is fetching WAL files from a recovery object store). If not specified, WAL files
will be processed one at a time. It accepts a positive integer as a value - with 1 being the minimum accepted value. Format: int32 |
false |
BusinessTeamsService.spec.resources
spec: resources: requests: cpu: 200m memory: 256Mi ephemeral-storage: 100Mi limits: cpu: 500m memory: 512Mi
Name | Type | Description | Required |
---|---|---|---|
limits | map[string]int or string |
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
false |
requests | map[string]int or string |
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info:
https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
false |
BusinessTeamsService.spec.resourcesPostgres
spec: resourcesPostgres: requests: cpu: 50m memory: 768Mi limits: cpu: 200m memory: 1Gi
Name | Type | Description | Required |
---|---|---|---|
limits | map[string]int or string |
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
false |
requests | map[string]int or string |
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info:
https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
false |
BusinessTeamsService.spec.startupProbe
spec: startupProbe: initialDelaySeconds: 120 timeoutSeconds: 1 periodSeconds: 5 successThreshold: 1 failureThreshold: 180 terminationGracePeriodSeconds: 30
Name | Type | Description | Required |
---|---|---|---|
failureThreshold | integer |
Format: int32 |
false |
initialDelaySeconds | integer |
Format: int32 |
false |
periodSeconds | integer |
Format: int32 |
false |
successThreshold | integer |
Format: int32 |
false |
terminationGracePeriodSeconds | integer |
Format: int64 |
false |
timeoutSeconds | integer |
Format: int32 |
false |
BusinessTeamsService.spec.trustedTLSCertificates[index]
Name | Type | Description | Required |
---|---|---|---|
key | string |
Key in the secret that contains the TLS certificate to trust. |
true |
secretName | string |
Name of the secret that contains the TLS certificate to trust. |
true |
BusinessTeamsService.status
BusinessTeamsServiceStatus defines the observed state of BusinessTeamsService.
Name | Type | Description | Required | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
serviceStatus | string |
Deploy status indicates whether BTS is able to serve request (ready) or not (unready). Possible values and their meaning:
|
true | |||||||||
conditions | []object |
Conditions indicate the status of BTS service. Conditions can either have status
|
false | |||||||||
deployStatus | string |
Deploy status indicates whether deployment of Kubernetes resources is in progress (unready), ready, or failed. Possible values and their meaning:
|
false | |||||||||
endpoints | object |
Indicates the BTS external service endpoints. |
false | |||||||||
lastUpdated | string |
Indicates the last time that the status was updated. Format: date-time |
false | |||||||||
reason | string |
The reason is a human-readable status message. |
false | |||||||||
versions | []object |
Indicates the BTS and operator versions that are currently deployed. |
false |
BusinessTeamsService.status.conditions[index]
Condition Type | Status | Description |
---|---|---|
Available | Indicates that at least 1 BTS pod is ready. Possible reasons are ReplicasReady and NoReplicasReady . |
|
Degraded |
Indicates if the BTS service is degraded, which is the case if at least 1 BTS pod or 1 database pod is unhealthy. Possible reasons are NotDegraded , BTSDegraded , BTSDegraded , and PostgreSQLDegraded . |
|
Error | Indicates if an error occurred on deployment. Possible reasons are NoError and ErrorOccured . |
Name | Type | Description | Required |
---|---|---|---|
lastTransitionTime | string |
Format: date-time |
false |
message | string |
|
false |
reason | string |
|
false |
status | string |
|
false |
type | string |
|
false |
BusinessTeamsService.status.endpoints
Indicates the BTS external service endpoints.
Name | Type | Description | Required |
---|---|---|---|
adminUI | string |
Endpoint of the BTS admin user interface. Example: https://cpd-cp4ba.apps.cluster.mycompany.com/teamserver/ui/#/teams |
false |
apiExplorer | string |
Endpoint of the BTS REST user interface. Example: https://cpd-cp4ba.apps.cluster.mycompany.com/teamserver/api/explorer |
false |
teamsAPI | string |
Endpoint of the BTS REST API. Example: https://cpd-cp4ba.apps.cluster.mycompany.com/teamserver/rest |
false |
BusinessTeamsService.status.versions[index]
Reports the deployed version of BusinessTeamsService. The name field can be one of operator or operand.
Name | Type | Description | Required |
---|---|---|---|
name | string |
The name of the version, either "operator" or "operand". |
false |
version | string |
The version, for example "3.32.0". |
false |