-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support tools for restricted network
- Loading branch information
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# [Restricted Network] - Configure Support Tools | ||
|
||
The following must-gather and support-tools images from upstream quay.io and registry.redhat.io are not accessible from a restricted network. | ||
* registry.redhat.io/rhel7/support-tools | ||
* quay.io/openshift/origin-must-gather | ||
|
||
Configure the cluster to pull the images above from your mirror Docker repository: | ||
``` | ||
# Replace '<local-registry>:<local-port>' with your own mirror Docker repository host and port | ||
vi support-tools-policy.yaml | ||
# Apply the ImageContentSourcePolicy, which will also reboot the nodes | ||
oc apply -f support-tools-policy.yaml | ||
``` |
12 changes: 12 additions & 0 deletions
12
imagecontentsourcepolicy/support-tools/support-tools-policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: operator.openshift.io/v1alpha1 | ||
kind: ImageContentSourcePolicy | ||
metadata: | ||
name: support-tools-policy | ||
spec: | ||
repositoryDigestMirrors: | ||
- mirrors: | ||
- <local-registry>:<local-port>/rhel7/support-tools | ||
source: registry.redhat.io/rhel7/support-tools | ||
- mirrors: | ||
- <local-registry>:<local-port>/openshift/origin-must-gather | ||
source: quay.io/openshift/origin-must-gather |