1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/cli-administrator-configuration.adoc
2020-10-27 12:46:12 +00:00

70 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/openshift_cli/administrator-cli-commands.adoc
[id="cli-configuration-commands_{context}"]
= Configuration CLI commands
== create-bootstrap-policy-file
Create the default bootstrap policy.
.Example: Create a file called `policy.json` with the default bootstrap policy
[source,terminal]
----
$ oc adm create-bootstrap-policy-file --filename=policy.json
----
== create-bootstrap-project-template
Create a bootstrap project template.
.Example: Output a bootstrap project template in YAML format to stdout
[source,terminal]
----
$ oc adm create-bootstrap-project-template -o yaml
----
== create-error-template
Create a template for customizing the error page.
.Example: Output a template for the error page to stdout
[source,terminal]
----
$ oc adm create-error-template
----
== create-kubeconfig
Creates a basic `.kubeconfig` file from client certificates.
.Example: Create a `.kubeconfig` file with the provided client certificates
[source,terminal]
----
$ oc adm create-kubeconfig \
--client-certificate=/path/to/client.crt \
--client-key=/path/to/client.key \
--certificate-authority=/path/to/ca.crt
----
== create-login-template
Create a template for customizing the login page.
.Example: Output a template for the login page to stdout
[source,terminal]
----
$ oc adm create-login-template
----
== create-provider-selection-template
Create a template for customizing the provider selection page.
.Example: Output a template for the provider selection page to stdout
[source,terminal]
----
$ oc adm create-provider-selection-template
----