You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/interface/cli/commands/agent/install.cmd.js
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,10 @@ const installAgentCmd = new Command({
72
72
.option('agent-kube-namespace',{
73
73
describe: 'Agent\'s namespace (on attach)',
74
74
})
75
+
.option('docker-registry',{
76
+
describe: 'The prefix for the container registry that will be used for pulling the required components images. Example: --docker-registry="docker.io"',
77
+
type: 'string',
78
+
})
75
79
.option('verbose',{
76
80
describe: 'Print logs',
77
81
}),
@@ -99,6 +103,7 @@ const installAgentCmd = new Command({
99
103
'set-file': setFile,
100
104
'agent-kube-context-name': agentKubeContextName,
101
105
'agent-kube-namespace': agentKubeNamespace,
106
+
'docker-registry': dockerRegistry,
102
107
envVars,
103
108
}=argv;
104
109
letagent;
@@ -163,6 +168,7 @@ const installAgentCmd = new Command({
Copy file name to clipboardExpand all lines: lib/interface/cli/commands/hybrid/init.cmd.js
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,10 @@ const initCmd = new Command({
125
125
.option('storage-class-name',{
126
126
describe: 'Set a name of your custom storage class',
127
127
})
128
+
.option('docker-registry',{
129
+
describe: 'The prefix for the container registry that will be used for pulling the required components images. Example: --docker-registry="docker.io"',
130
+
type: 'string',
131
+
})
128
132
.option('kube-config-path',{
129
133
describe: 'Path to kubeconfig file (default is $HOME/.kube/config)',
Copy file name to clipboardExpand all lines: lib/interface/cli/commands/monitor/install.cmd.js
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,10 @@ const installMonitorCmd = new Command({
33
33
.option('kube-namespace',{
34
34
describe: 'Name of the namespace on which monitor should be installed [$CF_ARG_KUBE_NAMESPACE]',
35
35
})
36
+
.option('docker-registry',{
37
+
describe: 'The prefix for the container registry that will be used for pulling the required components images. Example: --docker-registry="docker.io"',
38
+
type: 'string',
39
+
})
36
40
.option('verbose',{
37
41
describe: 'Print logs',
38
42
}),
@@ -44,6 +48,7 @@ const installMonitorCmd = new Command({
44
48
token,
45
49
'kube-context-name': kubeContextName,
46
50
'kube-namespace': kubeNamespace,
51
+
'docker-registry': dockerRegistry,
47
52
verbose,
48
53
// noExit,
49
54
}=argv;
@@ -90,6 +95,10 @@ const installMonitorCmd = new Command({
Copy file name to clipboardExpand all lines: lib/interface/cli/commands/runtimeEnvironments/install.cmd.js
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,10 @@ const installRuntimeCmd = new Command({
66
66
.option('kube-node-selector',{
67
67
describe: 'The kubernetes node selector "key=value" to be used by runner build resources (default is no node selector) (string)',
68
68
})
69
+
.option('docker-registry',{
70
+
describe: 'The prefix for the container registry that will be used for pulling the required components images. Example: --docker-registry="docker.io"',
71
+
type: 'string',
72
+
})
69
73
.option('set-value',{
70
74
describe: 'Set values for templates, example: --set-value LocalVolumesDir=/mnt/disks/ssd0/codefresh-volumes',
71
75
})
@@ -132,6 +136,7 @@ const installRuntimeCmd = new Command({
132
136
'attach-runtime': attachRuntime,
133
137
'cluster-service-account': clusterServiceAccount,
134
138
'make-default-runtime': shouldMakeDefaultRe,
139
+
'docker-registry': dockerRegistry,
135
140
terminateProcess,
136
141
}=argv;
137
142
@@ -252,6 +257,7 @@ const installRuntimeCmd = new Command({
0 commit comments