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
This PR introduces the StepAction CRD in `v1alpha1`. This is not the complete CRD. As we add support for `params`, `results` etc. we will introduce in follow-up PRs.
It is the first of many implementation PRs as described in issue: #7259
Refer to the Kubernetes API documentation for the fields of the
6401
+
<code>metadata</code> field.
6402
+
</td>
6403
+
</tr>
6404
+
<tr>
6405
+
<td>
6406
+
<code>spec</code><br/>
6407
+
<em>
6408
+
<a href="#tekton.dev/v1alpha1.StepActionSpec">
6409
+
StepActionSpec
6410
+
</a>
6411
+
</em>
6412
+
</td>
6413
+
<td>
6414
+
<em>(Optional)</em>
6415
+
<p>Spec holds the desired state of the Step from the client</p>
6416
+
<br/>
6417
+
<br/>
6418
+
<table>
6419
+
<tr>
6420
+
<td>
6421
+
<code>image</code><br/>
6422
+
<em>
6423
+
string
6424
+
</em>
6425
+
</td>
6426
+
<td>
6427
+
<em>(Optional)</em>
6428
+
<p>Image reference name to run for this StepAction.
6429
+
More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p>
6430
+
</td>
6431
+
</tr>
6432
+
<tr>
6433
+
<td>
6434
+
<code>command</code><br/>
6435
+
<em>
6436
+
[]string
6437
+
</em>
6438
+
</td>
6439
+
<td>
6440
+
<em>(Optional)</em>
6441
+
<p>Entrypoint array. Not executed within a shell.
6442
+
The image’s ENTRYPOINT is used if this is not provided.
6443
+
Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable
6444
+
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
6445
+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. “$$(VAR_NAME)” will
6446
+
produce the string literal “$(VAR_NAME)”. Escaped references will never be expanded, regardless
6447
+
of whether the variable exists or not. Cannot be updated.
6448
+
More info: <a href="https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell">https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell</a></p>
6449
+
</td>
6450
+
</tr>
6451
+
<tr>
6452
+
<td>
6453
+
<code>args</code><br/>
6454
+
<em>
6455
+
[]string
6456
+
</em>
6457
+
</td>
6458
+
<td>
6459
+
<em>(Optional)</em>
6460
+
<p>Arguments to the entrypoint.
6461
+
The image’s CMD is used if this is not provided.
6462
+
Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable
6463
+
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
6464
+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. “$$(VAR_NAME)” will
6465
+
produce the string literal “$(VAR_NAME)”. Escaped references will never be expanded, regardless
6466
+
of whether the variable exists or not. Cannot be updated.
6467
+
More info: <a href="https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell">https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell</a></p>
<p>StepActionSpec contains the actionable components of a step.</p>
7170
+
</div>
7171
+
<table>
7172
+
<thead>
7173
+
<tr>
7174
+
<th>Field</th>
7175
+
<th>Description</th>
7176
+
</tr>
7177
+
</thead>
7178
+
<tbody>
7179
+
<tr>
7180
+
<td>
7181
+
<code>image</code><br/>
7182
+
<em>
7183
+
string
7184
+
</em>
7185
+
</td>
7186
+
<td>
7187
+
<em>(Optional)</em>
7188
+
<p>Image reference name to run for this StepAction.
7189
+
More info: <a href="https://kubernetes.io/docs/concepts/containers/images">https://kubernetes.io/docs/concepts/containers/images</a></p>
7190
+
</td>
7191
+
</tr>
7192
+
<tr>
7193
+
<td>
7194
+
<code>command</code><br/>
7195
+
<em>
7196
+
[]string
7197
+
</em>
7198
+
</td>
7199
+
<td>
7200
+
<em>(Optional)</em>
7201
+
<p>Entrypoint array. Not executed within a shell.
7202
+
The image’s ENTRYPOINT is used if this is not provided.
7203
+
Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable
7204
+
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
7205
+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. “$$(VAR_NAME)” will
7206
+
produce the string literal “$(VAR_NAME)”. Escaped references will never be expanded, regardless
7207
+
of whether the variable exists or not. Cannot be updated.
7208
+
More info: <a href="https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell">https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell</a></p>
7209
+
</td>
7210
+
</tr>
7211
+
<tr>
7212
+
<td>
7213
+
<code>args</code><br/>
7214
+
<em>
7215
+
[]string
7216
+
</em>
7217
+
</td>
7218
+
<td>
7219
+
<em>(Optional)</em>
7220
+
<p>Arguments to the entrypoint.
7221
+
The image’s CMD is used if this is not provided.
7222
+
Variable references $(VAR_NAME) are expanded using the container’s environment. If a variable
7223
+
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
7224
+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. “$$(VAR_NAME)” will
7225
+
produce the string literal “$(VAR_NAME)”. Escaped references will never be expanded, regardless
7226
+
of whether the variable exists or not. Cannot be updated.
7227
+
More info: <a href="https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell">https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell</a></p>
0 commit comments