Skip to content

Commit dbd8420

Browse files
committed
Updates to docs on using functions with the default registry
1 parent 58fa259 commit dbd8420

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

modules/serverless-functions-using-integrated-registry.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ When building and deploying functions, the resulting container image is stored i
99

1010
.Procedure
1111

12-
* Run the `kn func build` command, or the `kn func deploy` command, with the OpenShift Container Registry specified for the `-r` parameter:
12+
* Run the `kn func build` command, or the `kn func deploy` command, with the OpenShift Container Registry and the namespace specified for the `-r` parameter:
1313
+
1414
.Example build command
1515
[source,terminal]
1616
----
17-
$ kn func build -r $(oc get route -n openshift-image-registry)
17+
$ kn func build -r $(oc get route -n openshift-image-registry)/my-namespace
1818
----
1919
+
2020
.Example deploy command
2121
[source,terminal]
2222
----
23-
$ kn func deploy -r $(oc get route -n openshift-image-registry)
23+
$ kn func deploy -r $(oc get route -n openshift-image-registry)/my-namespace
2424
----
2525
+
2626
You can verify that the function deployed successfully by emitting a test event to it.

serverless/functions/serverless-functions-getting-started.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ include::modules/serverless-create-func-kn.adoc[leveloffset=+1]
2020
include::modules/serverless-build-func-kn.adoc[leveloffset=+1]
2121
include::modules/serverless-deploy-func-kn.adoc[leveloffset=+1]
2222
include::modules/serverless-functions-using-integrated-registry.adoc[leveloffset=+1]
23+
24+
== Additional resources
25+
26+
* See xref:../../registry/securing-exposing-registry.adoc#securing-exposing-registry[Exposing a default registry manually].
27+
2328
include::modules/serverless-kn-func-emit.adoc[leveloffset=+1]
2429

2530
[id="next-steps_serverless-functions-getting-started"]

0 commit comments

Comments
 (0)