@@ -1023,9 +1023,9 @@ content: |
1023
1023
.. code-block:: sh
1024
1024
1025
1025
kubectl create secret generic <metadata.name>-cert \
1026
- --from-file=<metadata.name>-0-cert \
1027
- --from-file=<metadata.name>-1-cert \
1028
- --from-file=<metadata.name>-2-cert
1026
+ --from-file=<metadata.name>-0-pem \
1027
+ --from-file=<metadata.name>-1-pem \
1028
+ --from-file=<metadata.name>-2-pem
1029
1029
1030
1030
This example covers a three-member replica set. If you have more than
1031
1031
three members, you can add them to the certificate using the
@@ -1044,9 +1044,9 @@ content: |
1044
1044
.. code-block:: sh
1045
1045
1046
1046
kubectl create secret generic <metadata.name>-cert \
1047
- --from-file=<metadata.name>-0-cert \
1048
- --from-file=<metadata.name>-1-cert \
1049
- --from-file=<metadata.name>-2-cert \
1047
+ --from-file=<metadata.name>-0-pem \
1048
+ --from-file=<metadata.name>-1-pem \
1049
+ --from-file=<metadata.name>-2-pem \
1050
1050
--dry-run=client \
1051
1051
-o yaml |
1052
1052
kubectl apply -f -
@@ -1068,9 +1068,9 @@ content: |
1068
1068
.. code-block:: sh
1069
1069
1070
1070
kubectl create secret generic <metadata.name>-clusterfile \
1071
- --from-file=<metadata.name>-0-cert \
1072
- --from-file=<metadata.name>-1-cert \
1073
- --from-file=<metadata.name>-2-cert
1071
+ --from-file=<metadata.name>-0-pem \
1072
+ --from-file=<metadata.name>-1-pem \
1073
+ --from-file=<metadata.name>-2-pem
1074
1074
1075
1075
This example covers a three-member replica set. If you have more than
1076
1076
three members, you can add them to the certificate using the
@@ -1089,9 +1089,9 @@ content: |
1089
1089
.. code-block:: sh
1090
1090
1091
1091
kubectl create secret generic <metadata.name>-clusterfile \
1092
- --from-file=<metadata.name>-0-cert \
1093
- --from-file=<metadata.name>-1-cert \
1094
- --from-file=<metadata.name>-2-cert \
1092
+ --from-file=<metadata.name>-0-pem \
1093
+ --from-file=<metadata.name>-1-pem \
1094
+ --from-file=<metadata.name>-2-pem \
1095
1095
--dry-run=client \
1096
1096
-o yaml |
1097
1097
kubectl apply -f -
@@ -1127,18 +1127,18 @@ content: |
1127
1127
.. code-block:: sh
1128
1128
1129
1129
kubectl -n mongodb create secret generic <metadata.name>-0-cert \
1130
- --from-file=<metadata.name>-0-0-cert \
1131
- --from-file=<metadata.name>-0-1-cert \
1132
- --from-file=<metadata.name>-0-2-cert \
1133
- --from-file=<metadata.name>-0-3-cert \
1134
- --from-file=<metadata.name>-0-4-cert
1130
+ --from-file=<metadata.name>-0-0-pem \
1131
+ --from-file=<metadata.name>-0-1-pem \
1132
+ --from-file=<metadata.name>-0-2-pem \
1133
+ --from-file=<metadata.name>-0-3-pem \
1134
+ --from-file=<metadata.name>-0-4-pem
1135
1135
1136
1136
kubectl -n mongodb create secret generic <metadata.name>-1-cert \
1137
- --from-file=<metadata.name>-1-0-cert \
1138
- --from-file=<metadata.name>-1-1-cert \
1139
- --from-file=<metadata.name>-1-2-cert \
1140
- --from-file=<metadata.name>-1-3-cert \
1141
- --from-file=<metadata.name>-1-4-cert
1137
+ --from-file=<metadata.name>-1-0-pem \
1138
+ --from-file=<metadata.name>-1-1-pem \
1139
+ --from-file=<metadata.name>-1-2-pem \
1140
+ --from-file=<metadata.name>-1-3-pem \
1141
+ --from-file=<metadata.name>-1-4-pem
1142
1142
1143
1143
This example covers a two-shard sharded cluster with five members per
1144
1144
shard. If you have more than two shards or five members per shard,
@@ -1157,21 +1157,21 @@ content: |
1157
1157
.. code-block:: sh
1158
1158
1159
1159
kubectl -n mongodb create secret generic <metadata.name>-0-cert \
1160
- --from-file=<metadata.name>-0-0-cert \
1161
- --from-file=<metadata.name>-0-1-cert \
1162
- --from-file=<metadata.name>-0-2-cert \
1163
- --from-file=<metadata.name>-0-3-cert \
1164
- --from-file=<metadata.name>-0-4-cert \
1160
+ --from-file=<metadata.name>-0-0-pem \
1161
+ --from-file=<metadata.name>-0-1-pem \
1162
+ --from-file=<metadata.name>-0-2-pem \
1163
+ --from-file=<metadata.name>-0-3-pem \
1164
+ --from-file=<metadata.name>-0-4-pem \
1165
1165
--dry-run=client \
1166
1166
-o yaml |
1167
1167
kubectl apply -f -
1168
1168
1169
1169
kubectl -n mongodb create secret generic <metadata.name>-1-cert \
1170
- --from-file=<metadata.name>-1-0-cert \
1171
- --from-file=<metadata.name>-1-1-cert \
1172
- --from-file=<metadata.name>-1-2-cert \
1173
- --from-file=<metadata.name>-1-3-cert \
1174
- --from-file=<metadata.name>-1-4-cert \
1170
+ --from-file=<metadata.name>-1-0-pem \
1171
+ --from-file=<metadata.name>-1-1-pem \
1172
+ --from-file=<metadata.name>-1-2-pem \
1173
+ --from-file=<metadata.name>-1-3-pem \
1174
+ --from-file=<metadata.name>-1-4-pem \
1175
1175
--dry-run=client \
1176
1176
-o yaml |
1177
1177
kubectl apply -f -
@@ -1193,9 +1193,9 @@ content: |
1193
1193
.. code-block:: sh
1194
1194
1195
1195
kubectl -n mongodb create secret generic <metadata.name>-config-cert \
1196
- --from-file=<metadata.name>-config-0-cert \
1197
- --from-file=<metadata.name>-config-1-cert \
1198
- --from-file=<metadata.name>-config-2-cert
1196
+ --from-file=<metadata.name>-config-0-pem \
1197
+ --from-file=<metadata.name>-config-1-pem \
1198
+ --from-file=<metadata.name>-config-2-pem
1199
1199
1200
1200
---
1201
1201
title : " Renew the |k8s-secret| for your config server's TLS certificates."
@@ -1210,9 +1210,9 @@ content: |
1210
1210
.. code-block:: sh
1211
1211
1212
1212
kubectl -n mongodb create secret generic <metadata.name>-config-cert \
1213
- --from-file=<metadata.name>-config-0-cert \
1214
- --from-file=<metadata.name>-config-1-cert \
1215
- --from-file=<metadata.name>-config-2-cert \
1213
+ --from-file=<metadata.name>-config-0-pem \
1214
+ --from-file=<metadata.name>-config-1-pem \
1215
+ --from-file=<metadata.name>-config-2-pem \
1216
1216
--dry-run=client \
1217
1217
-o yaml |
1218
1218
kubectl apply -f -
@@ -1230,9 +1230,9 @@ content: |
1230
1230
.. code-block:: sh
1231
1231
1232
1232
kubectl -n mongodb create secret generic <metadata.name>-mongos-cert \
1233
- --from-file=<metadata.name>-mongos-0-cert \
1234
- --from-file=<metadata.name>-mongos-1-cert \
1235
- --from-file=<metadata.name>-mongos-2-cert
1233
+ --from-file=<metadata.name>-mongos-0-pem \
1234
+ --from-file=<metadata.name>-mongos-1-pem \
1235
+ --from-file=<metadata.name>-mongos-2-pem
1236
1236
1237
1237
---
1238
1238
title : " Renew the |k8s-secret| for your mongos server's TLS certificates."
@@ -1247,9 +1247,9 @@ content: |
1247
1247
.. code-block:: sh
1248
1248
1249
1249
kubectl -n mongodb create secret generic <metadata.name>-mongos-cert \
1250
- --from-file=<metadata.name>-mongos-0-cert \
1251
- --from-file=<metadata.name>-mongos-1-cert \
1252
- --from-file=<metadata.name>-mongos-2-cert \
1250
+ --from-file=<metadata.name>-mongos-0-pem \
1251
+ --from-file=<metadata.name>-mongos-1-pem \
1252
+ --from-file=<metadata.name>-mongos-2-pem \
1253
1253
--dry-run=client \
1254
1254
-o yaml |
1255
1255
kubectl apply -f -
@@ -1267,18 +1267,18 @@ content: |
1267
1267
.. code-block:: sh
1268
1268
1269
1269
kubectl -n mongodb create secret generic <metadata.name>-0-clusterfile \
1270
- --from-file=<metadata.name>-0-0-cert \
1271
- --from-file=<metadata.name>-0-1-cert \
1272
- --from-file=<metadata.name>-0-2-cert \
1273
- --from-file=<metadata.name>-0-3-cert \
1274
- --from-file=<metadata.name>-0-4-cert
1270
+ --from-file=<metadata.name>-0-0-pem \
1271
+ --from-file=<metadata.name>-0-1-pem \
1272
+ --from-file=<metadata.name>-0-2-pem \
1273
+ --from-file=<metadata.name>-0-3-pem \
1274
+ --from-file=<metadata.name>-0-4-pem
1275
1275
1276
1276
kubectl -n mongodb create secret generic <metadata.name>-1-clusterfile \
1277
- --from-file=<metadata.name>-1-0-cert \
1278
- --from-file=<metadata.name>-1-1-cert \
1279
- --from-file=<metadata.name>-1-2-cert \
1280
- --from-file=<metadata.name>-1-3-cert \
1281
- --from-file=<metadata.name>-1-4-cert
1277
+ --from-file=<metadata.name>-1-0-pem \
1278
+ --from-file=<metadata.name>-1-1-pem \
1279
+ --from-file=<metadata.name>-1-2-pem \
1280
+ --from-file=<metadata.name>-1-3-pem \
1281
+ --from-file=<metadata.name>-1-4-pem
1282
1282
1283
1283
This example covers a two-shard sharded cluster with five members per
1284
1284
shard. If you have more than two shards or five members per shard,
@@ -1297,21 +1297,21 @@ content: |
1297
1297
.. code-block:: sh
1298
1298
1299
1299
kubectl -n mongodb create secret generic <metadata.name>-0-clusterfile \
1300
- --from-file=<metadata.name>-0-0-cert \
1301
- --from-file=<metadata.name>-0-1-cert \
1302
- --from-file=<metadata.name>-0-2-cert \
1303
- --from-file=<metadata.name>-0-3-cert \
1304
- --from-file=<metadata.name>-0-4-cert \
1300
+ --from-file=<metadata.name>-0-0-pem \
1301
+ --from-file=<metadata.name>-0-1-pem \
1302
+ --from-file=<metadata.name>-0-2-pem \
1303
+ --from-file=<metadata.name>-0-3-pem \
1304
+ --from-file=<metadata.name>-0-4-pem \
1305
1305
--dry-run=client \
1306
1306
-o yaml |
1307
1307
kubectl apply -f -
1308
1308
1309
1309
kubectl -n mongodb create secret generic <metadata.name>-1-clusterfile \
1310
- --from-file=<metadata.name>-1-0-cert \
1311
- --from-file=<metadata.name>-1-1-cert \
1312
- --from-file=<metadata.name>-1-2-cert \
1313
- --from-file=<metadata.name>-1-3-cert \
1314
- --from-file=<metadata.name>-1-4-cert \
1310
+ --from-file=<metadata.name>-1-0-pem \
1311
+ --from-file=<metadata.name>-1-1-pem \
1312
+ --from-file=<metadata.name>-1-2-pem \
1313
+ --from-file=<metadata.name>-1-3-pem \
1314
+ --from-file=<metadata.name>-1-4-pem \
1315
1315
--dry-run=client \
1316
1316
-o yaml |
1317
1317
kubectl apply -f -
@@ -1333,9 +1333,9 @@ content: |
1333
1333
.. code-block:: sh
1334
1334
1335
1335
kubectl -n mongodb create secret generic <metadata.name>-config-clusterfile \
1336
- --from-file=<metadata.name>-config-0-cert \
1337
- --from-file=<metadata.name>-config-1-cert \
1338
- --from-file=<metadata.name>-config-2-cert
1336
+ --from-file=<metadata.name>-config-0-pem \
1337
+ --from-file=<metadata.name>-config-1-pem \
1338
+ --from-file=<metadata.name>-config-2-pem
1339
1339
1340
1340
---
1341
1341
title : " Renew the |k8s-secret| for your config server's X.509 certificates."
@@ -1350,9 +1350,9 @@ content: |
1350
1350
.. code-block:: sh
1351
1351
1352
1352
kubectl -n mongodb create secret generic <metadata.name>-config-clusterfile \
1353
- --from-file=<metadata.name>-config-0-cert \
1354
- --from-file=<metadata.name>-config-1-cert \
1355
- --from-file=<metadata.name>-config-2-cert \
1353
+ --from-file=<metadata.name>-config-0-pem \
1354
+ --from-file=<metadata.name>-config-1-pem \
1355
+ --from-file=<metadata.name>-config-2-pem \
1356
1356
--dry-run=client \
1357
1357
-o yaml |
1358
1358
kubectl apply -f -
@@ -1370,9 +1370,9 @@ content: |
1370
1370
.. code-block:: sh
1371
1371
1372
1372
kubectl -n mongodb create secret generic <metadata.name>-mongos-clusterfile \
1373
- --from-file=<metadata.name>-mongos-0-cert \
1374
- --from-file=<metadata.name>-mongos-1-cert \
1375
- --from-file=<metadata.name>-mongos-2-cert
1373
+ --from-file=<metadata.name>-mongos-0-pem \
1374
+ --from-file=<metadata.name>-mongos-1-pem \
1375
+ --from-file=<metadata.name>-mongos-2-pem
1376
1376
1377
1377
---
1378
1378
title : " Renew the |k8s-secret| for your mongos server's X.509 certificates."
@@ -1387,9 +1387,9 @@ content: |
1387
1387
.. code-block:: sh
1388
1388
1389
1389
kubectl -n mongodb create secret generic <metadata.name>-mongos-clusterfile \
1390
- --from-file=<metadata.name>-mongos-0-cert \
1391
- --from-file=<metadata.name>-mongos-1-cert \
1392
- --from-file=<metadata.name>-mongos-2-cert \
1390
+ --from-file=<metadata.name>-mongos-0-pem \
1391
+ --from-file=<metadata.name>-mongos-1-pem \
1392
+ --from-file=<metadata.name>-mongos-2-pem \
1393
1393
--dry-run=client \
1394
1394
-o yaml |
1395
1395
kubectl apply -f -
0 commit comments