1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-03 04:45:21 +02:00

workaround: leave the globally set helm repo to empty and add disclaimer - release 2.27 (#410)

This commit is contained in:
Steven Kang 2025-02-11 15:36:33 +13:00 committed by GitHub
parent 0fddedc1a9
commit 9ac8641f7e
12 changed files with 76 additions and 24 deletions

View file

@ -4,6 +4,7 @@ import { TextTip } from '@@/Tip/TextTip';
import { FormControl } from '@@/form-components/FormControl';
import { FormSection } from '@@/form-components/FormSection';
import { Input } from '@@/form-components/Input';
import { InsightsBox } from '@@/InsightsBox';
export function HelmSection() {
const [{ name }, { error }] = useField<string>('helmRepositoryUrl');
@ -24,13 +25,34 @@ export function HelmSection() {
</TextTip>
</div>
<InsightsBox
header="Disclaimer"
content={
<>
At present Portainer does not support OCI format Helm charts.
Support for OCI charts will be available in a future release. If you
would like to provide feedback on OCI support or get access to early
releases to test this functionality,{' '}
<a
href="https://bit.ly/3WVkayl"
target="_blank"
rel="noopener noreferrer"
>
please get in touch
</a>
.
</>
}
className="block w-fit mt-2 mb-1"
/>
<FormControl label="URL" errors={error} inputId="helm-repo-url">
<Field
as={Input}
id="helm-repo-url"
data-cy="helm-repo-url-input"
name={name}
placeholder="https://charts.bitnami.com/bitnami"
placeholder="https://kubernetes.github.io/ingress-nginx"
/>
</FormControl>
</FormSection>