oc create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
+kubectl create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
diff --git a/reference/html/README.html b/reference/html/README.html index 6d7fa2d4..1f7b5299 100644 --- a/reference/html/README.html +++ b/reference/html/README.html @@ -834,13 +834,13 @@ configuration. We can create a Kubernetes secret by using the following command:
oc create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
+kubectl create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
The preceding command would create the following secret (which you can see by using oc get secrets db-secret -o yaml):
The preceding command would create the following secret (which you can see by using kubectl get secrets db-secret -o yaml):
oc create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
+kubectl create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
The preceding command would create the following secret (which you can see by using oc get secrets db-secret -o yaml):
The preceding command would create the following secret (which you can see by using kubectl get secrets db-secret -o yaml):
oc create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
+kubectl create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
The preceding command would create the following secret (which you can see by using oc get secrets db-secret -o yaml):
The preceding command would create the following secret (which you can see by using kubectl get secrets db-secret -o yaml):
oc create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
+kubectl create secret generic db-secret --from-literal=username=user --from-literal=password=p455w0rd
The preceding command would create the following secret (which you can see by using oc get secrets db-secret -o yaml):
The preceding command would create the following secret (which you can see by using kubectl get secrets db-secret -o yaml):