-
Notifications
You must be signed in to change notification settings - Fork 1
/
local_reg.sh
executable file
·96 lines (73 loc) · 1.99 KB
/
local_reg.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/bin/bash
read -p "Please enter the internal IP of your Container Registry: " ip
echo 'unqualified-search-registries = ["registry.access.redhat.com", "registry.redhat.io", "quay.io", "docker.io"]
[[registry]]
prefix = ""
location = "docker.io/argoproj"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000/argoproj"
insecure = true
[[registry]]
prefix = ""
location = "docker.io/library"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000/library"
insecure = true
[[registry]]
prefix = ""
location = "gcr.io/kubebuilder"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000/kubebuilder"
insecure = true
[[registry]]
prefix = ""
location = "quay.io/akrohg"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000/akrohg"
insecure = true
[[registry]]
prefix = ""
location = "quay.io/redhat-cop"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000/redhat-cop"
insecure = true
[[registry]]
prefix = ""
location = "quay.io/openshift-release-dev/ocp-release"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000/openshift-release-dev"
insecure = true
[[registry]]
prefix = ""
location = "quay.io/openshift-release-dev/ocp-v4.0-art-dev"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000/openshift-release-dev"
insecure = true
[[registry]]
prefix = ""
location = "quay.io/redhatgov"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000/redhatgov"
insecure = true
[[registry]]
prefix = ""
location = "registry.connect.redhat.com"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000"
insecure = true
[[registry]]
prefix = ""
location = "registry.redhat.io"
mirror-by-digest-only = false
[[registry.mirror]]
location = "'${ip}':5000"
insecure = true' > mirror.conf