Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/snippets/proc-building-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ The `build` command uses the project name and the image registry name to constru

!!! note
The coordinates for the **image registry** can be configured through an environment variable (`FUNC_REGISTRY`) as well.

!!! tip "Private Registry Authentication"
For private registries that require authentication, you can set credentials using environment variables:

- `FUNC_USERNAME`: The username for registry authentication
- `FUNC_PASSWORD`: The password for registry authentication

These variables work with all builders: `host`, `s2i`, and `pack`.
8 changes: 8 additions & 0 deletions docs/snippets/proc-deploying-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ The `deploy` command uses the function project name as the Knative Service name.
http://hello.default.127.0.0.1.sslip.io
```

!!! tip "Private Registry Authentication"
For private registries that require authentication, you can set credentials using environment variables:

- `FUNC_USERNAME`: The username for registry authentication
- `FUNC_PASSWORD`: The password for registry authentication

These variables work with all builders: `host`, `s2i`, and `pack`.

You can verify that your function has been successfully deployed by using the `invoke` command and observing the output:

=== "func"
Expand Down