Skip to content

Commit 6432619

Browse files
committed
Update index.md
1 parent f6b3f3f commit 6432619

File tree

1 file changed

+8
-9
lines changed
  • docs/openshift/configuration/secrets

1 file changed

+8
-9
lines changed

docs/openshift/configuration/secrets/index.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff 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
```

0 commit comments

Comments
 (0)