File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ content: |
77
77
78
78
kubectl -n mongodb \
79
79
create secret generic ops-manager-admin-key \
80
- --from-literal="user =<publicKey>" \
81
- --from-literal="publicApiKey =<privateKey>"
80
+ --from-literal="publicKey =<publicKey>" \
81
+ --from-literal="privateKey =<privateKey>"
82
82
83
83
---
84
84
stepnum : 6
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ To create your |k8s| secret:
67
67
68
68
kubectl -n <metadata.namespace> \
69
69
create secret generic <myCredentials> \
70
- --from-literal="user =<publicKey>" \
71
- --from-literal="publicApiKey =<privateKey>"
70
+ --from-literal="publicKey =<publicKey>" \
71
+ --from-literal="privateKey =<privateKey>"
72
72
73
73
.. note::
74
74
@@ -77,6 +77,12 @@ To create your |k8s| secret:
77
77
namespace with the |k8s-secrets| and |k8s-configmaps|. The
78
78
|k8s-op-short| does not use either the secrets or ConfigMaps.
79
79
80
+ .. note::
81
+
82
+ The deprecated version of this command specifies a ``user`` and ``publicApiKey``
83
+ instead of a ``publicKey`` and ``privateKey``. |k8s-op-short| accepts
84
+ either version for authentication.
85
+
80
86
3. Invoke the following |k8s| command to verify your secret:
81
87
82
88
.. code-block:: sh
@@ -96,6 +102,6 @@ To create your |k8s| secret:
96
102
97
103
Data
98
104
====
99
- publicApiKey : 31 bytes
100
- user : 22 bytes
105
+ privateKey : 31 bytes
106
+ publicKey : 22 bytes
101
107
You can’t perform that action at this time.
0 commit comments