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
-[Configuring the OpenShift service connection](#configuring-the-openshift-service-connection)
9
-
-[Basic Authentication](#basic-authentication)
10
-
-[Token Authentication](#token-authentication)
11
-
-[Kubeconfig](#kubeconfig)
8
+
-[Connect to your OpenShift cluster](connect-to-your-openshift-cluster)
9
+
-[Configuring the OpenShift service connection](#configuring-the-openshift-service-connection)
10
+
-[Basic Authentication](#basic-authentication)
11
+
-[Token Authentication](#token-authentication)
12
+
-[Kubeconfig](#kubeconfig)
13
+
-[Set up OpenShift connection runtime](#setup-the-openshift-connection-runtime)
12
14
-[Pipeline Tasks](#pipeline-tasks)
13
15
-[Install and setup oc](#install-and-setup-oc)
14
16
-[Executing single oc commands](#executing-single-oc-commands)
17
+
-[Executing single conditional oc commands](#executing-single-conditional-oc-commands)
15
18
-[Updating a ConfigMap](#updating-a-configmap)
16
19
-[YAML configuration](#yaml-configuration)
17
20
@@ -22,6 +25,7 @@ The following paragraphs guide you through the process of using this extension.
22
25
23
26
To use any of the pipeline tasks, you first need a way to connect to your cluster.
24
27
In Azure DevOps, access to external and remote services is configured in [service connections](https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=vsts).
28
+
25
29
The OpenShift extension for Azure DevOps provides two ways to set up a connection: <ahref="#configuring-the-openshift-service-connection">create a custom OpenShift service connection type <a> which allows you to connect to your cluster using various authentication forms or <ahref="#setup-the-openshift-connection-runtime">by defining it at Task level</a> when creating your pipeline.
@@ -139,9 +145,9 @@ The _Install oc_ has three configuration options.
139
145
140
146
<dl>
141
147
<dt>Service Connection Type</dt>
142
-
<dd>Required. Allows to set up a connection at runtime or by choosing an existing service connection. See <ahref="#connect-to-your-openshift-cluster">_Connect to your OpenShift cluster_</a>.</dd>
148
+
<dd>Required. Allows to set up a connection at runtime or by choosing an existing service connection. See <ahref="#connect-to-your-openshift-cluster">Connect to your OpenShift cluster</a>.</dd>
143
149
<dt>Version of oc to use</dt>
144
-
<dd>Allows to specify the version of oc to use for command execution, eg v3.10.0. If left blank the latest stable version is used. You can also specify a direct URL to the oc release bundle. See <ahref="#how-the-cache-works">_How the cache works_</a></dd>
150
+
<dd>Allows to specify the version of oc to use for command execution, eg v3.10.0. If left blank the latest stable version is used. You can also specify a direct URL to the oc release bundle. See <ahref="#how-the-cache-works">How the cache works</a></dd>
145
151
<dt>Proxy</dt>
146
152
<dd>Allows to specify a proxy (host:port) to use to download oc cli</dd>
147
153
</dl>
@@ -160,9 +166,9 @@ The _Execute oc command_ has six configuration options.
160
166
161
167
<dl>
162
168
<dt>Service Connection Type</dt>
163
-
<dd>Required. Allows to set up a connection at runtime or by choosing an existing service connection. See <ahref="#connect-to-your-openshift-cluster">_Connect to your OpenShift cluster_</a>.</dd>
169
+
<dd>Required. Allows to set up a connection at runtime or by choosing an existing service connection. See <ahref="#connect-to-your-openshift-cluster">Connect to your OpenShift cluster</a>.</dd>
164
170
<dt>Version of oc to use</dt>
165
-
<dd>Allows to specify the version of oc to use for command execution, eg v3.10.0. If left blank the latest stable version is used. You can also specify a direct URL to the oc release bundle. See <ahref="#how-the-cache-works">_How the cache works_</a></dd>
171
+
<dd>Allows to specify the version of oc to use for command execution, eg v3.10.0. If left blank the latest stable version is used. You can also specify a direct URL to the oc release bundle. See <ahref="#how-the-cache-works">How the cache works</a></dd>
166
172
<dt>Command to run</dt>
167
173
<dd>The actual oc command to run starting with the oc sub-command, eg "rollout latest dc/my-app -n production". <ahref="#command-features">Check the notes below</a> to find out more features supported by the extension.</dd>
In case you want to execute a single conditional `oc` command you can use the _Execute conditional oc command_ task.
@@ -236,9 +242,9 @@ The _Execute conditional oc command_ has ten configuration options.
236
242
237
243
<dl>
238
244
<dt>Service Connection Type</dt>
239
-
<dd>Required. Allows to set up a connection at runtime or by choosing an existing service connection. See <ahref="#connect-to-your-openshift-cluster">_Connect to your OpenShift cluster_</a>.</dd>
245
+
<dd>Required. Allows to set up a connection at runtime or by choosing an existing service connection. See <ahref="#connect-to-your-openshift-cluster">Connect to your OpenShift cluster</a>.</dd>
240
246
<dt>Version of oc to use</dt>
241
-
<dd>Allows to specify the version of oc to use for command execution, eg v3.10.0. If left blank the latest stable version is used. You can also specify a direct URL to the oc release bundle. See <ahref="#how-the-cache-works">_How the cache works_</a></dd>
247
+
<dd>Allows to specify the version of oc to use for command execution, eg v3.10.0. If left blank the latest stable version is used. You can also specify a direct URL to the oc release bundle. See <ahref="#how-the-cache-works">How the cache works</a></dd>
242
248
<dt>Command to run</dt>
243
249
<dd>The oc command to run whenever the condition is met, eg "rollout latest dc/my-app -n production". <ahref="#command-features">Check the additional features</a> supported by the extension.</dd>
244
250
<dt>Ignore on success return value</dt>
@@ -283,9 +289,9 @@ The _Update ConfigMap_ task has six configuration options.
283
289
284
290
<dl>
285
291
<dt>Service Connection Type</dt>
286
-
<dd>Required. Allows to set up a connection at runtime or by choosing an existing service connection. See <ahref="#connect-to-your-openshift-cluster">_Connect to your OpenShift cluster_</a>.</dd>
292
+
<dd>Required. Allows to set up a connection at runtime or by choosing an existing service connection. See <ahref="#connect-to-your-openshift-cluster">Connect to your OpenShift cluster</a>.</dd>
287
293
<dt>Version of oc to use</dt>
288
-
<dd>Allows to specify the version of oc to use for command execution, eg v3.10.0. If left blank the latest stable version is used. You can also specify a direct URL to the oc release bundle. See <ahref="#how-the-cache-works">_How the cache works_</a></dd>
294
+
<dd>Allows to specify the version of oc to use for command execution, eg v3.10.0. If left blank the latest stable version is used. You can also specify a direct URL to the oc release bundle. See <ahref="#how-the-cache-works">How the cache works</a></dd>
289
295
<dt>Name of ConfigMap</dt>
290
296
<dd>Required.The name of the ConfigMap to update.</dd>
0 commit comments