Skip to content

Commit

Permalink
Show etcd's encryption's status more clearly
Browse files Browse the repository at this point in the history
Modify oc jsonpath to more clearly show the status of etcd's
encryption provider.
This is relevant when no encryption is configured and reason and message
are empty.
  • Loading branch information
yuumasato committed Dec 5, 2023
1 parent 3aafe35 commit a4c0420
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ocil: |-
API server to verify that its resources were successfully encrypted:
<pre>
# encrypt the etcd datastore
$ oc get openshiftapiserver -o=jsonpath='{range .items[0]}{.status.conditions[?(@.type=="Encrypted")].status}{"\n"}{end}'
$ oc get openshiftapiserver -o=jsonpath='{range .items[0].status.conditions[?(@.type=="Encrypted")]}{.status}{"\n"}{.reason}{"\n"}{.message}{"\n"}{end}'
<pre>
The output shows <tt>EncryptionCompleted</tt> upon successful encryption.
If the output shows <tt>EncryptionInProgress</tt> this means that encryption is still in
Expand Down

0 comments on commit a4c0420

Please sign in to comment.