Skip to content

Commit 448c39d

Browse files
author
Michael Burke
committed
OCPBUGS13238: CoreOS Layering docs should have info about using the cluster pull-secret
1 parent 1885bd8 commit 448c39d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/coreos-layering-configuring.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ RUN rpm-ostree override replace https://example.com/hotfixes/haproxy-1.0.16-5.el
4444
Instructions on how to create a Containerfile are beyond the scope of this documentation.
4545
====
4646
47+
* Because the process for building a custom layered image is performed outside of the cluster, you must use the `--authfile /path/to/pull-secret` option with Podman or Buildah. Alternatively, to have the pull secret read by these tools automatically, you can add it to one of the default file locations: `~/.docker/config.json`, `$XDG_RUNTIME_DIR/containers/auth.json`, `~/.docker/config.json`, or `~/.dockercfg`. Refer to the `containers-auth.json` man page for more information.
48+
4749
* You must push the custom layered image to a repository that your cluster can access.
4850
4951
.Procedure

0 commit comments

Comments
 (0)