Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions contrib/completions/bash/oc
Original file line number Diff line number Diff line change
Expand Up @@ -8359,6 +8359,8 @@ _oc_get()
local_nonpersistent_flags+=("--output=")
flags+=("--output-version=")
local_nonpersistent_flags+=("--output-version=")
flags+=("--raw=")
local_nonpersistent_flags+=("--raw=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
Expand Down
4 changes: 4 additions & 0 deletions contrib/completions/bash/openshift
Original file line number Diff line number Diff line change
Expand Up @@ -12732,6 +12732,8 @@ _openshift_cli_get()
local_nonpersistent_flags+=("--output=")
flags+=("--output-version=")
local_nonpersistent_flags+=("--output-version=")
flags+=("--raw=")
local_nonpersistent_flags+=("--raw=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
Expand Down Expand Up @@ -22182,6 +22184,8 @@ _openshift_kube_get()
local_nonpersistent_flags+=("--output=")
flags+=("--output-version=")
local_nonpersistent_flags+=("--output-version=")
flags+=("--raw=")
local_nonpersistent_flags+=("--raw=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
Expand Down
2 changes: 2 additions & 0 deletions contrib/completions/zsh/oc
Original file line number Diff line number Diff line change
Expand Up @@ -8520,6 +8520,8 @@ _oc_get()
local_nonpersistent_flags+=("--output=")
flags+=("--output-version=")
local_nonpersistent_flags+=("--output-version=")
flags+=("--raw=")
local_nonpersistent_flags+=("--raw=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
Expand Down
4 changes: 4 additions & 0 deletions contrib/completions/zsh/openshift
Original file line number Diff line number Diff line change
Expand Up @@ -12893,6 +12893,8 @@ _openshift_cli_get()
local_nonpersistent_flags+=("--output=")
flags+=("--output-version=")
local_nonpersistent_flags+=("--output-version=")
flags+=("--raw=")
local_nonpersistent_flags+=("--raw=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
Expand Down Expand Up @@ -22343,6 +22345,8 @@ _openshift_kube_get()
local_nonpersistent_flags+=("--output=")
flags+=("--output-version=")
local_nonpersistent_flags+=("--output-version=")
flags+=("--raw=")
local_nonpersistent_flags+=("--raw=")
flags+=("--recursive")
flags+=("-R")
local_nonpersistent_flags+=("--recursive")
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/oc-get.1
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ If you want an even more detailed view, use 'oc describe'.
\fB\-\-output\-version\fP=""
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').

.PP
\fB\-\-raw\fP=""
Raw URI to request from the server. Uses the transport specified by the kubeconfig file.

.PP
\fB\-R\fP, \fB\-\-recursive\fP=false
Process the directory used in \-f, \-\-filename recursively. Useful when you want to manage related manifests organized within the same directory.
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/openshift-cli-get.1
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ If you want an even more detailed view, use 'openshift cli describe'.
\fB\-\-output\-version\fP=""
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').

.PP
\fB\-\-raw\fP=""
Raw URI to request from the server. Uses the transport specified by the kubeconfig file.

.PP
\fB\-R\fP, \fB\-\-recursive\fP=false
Process the directory used in \-f, \-\-filename recursively. Useful when you want to manage related manifests organized within the same directory.
Expand Down
4 changes: 4 additions & 0 deletions docs/man/man1/openshift-kube-get.1
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ of the \-\-template flag, you can filter the attributes of the fetched resource(
\fB\-\-output\-version\fP=""
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').

.PP
\fB\-\-raw\fP=""
Raw URI to request from the server. Uses the transport specified by the kubeconfig file.

.PP
\fB\-R\fP, \fB\-\-recursive\fP=false
Process the directory used in \-f, \-\-filename recursively. Useful when you want to manage related manifests organized within the same directory.
Expand Down
8 changes: 5 additions & 3 deletions hack/test-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,10 @@ if [[ "${API_SCHEME}" == "https" ]]; then
export CURL_KEY="${MASTER_CONFIG_DIR}/admin.key"
fi

wait_for_url "${API_SCHEME}://${API_HOST}:${API_PORT}/healthz" "apiserver: " 0.25 80
wait_for_url "${API_SCHEME}://${API_HOST}:${API_PORT}/healthz/ready" "apiserver(ready): " 0.25 80
os::test::junit::declare_suite_start "cmd/startup"
os::cmd::try_until_text "oc get --raw /healthz --config='${MASTER_CONFIG_DIR}/admin.kubeconfig'" "ok"
os::cmd::try_until_text "oc get --raw /healthz/ready --config='${MASTER_CONFIG_DIR}/admin.kubeconfig'" "ok"
os::test::junit::declare_suite_end

# profile the cli commands
export OPENSHIFT_PROFILE="${CLI_PROFILE-}"
Expand Down Expand Up @@ -339,5 +341,5 @@ for test in "${tests[@]}"; do
done

echo "[INFO] Metrics information logged to ${LOG_DIR}/metrics.log"
wait_for_url "${API_SCHEME}://${API_HOST}:${API_PORT}/metrics" "metrics: " 0.25 80 > "${LOG_DIR}/metrics.log"
oc get --raw /metrics > "${LOG_DIR}/metrics.log"
echo "test-cmd: ok"
30 changes: 30 additions & 0 deletions vendor/k8s.io/kubernetes/pkg/kubectl/cmd/get.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.