-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
DO280 - OCP4.14-en-2-20240725
-
False
-
-
False
-
3
-
-
-
en-US (English)
Please fill in the following information:
URL: | ch03s02 |
Reporter RHNID: | carias@redhat.com |
Section title: | Guided Exercise: Configure Identity Providers |
Language: | English |
Issue description
This is a suggestion to include a note about a particular behaviour of the oc client when adding a file as a parameter.
[student@workstation ~]$ oc create secret generic test1
--from-file=nisim=~/DO280/labs/auth-review/tmp_users
error: error reading ~/DO280/labs/auth-review/tmp_users: no such file or
directory
[student@workstation ~]$ oc create secret generic test1 --from-file
nisim=~/DO280/labs/auth-review/tmp_users
secret/test1 created
[student@workstation ~]$ oc create secret generic test2
--from-file=nisim=/home/student/DO280/labs/auth-review/tmp_users
secret/test2 created
So if we use '--from-file=' - then we must use the full path and not the relative path with the ~ symbol.
Expected result:
A NOTE describing this behavior could be useful to students.