Skip to content

Commit 98a43fc

Browse files
committed
Update AppErrorTypeToMessage.svelte with new links to nais docs for deprecated registry and ingress
1 parent e8b0c3f commit 98a43fc

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

src/lib/AppErrorTypeToMessage.svelte

+16-8
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@
7070
</div>
7171
{:else if $data.__typename === 'DeprecatedRegistryError'}
7272
<div class="wrapper">
73-
<Alert variant="warning">
73+
<Alert variant="info">
7474
Deprecated image registry <strong>{$data.registry}</strong> for image
7575
<strong>{$data.name}</strong>. See
76-
<a href="https://doc.nais.io/guides/oci-migration/"> docker-build-push</a> on how to migrate
77-
to Google Artifact Registry.
76+
<a href="https://doc.nais.io/guides/oci-migration/">docker-build-push</a> on how to migrate to
77+
Google Artifact Registry.
7878
</Alert>
7979
</div>
8080
{:else if $data.__typename === 'NoRunningInstancesError'}
@@ -85,16 +85,24 @@
8585
</div>
8686
{:else if $data.__typename === 'DeprecatedIngressError'}
8787
<div class="wrapper">
88-
<Alert variant="warning">
88+
<Alert variant="info">
8989
Deprecated ingress <strong>{$data.ingress}</strong>. See
9090
{#if env === 'dev-gcp'}
91-
<a href="https://doc.nais.io/clusters/gcp/#dev-gcp-ingresses"> ingress documentation</a>
91+
<a href="https://doc.nais.io/reference/environments/?h=#dev-gcp">
92+
ingress documentation</a
93+
>
9294
{:else if env === 'prod-gcp'}
93-
<a href="https://doc.nais.io/clusters/gcp/#prod-gcp-ingresses"> ingress documentation</a>
95+
<a href="https://doc.nais.io/reference/environments/?h=#prod-gcp">
96+
ingress documentation</a
97+
>
9498
{:else if env === 'dev-fss'}
95-
<a href="https://doc.nais.io/clusters/on-premises/#dev-fss"> ingress documentation</a>
99+
<a href="https://doc.nais.io/reference/environments/?h=#dev-fss">
100+
ingress documentation</a
101+
>
96102
{:else if env === 'prod-fss'}
97-
<a href="https://doc.nais.io/clusters/on-premises/#prod-fss"> ingress documentation</a>
103+
<a href="https://doc.nais.io/reference/environments/?h=#prod-fss">
104+
ingress documentation</a
105+
>
98106
{/if} for available ingress domains.
99107
</Alert>
100108
</div>

0 commit comments

Comments
 (0)