2020-11-24 15:15:51 +05:30
|
|
|
<script>
|
|
|
|
import { GlLink, GlSprintf } from '@gitlab/ui';
|
2022-07-16 23:28:13 +05:30
|
|
|
import { helpPagePath } from '~/helpers/help_page_helper';
|
2020-11-24 15:15:51 +05:30
|
|
|
import { s__ } from '~/locale';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
i18n: {
|
2022-05-07 20:08:51 +05:30
|
|
|
title: s__('ClusterIntegration|Enter your Kubernetes cluster certificate details'),
|
2020-11-24 15:15:51 +05:30
|
|
|
information: s__(
|
2022-05-07 20:08:51 +05:30
|
|
|
'ClusterIntegration|Enter details about your cluster. %{linkStart}How do I use a certificate to connect to my cluster?%{linkEnd}',
|
2020-11-24 15:15:51 +05:30
|
|
|
),
|
|
|
|
},
|
2022-07-16 23:28:13 +05:30
|
|
|
clusterConnectHelpPath: helpPagePath('user/project/clusters/add_existing_cluster'),
|
2020-11-24 15:15:51 +05:30
|
|
|
components: {
|
|
|
|
GlLink,
|
|
|
|
GlSprintf,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-05-07 20:08:51 +05:30
|
|
|
<div class="gl-pt-4">
|
2020-11-24 15:15:51 +05:30
|
|
|
<h4>{{ $options.i18n.title }}</h4>
|
|
|
|
<p>
|
|
|
|
<gl-sprintf :message="$options.i18n.information">
|
|
|
|
<template #link="{ content }">
|
2022-07-16 23:28:13 +05:30
|
|
|
<gl-link :href="$options.clusterConnectHelpPath">{{ content }}</gl-link>
|
2020-11-24 15:15:51 +05:30
|
|
|
</template>
|
|
|
|
</gl-sprintf>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</template>
|