File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
docs/openshift/configuration/secrets Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -76,40 +76,39 @@ spec:
7676` ` `
7777
7878=== "OpenShift"
79- ** Create files needed for rest of example.**
79+ **Create files needed for rest of example.**
8080 ` ` `
8181 echo -n 'admin' > ./username.txt
8282 echo -n '1f2d1e2e67df' > ./password.txt
8383 ```
84-
85- ** Creating Secret from files. **
84+ **Creating Secret from files.**
8685 ```
8786 oc create secret generic db-user-pass --from-file=./username.txt --from-file=./password.txt
8887 ```
89- ** Getting Secret **
88+ **Getting Secret**
9089 ```
9190 oc get secrets
9291 ```
93- ** Gets the Secret's Description. **
92+ **Gets the Secret's Description.**
9493 ```
9594 oc describe secrets/db-user-pass
9695 ```
9796
9897=== "Kubernetes"
99- ** Create files needed for rest of example. **
98+ **Create files needed for rest of example.**
10099 ```
101100 echo -n 'admin' > ./username.txt
102101 echo -n '1f2d1e2e67df' > ./password.txt
103102 ```
104- ** Creates the Secret from the files **
103+ ** Creates the Secret from the files**
105104 ```
106105 kubectl create secret generic db-user-pass --from-file=./username.txt --from-file=./password.txt
107106 ```
108- ** Gets the Secret **
107+ **Gets the Secret**
109108 ```
110109 kubectl get secrets
111110 ```
112- ** Gets the Secret's Description. **
111+ **Gets the Secret's Description.**
113112 ```
114113 kubectl describe secrets/db-user-pass
115114 ```
You can’t perform that action at this time.
0 commit comments