1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/cli-administrator-other.adoc
2020-01-10 20:03:02 +00:00

66 lines
1.7 KiB
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/openshift_cli/administrator-cli-commands.adoc
[id="cli-other-administrator-commands_{context}"]
= Other Administrator CLI commands
== build-chain
Output the inputs and dependencies of any builds.
.Example: Output dependencies for the `perl` imagestream
----
$ oc adm build-chain perl
----
== completion
Output shell completion code for the `oc adm` commands for the specified shell.
.Example: Display `oc adm` completion code for Bash
----
$ oc adm completion bash
----
== config
Manage the client configuration files. This command has the same behavior as the
`oc config` command.
.Example: Display the current configuration
----
$ oc adm config view
----
.Example: Switch to a different context
----
$ oc adm config use-context test-context
----
== release
Manage various aspects of the {product-title} release process, such as viewing information about a release or inspecting the contents of a release.
.Example: Generate a changelog between two releases and save to `changelog.md`
----
$ oc adm release info --changelog=/tmp/git \
quay.io/openshift-release-dev/ocp-release:4.3.0-rc.7 \
quay.io/openshift-release-dev/ocp-release:4.3.0 \
> changelog.md
----
== verify-image-signature
Verify the image signature of an image imported to the internal registry using
the local public GPG key.
.Example: Verify the `nodejs` image signature
----
$ oc adm verify-image-signature \
sha256:2bba968aedb7dd2aafe5fa8c7453f5ac36a0b9639f1bf5b03f95de325238b288 \
--expected-identity 172.30.1.1:5000/openshift/nodejs:latest \
--public-key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release \
--save
----