Merge pull request #13479 from momesgin/13062-oci-message

Update OCI repo creation message
This commit is contained in:
momesgin 2025-02-27 09:02:37 -08:00 committed by GitHub
commit 68fb044c24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 9 deletions

View File

@ -1134,7 +1134,8 @@ catalog:
oci:
urlLabel: OCI Repository Host URL
placeholder: 'e.g. oci://<registry-host>/<namespace>/<chart-name>:<tag>'
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://<registry-host>/<namespace> or oci://<registry-host>/<namespace>/<chart-name>. The list of charts available from the repository is updated every 6 hours.
warning: OCI URLs must ONLY target helm chart/s.
info: For large repositories containing many charts consider targeting a specific namespace or chart to improve performance, for example with oci://<registry-host>/<namespace> or oci://<registry-host>/<namespace>/<chart-name>.
skipTlsVerifications: Skip TLS Verifications
insecurePlainHttp: Insecure Plain Http
exponentialBackOff:

View File

@ -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 {
</div>
</div>
<InfoBox
v-if="clusterRepoType === CLUSTER_REPO_TYPES.OCI_URL"
class="p-10"
>
{{ t('catalog.repo.oci.info', null, true) }}
</InfoBox>
<template v-if="clusterRepoType === CLUSTER_REPO_TYPES.OCI_URL">
<Banner
label-key="catalog.repo.oci.warning"
color="warning"
/>
<Banner
:label="t('catalog.repo.oci.info', null, true)"
color="info"
/>
</template>
<div class="row mb-10">
<template v-if="clusterRepoType === CLUSTER_REPO_TYPES.GIT_REPO">