From 99fbad224b61ce4edfd5c81b3385c9252120ce26 Mon Sep 17 00:00:00 2001 From: Aravind Ramalingam Date: Thu, 4 Jan 2024 18:35:25 -0800 Subject: [PATCH] fixing labeler and registry mirror docs changes for ociNamespaces --- .github/labeler.yml | 6 ++++-- .../en/docs/getting-started/optional/registrymirror.md | 9 ++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 29b7dabb7d752..347e37a5fbc06 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,5 +1,7 @@ documentation: -- docs/**/* +- changed-files: + - any-glob-to-any-file: docs/** area/docs: -- docs/**/* +- changed-files: + - any-glob-to-any-file: docs/** \ No newline at end of file diff --git a/docs/content/en/docs/getting-started/optional/registrymirror.md b/docs/content/en/docs/getting-started/optional/registrymirror.md index 7d16d8057aebe..e99f65a0e5efe 100644 --- a/docs/content/en/docs/getting-started/optional/registrymirror.md +++ b/docs/content/en/docs/getting-started/optional/registrymirror.md @@ -60,7 +60,9 @@ spec: * __Example__: ```port: 443``` ### __ociNamespaces__ (optional) -* __Description__: when you need to mirror multiple registries, you can map each upstream registry to the "namespace" of its mirror. While using the `ociNamespaces`, at least one entry __must__ exist for the `public.ecr.aws` registry to pull EKS Anywhere images from. The registry for curated packages is an optional entry. +* __Description__: when you need to mirror multiple registries, you can map each upstream registry to the "namespace" of its mirror. The namespace is appended with the endpoint, `/` to setup the mirror for the registry specified. +Note while using `ociNamespaces`, you need to specify __all__ the registries that need to be mirrored. This includes an entry for the `public.ecr.aws` registry to pull EKS Anywhere images from. + * __Type__: array * __Example__:
```yaml @@ -70,6 +72,11 @@ spec: - registry: "783794618700.dkr.ecr.us-west-2.amazonaws.com" namespace: "curated-packages" ``` +{{% alert title="Warning" color="warning" %}} +Currently only `public.ecr.aws` registry is supported for mirroring with Bottlerocket OS. +{{% /alert %}} + + ### __caCertContent__ (optional) * __Description__: certificate Authority (CA) Certificate for the private registry . When using