From 6f5c1118bf4ecee89363da8274071a0c4187ef43 Mon Sep 17 00:00:00 2001 From: Mo Mesgin Date: Fri, 21 Feb 2025 11:39:43 -0800 Subject: [PATCH 1/3] update OCI repo creation message --- shell/assets/translations/en-us.yaml | 4 ++-- shell/edit/catalog.cattle.io.clusterrepo.vue | 20 ++++++++++++-------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/shell/assets/translations/en-us.yaml b/shell/assets/translations/en-us.yaml index cae772ae0c4..4baff8a0411 100644 --- a/shell/assets/translations/en-us.yaml +++ b/shell/assets/translations/en-us.yaml @@ -1125,8 +1125,8 @@ catalog: oci: urlLabel: OCI Repository Host URL placeholder: 'e.g. oci:////:' - info: Add OCI URLs that contain ONLY helm charts. For large repositories containing many charts consider targeting a specific namespace or chart to improve performance, for example with oci:/// or oci:////. The list of charts available from the repository is updated every 6 hours. - skipTlsVerifications: Skip TLS Verifications + warning: OCI URLs should ONLY contain helm charts. + info: For large repositories containing many charts consider targeting a specific namespace or chart to improve performance, for example with oci:/// or oci:////. insecurePlainHttp: Insecure Plain Http exponentialBackOff: label: Exponential Back Off diff --git a/shell/edit/catalog.cattle.io.clusterrepo.vue b/shell/edit/catalog.cattle.io.clusterrepo.vue index cfab9254144..453ad8183c5 100644 --- a/shell/edit/catalog.cattle.io.clusterrepo.vue +++ b/shell/edit/catalog.cattle.io.clusterrepo.vue @@ -6,7 +6,7 @@ import { RadioGroup } from '@components/Form/Radio'; import NameNsDescription from '@shell/components/form/NameNsDescription'; import Labels from '@shell/components/form/Labels'; import SelectOrCreateAuthSecret from '@shell/components/form/SelectOrCreateAuthSecret'; -import InfoBox from '@shell/components/InfoBox'; +import Banner from '@components/Banner/Banner.vue'; import { Checkbox } from '@components/Form/Checkbox'; import { MANAGEMENT, NAMESPACE, CLUSTER_REPO_TYPES } from '@shell/config/types'; import UnitInput from '@shell/components/form/UnitInput.vue'; @@ -23,7 +23,7 @@ export default { NameNsDescription, Labels, SelectOrCreateAuthSecret, - InfoBox, + Banner, Checkbox, UnitInput }, @@ -153,12 +153,16 @@ export default { - - {{ t('catalog.repo.oci.info', null, true) }} - +