Skip to content

Commit 3576450

Browse files
DOCSP-32152 Document S3 Backup APIs to support an array of CA (#1426)
* DOCSP-32152 Document S3 Backup APIs to support an array of CA * DOCSP-32152 updates for Nam's feedback * DOCSP-32152 updates for Nam's proposed rewording * Update source/reference/k8s-operator-om-specification.txt Co-authored-by: John Williams <[email protected]> * DOCSP-32152 updates for JW's feedback * DOCSP-32152 updates for Nam's feedback --------- Co-authored-by: John Williams <[email protected]>
1 parent f189aaa commit 3576450

File tree

1 file changed

+107
-8
lines changed

1 file changed

+107
-8
lines changed

source/reference/k8s-operator-om-specification.txt

Lines changed: 107 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,10 +1247,59 @@ You can use |tls| for both |s3| and your application database, or for
12471247

12481248
*Type*: boolean
12491249

1250-
Flag that indicates whether you use custom |tls| certificates for
1251-
your |s3| oplog store specified by
1252-
:opsmgrkube:`spec.applicationDatabase.security.tls.ca`.
1253-
The default is ``False``.
1250+
*Deprecated*. Use
1251+
:opsmgrkube:`spec.backup.s3OpLogStores.customCertificateSecretRefs`
1252+
instead.
1253+
1254+
Flag that indicates whether you use AppDB certificates
1255+
(``appdb-ca``) as the custom |tls| certificate for your |s3| oplog
1256+
store. The default is ``False``.
1257+
1258+
.. opsmgrkube:: spec.backup.s3OpLogStores.customCertificateSecretRefs
1259+
1260+
*Type*: array of objects
1261+
1262+
List of custom certificates for your |s3| oplog store using |k8s|
1263+
|k8s-secrets|. The base64-encoded x.509 certificate must already be
1264+
present in a |k8s| |k8s-secret| with a key and must be parsable by
1265+
the `Java CertifcateFactory <https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/cert/CertificateFactory.html>`__.
1266+
You can't specify multiple certificates in a chain in one secret. If
1267+
you specify multiple certificates in a chain in one secret,
1268+
|k8s-op-short| uses only the first certificate in the chain. If you
1269+
also provide the
1270+
:opsmgrkube:`~spec.backup.s3OpLogStores.customCertificate` setting,
1271+
|k8s-op-short| uses the
1272+
:opsmgrkube:`spec.applicationDatabase.security.tls.ca` as the custom
1273+
certificate for backups.
1274+
1275+
Each entry in the list specifies the
1276+
:opsmgrkube:`~spec.backup.s3OpLogStores.customCertificateSecretRefs.name`
1277+
and the
1278+
:opsmgrkube:`~spec.backup.s3OpLogStores.customCertificateSecretRefs.key`.
1279+
If you specify multiple secrets, |k8s-op-short| uses all the
1280+
certificates in the specified secrets.
1281+
1282+
If you don't provide this setting, |onprem| uses the :abbr:`JVM (Java
1283+
Virtual Machine)` Default Trust Store used by |onprem|.
1284+
1285+
.. opsmgrkube:: spec.backup.s3OpLogStores.customCertificateSecretRefs.name
1286+
1287+
*Type*: string
1288+
1289+
*Required to use custom certificates for your S3 oplog store.*
1290+
1291+
|k8s| |k8s-secret| that contains the custom certificate.
1292+
1293+
.. opsmgrkube:: spec.backup.s3OpLogStores.customCertificateSecretRefs.key
1294+
1295+
*Type*: string
1296+
1297+
*Required to use custom certificates for your S3 oplog store.*
1298+
1299+
File that represents the key in the |k8s-secret| that contains the
1300+
base64-encoded x.509 certificate. If you don't specify this setting,
1301+
|k8s-op-short| can't utilize the custom certificate for |s3| oplog
1302+
store backups.
12541303

12551304
.. opsmgrkube:: spec.backup.s3OpLogStores.irsaEnabled
12561305

@@ -1411,10 +1460,60 @@ You can use |tls| for both |s3| and your application database, or for
14111460

14121461
*Type*: boolean
14131462

1414-
Flag that indicates whether you use custom |tls| certificates for
1415-
your |s3| snapshot store specified by
1416-
:opsmgrkube:`spec.applicationDatabase.security.tls.ca`.
1417-
The default is ``False``.
1463+
*Deprecated*. Use
1464+
:opsmgrkube:`spec.backup.s3Stores.customCertificateSecretRefs`
1465+
instead.
1466+
1467+
Flag that indicates whether you use AppDB certificates
1468+
(``appdb-ca``) as the custom |tls| certificate for your |s3| backups.
1469+
The default is ``False``.
1470+
1471+
.. opsmgrkube:: spec.backup.s3Stores.customCertificateSecretRefs
1472+
1473+
*Type*: array of objects
1474+
1475+
List of custom certificates for your |s3| snapshot store using |k8s|
1476+
|k8s-secrets|. The base64-encoded x.509 certificate must already be
1477+
present in a |k8s| |k8s-secret| with a key and must be parsable by
1478+
the `Java CertifcateFactory <https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/cert/CertificateFactory.html>`__.
1479+
You can't specify multiple certificates in a chain in one secret. If
1480+
you specify multiple certificates in a chain in one secret,
1481+
|k8s-op-short| uses only the first certificate in the chain. If you
1482+
also provide the :opsmgrkube:`spec.backup.s3Stores.customCertificate`
1483+
setting, |k8s-op-short| uses the
1484+
:opsmgrkube:`spec.applicationDatabase.security.tls.ca` as the
1485+
custom certificate for backups.
1486+
1487+
Each entry in the list specifies the
1488+
:opsmgrkube:`~spec.backup.s3Stores.customCertificateSecretRefs.name`
1489+
and the
1490+
:opsmgrkube:`~spec.backup.s3Stores.customCertificateSecretRefs.key`.
1491+
If you specify multiple secrets, |k8s-op-short| uses all the
1492+
specified secrets.
1493+
1494+
If you don't provide this setting, the |k8s-op-short| uses the
1495+
:abbr:`JVM (Java Virtual Machine)` Default Trust Store used by
1496+
|onprem| for backups.
1497+
1498+
.. opsmgrkube:: spec.backup.s3Stores.customCertificateSecretRefs.name
1499+
1500+
*Type*: string
1501+
1502+
*Required to use custom certificates for your S3 oplog store.*
1503+
1504+
|k8s| |k8s-secret| that contains the custom certificate.
1505+
1506+
.. opsmgrkube:: spec.backup.s3Stores.customCertificateSecretRefs.key
1507+
1508+
*Type*: string
1509+
1510+
*Required to use custom certificates for your S3 oplog store.*
1511+
1512+
File that represents the key in the |k8s-secret| that contains the
1513+
base64-encoded x.509 certificate. If you don't specify this setting,
1514+
|k8s-op-short| can't utilize the custom certificate for |s3| snapshot
1515+
store and defaults to the default :abbr:`JVM {Java Virtual Machine)`
1516+
trust store used by |onprem|.
14181517

14191518
.. opsmgrkube:: spec.backup.s3Stores.irsaEnabled
14201519

0 commit comments

Comments
 (0)