Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_new.html.haml « aws « clusters « clusters « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4407b27df1ecb8d3e422acd482b334e82d014314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- if !Gitlab::CurrentSettings.eks_integration_enabled?
  - documentation_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/project/clusters/add_eks_clusters.md',
      anchor: 'additional-requirements-for-self-managed-instances') }
  = s_('Amazon authentication is not %{link_start}correctly configured%{link_end}. Ask your GitLab administrator if you want to use this service.').html_safe % { link_start: documentation_link_start, link_end: '<a/>'.html_safe }
- else
  .js-create-eks-cluster-form-container{ data: { 'gitlab-managed-cluster-help-path' => help_page_path('user/project/clusters/index.md', anchor: 'gitlab-managed-clusters'),
    'namespace-per-environment-help-path' => help_page_path('user/project/clusters/index.md', anchor: 'custom-namespace'),
    'create-role-path' => clusterable.authorize_aws_role_path,
    'create-cluster-path' => clusterable.create_aws_clusters_path,
    'account-id' => Gitlab::CurrentSettings.eks_account_id,
    'external-id' => @aws_role.role_external_id,
    'role-arn' => @aws_role.role_arn,
    'instance-types' => @instance_types,
    'kubernetes-integration-help-path' => help_page_path('user/project/clusters/index'),
    'account-and-external-ids-help-path' => help_page_path('user/project/clusters/add_remove_clusters.md', anchor: 'new-eks-cluster'),
    'create-role-arn-help-path' => help_page_path('user/project/clusters/add_remove_clusters.md', anchor: 'new-eks-cluster'),
    'external-link-icon' => sprite_icon('external-link') } }