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
Configure the KOTS HelmChart custom resource `values` key so that KOTS rewrites the names for both private and public images in your Helm values during deployment. This allows images to be accessed at one of the following locations, depending on where they were pushed:
22
-
* The [Replicated proxy registry](private-images-about) (`proxy.replicated.com`)
22
+
* The [Replicated proxy registry](private-images-about) (`proxy.replicated.com` or your custom domain)
23
23
* A public image registry
24
24
* Your customer's local registry
25
25
* The built-in registry used in Replicated Embedded Cluster or Replicated kURL installations in air-gapped environments
@@ -32,18 +32,19 @@ You will use the following KOTS template functions to conditionally rewrite imag
32
32
<details>
33
33
<summary>What is the registry namespace?</summary>
34
34
35
-
The registry namespace is the path between the registry and the image name. For example, `my.registry.com/namespace/image:tag`.
35
+
The registry namespace is the path between the registry and the image name. For example, `images.mycompany.com/namespace/image:tag`.
36
36
</details>
37
37
38
38
### Task 1a: Rewrite Private Image Names
39
39
40
40
For any private images used by your application, configure the HelmChart custom resource so that image names are rewritten to either the Replicated proxy registry (for online installations) or to the local registry in the user's installation environment (for air gap installations or online installations where the user configured a local registry).
41
41
42
-
To rewrite image names to the location of the image in the proxy registry, use the format `proxy.replicated.com/proxy/<app-slug>/<image>`, where:
42
+
To rewrite image names to the location of the image in the proxy registry, use the format `<proxy-domain>/proxy/<app-slug>/<image>`, where:
43
+
*`<proxy-domain>` is `proxy.replicated.com` or your custom domain. For more information about configuring a custom domain for the proxy registry, see [Using Custom Domains](/vendor/custom-domains-using).
43
44
*`<app-slug>` is the unique application slug in the Vendor Portal
44
45
*`<image>` is the path to the image in your registry
45
46
46
-
For example, if the private image is `quay.io/my-org/nginx:v1.0.1`, then the image name should be rewritten to `proxy.replicated.com/proxy/my-app-slug/quay.io/my-org/nginx:v1.0.1`.
47
+
For example, if the private image is `quay.io/my-org/nginx:v1.0.1` and `images.mycompany.com` is the custom proxy registry domain, then the image name should be rewritten to `images.mycompany.com/proxy/my-app-slug/quay.io/my-org/nginx:v1.0.1`.
47
48
48
49
For more information, see the example below.
49
50
@@ -63,10 +64,10 @@ spec:
63
64
values:
64
65
image:
65
66
# If a registry is configured by the user or by Embedded Cluster/kURL, use that registry's hostname
0 commit comments