Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 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
1 change: 0 additions & 1 deletion docs/reference/cron-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,3 @@ The following examples show valid cron expressions to schedule checking for upda
```
@every 1h45m
```

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ ignore me

9 changes: 5 additions & 4 deletions docs/reference/template-functions-config-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,16 +164,17 @@ This will always return everything before the image name and tag.
func LocalRegistryHost() string
```

Returns the local registry host that's configured.
This will include port if one is specified.
Returns the host of the local registry that the user configured. Alternatively, for air gap installations with Replicated Embedded Cluster or Replicated kURL, LocalRegistryHost returns the host of the built-in registry.

Includes the port if one is specified.

## LocalRegistryNamespace

```go
func LocalRegistryNamespace() string
```

Returns the local registry namespace that's configured.
Returns the namespace of the local registry that the user configured. Alternatively, for air gap installations with Embedded Cluster or kURL, LocalRegistryNamespace returns the namespace of the built-in registry.

## LocalImageName

Expand Down Expand Up @@ -257,4 +258,4 @@ func HasLocalRegistry() bool
```

Returns true if the environment is configured to rewrite images to a local registry.
This is true for air gapped installations, and optionally true for online installations.
HasLocalRegistry is always true for air gap installations. HasLocalRegistry is true in online installations if the user pushed images to a local registry.
Loading