We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e28106 commit e727907Copy full SHA for e727907
docs/modules/ROOT/pages/how-tos/configuring/creating-secrets.adoc
@@ -47,6 +47,28 @@ Some container builds may use parent images from registries that require authent
47
. Enter the password for the registry in **Password**.
48
. Click **Add secret**.
49
50
+.Example using registry pull secret in tekton task
51
+
52
+[source, yaml]
53
+----
54
+apiVersion: tekton.dev/v1beta1
55
+kind: TaskRun
56
+metadata:
57
+ name: build-container
58
+spec:
59
+ taskRef:
60
61
+ params:
62
+ - name: image
63
+ value: registry.redhat.io/my-image:latest
64
+ workspaces:
65
+ - name: source
66
+ subPath: src
67
+ volumes:
68
+ - name: registry-credentials
69
+ secret:
70
+ secretName: registry.redhat.io
71
72
73
[NOTE]
74
====
0 commit comments