|
11 | 11 | import WorkloadDeploy from '$lib/components/WorkloadDeploy.svelte';
|
12 | 12 | import GraphErrors from '$lib/GraphErrors.svelte';
|
13 | 13 | import Time from '$lib/Time.svelte';
|
14 |
| - import { Alert, BodyShort, Button, Heading } from '@nais/ds-svelte-community'; |
| 14 | + import { Alert, BodyLong, BodyShort, Button, Heading } from '@nais/ds-svelte-community'; |
15 | 15 | import { ArrowCirclepathIcon, ExternalLinkIcon } from '@nais/ds-svelte-community/icons';
|
16 | 16 | import type { PageData } from './$houdini';
|
17 | 17 | import Ingresses from './Ingresses.svelte';
|
|
67 | 67 |
|
68 | 68 | {#if $App.data}
|
69 | 69 | {@const app = $App.data.team.environment.application}
|
| 70 | + |
70 | 71 | <div class="wrapper">
|
71 | 72 | <div class="app-content">
|
72 | 73 | <div class="main-section">
|
| 74 | + {#if app.status.errors.some((error) => error.__typename === 'WorkloadStatusDeprecatedRegistry')} |
| 75 | + <Alert variant="error"> |
| 76 | + <BodyShort spacing |
| 77 | + >This application is using a deprecated image registry ({app.status.errors.find( |
| 78 | + (error) => error.__typename === 'WorkloadStatusDeprecatedRegistry' |
| 79 | + )?.registry}).</BodyShort |
| 80 | + > |
| 81 | + |
| 82 | + <BodyLong |
| 83 | + >Starting April 1st, applications and jobs on Nais must use images from Google |
| 84 | + Artifact Registry (GAR). The easiest way to ensure that images are stored in GAR is to |
| 85 | + use Nais' GitHub Actions in the workflow. <a |
| 86 | + href="https://nais.io/log/#2025-02-24-image-policy" |
| 87 | + target="_blank" |
| 88 | + rel="noopener noreferrer">Read more in Nais announcement</a |
| 89 | + >. |
| 90 | + </BodyLong> |
| 91 | + </Alert> |
| 92 | + {/if} |
73 | 93 | {#if app.deletionStartedAt}
|
74 | 94 | <Alert variant="info" size="small" fullWidth={false}>
|
75 | 95 | This application is being deleted. Deletion started <Time
|
|
0 commit comments