@@ -42,7 +42,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
when'true'
return
when'false'
flash[:alert]=_('Please <a href=%{link_to_billing} target="_blank" rel="noopener noreferrer">enable billing for one of your projects to be able to create a cluster</a>, then try again.').html_safe%{link_to_billing: "https://console.cloud.google.com/freetrial?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral"}
flash[:alert]=_('Please <a href=%{link_to_billing} target="_blank" rel="noopener noreferrer">enable billing for one of your projects to be able to create a Kubernetes cluster</a>, then try again.').html_safe%{link_to_billing: "https://console.cloud.google.com/freetrial?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral"}
else
flash[:alert]=_('We could not verify that one of your projects on GCP has billing enabled. Please try again.')
@@ -150,9 +150,10 @@ class KubernetesService < DeploymentService
end
defdeprecation_message
content=<<-MESSAGE.strip_heredoc
Kubernetes service integration has been deprecated. #{deprecated_message_content} your clusters using the new <a href=\'#{Gitlab::Routing.url_helpers.project_clusters_path(project)}'/>Clusters</a> page
MESSAGE
content=_("Kubernetes service integration has been deprecated. %{deprecated_message_content} your Kubernetes clusters using the new <a href=\"%{url}\"/>Kubernetes Clusters</a> page")%{
=s_("ClusterIntegration|Remove this cluster's configuration from this project. This will not delete your actual cluster.")
=link_to(s_('ClusterIntegration|Remove integration'),namespace_project_cluster_path(@project.namespace,@project,@cluster.id),method: :delete,class: 'btn btn-danger',data: {confirm: s_("ClusterIntegration|Are you sure you want to remove this cluster's integration? This will not delete your actual cluster.")})
=s_("ClusterIntegration|Remove this Kubernetes cluster's configuration from this project. This will not delete your actual Kubernetes cluster.")
=link_to(s_('ClusterIntegration|Remove integration'),namespace_project_cluster_path(@project.namespace,@project,@cluster.id),method: :delete,class: 'btn btn-danger',data: {confirm: s_("ClusterIntegration|Are you sure you want to remove this Kubernetes cluster's integration? This will not delete your actual Kubernetes cluster.")})
=s_('ClusterIntegration|Cluster was successfully created on Google Kubernetes Engine. Refresh the page to see cluster\'s details')
=s_("ClusterIntegration|Kubernetes cluster was successfully created on Google Kubernetes Engine. Refresh the page to see Kubernetes cluster's details")
%p=s_('ClusterIntegration|Control how your cluster integrates with GitLab')
%p=s_('ClusterIntegration|Control how your Kubernetes cluster integrates with GitLab')
=link_to(s_('ClusterIntegration|Create cluster on Google Kubernetes Engine'),gcp_new_namespace_project_clusters_path(@project.namespace,@project))
=link_to(s_('ClusterIntegration|Create Kubernetes cluster on Google Kubernetes Engine'),gcp_new_namespace_project_clusters_path(@project.namespace,@project))
%li
=link_to(s_('ClusterIntegration|Add an existing cluster'),user_new_namespace_project_clusters_path(@project.namespace,@project))
=link_to(s_('ClusterIntegration|Add an existing Kubernetes cluster'),user_new_namespace_project_clusters_path(@project.namespace,@project))
-link_to_help_page=link_to(s_('ClusterIntegration|Learn more about Clusters'),help_page_path('user/project/clusters/index'),target: '_blank',rel: 'noopener noreferrer')
%p=s_('ClusterIntegration|Clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way. %{link_to_help_page}').html_safe%{link_to_help_page: link_to_help_page}
-link_to_help_page=link_to(s_('ClusterIntegration|Learn more about Kubernetes'),help_page_path('user/project/clusters/index'),target: '_blank',rel: 'noopener noreferrer')
%p=s_('ClusterIntegration|Kubernetes clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way. %{link_to_help_page}').html_safe%{link_to_help_page: link_to_help_page}
=s_('ClusterIntegration|Cluster integration is enabled for this project. Disabling this integration will not affect your cluster, it will only temporarily turn off GitLab\'s connection to it.')
=s_('ClusterIntegration|Kubernetes cluster integration is enabled for this project. Disabling this integration will not affect your Kubernetes cluster, it will only temporarily turn off GitLab\'s connection to it.')
-else
=s_('ClusterIntegration|Cluster integration is enabled for this project.')
=s_('ClusterIntegration|Kubernetes cluster integration is enabled for this project.')
-else
=s_('ClusterIntegration|Cluster integration is disabled for this project.')
=s_('ClusterIntegration|Kubernetes cluster integration is disabled for this project.')
=s_('ClusterIntegration|With a cluster associated to this project, you can use review apps, deploy your applications, run your pipelines, and much more in an easy way.')
=s_('ClusterIntegration|With a Kubernetes cluster associated to this project, you can use review apps, deploy your applications, run your pipelines, and much more in an easy way.')
=s_('ClusterIntegration|Enter the details for your cluster')
=s_('ClusterIntegration|Enter the details for your Kubernetes cluster')
%p
=s_('ClusterIntegration|Please make sure that your Google account meets the following requirements:')
%ul
...
...
@@ -8,7 +8,7 @@
=s_('ClusterIntegration|Your account must have %{link_to_kubernetes_engine}').html_safe%{link_to_kubernetes_engine: link_to_kubernetes_engine}
%li
-link_to_requirements=link_to(s_('ClusterIntegration|meets the requirements'),'https://cloud.google.com/kubernetes-engine/docs/quickstart?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral',target: '_blank',rel: 'noopener noreferrer')
=s_('ClusterIntegration|Make sure your account %{link_to_requirements} to create clusters').html_safe%{link_to_requirements: link_to_requirements}
=s_('ClusterIntegration|Make sure your account %{link_to_requirements} to create Kubernetes clusters').html_safe%{link_to_requirements: link_to_requirements}
=s_('ClusterIntegration|This account must have permissions to create a cluster in the %{link_to_container_project} specified below').html_safe%{link_to_container_project: link_to_container_project}
=s_('ClusterIntegration|This account must have permissions to create a Kubernetes cluster in the %{link_to_container_project} specified below').html_safe%{link_to_container_project: link_to_container_project}
=s_('ClusterIntegration|Please enter access information for your cluster. If you need help, you can read our %{link_to_help_page} on clusters').html_safe%{link_to_help_page: link_to_help_page}
=s_('ClusterIntegration|Please enter access information for your Kubernetes cluster. If you need help, you can read our %{link_to_help_page} on Kubernetes').html_safe%{link_to_help_page: link_to_help_page}
msgid "ClusterIntegration|Cluster integration is enabled for this project."
msgid "ClusterIntegration|Copy Token"
msgstr ""
msgid "ClusterIntegration|Cluster integration is enabled for this project. Disabling this integration will not affect your cluster, it will only temporarily turn off GitLab's connection to it."
msgid "ClusterIntegration|Cluster is being created on Google Kubernetes Engine..."
msgid "ClusterIntegration|Create Kubernetes cluster on Google Kubernetes Engine"
msgstr ""
msgid "ClusterIntegration|Cluster name"
msgid "ClusterIntegration|Create a new Kubernetes cluster on Google Kubernetes Engine right from GitLab"
msgstr ""
msgid "ClusterIntegration|Cluster was successfully created on Google Kubernetes Engine. Refresh the page to see cluster's details"
msgid "ClusterIntegration|Create on GKE"
msgstr ""
msgid "ClusterIntegration|Clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way. %{link_to_help_page}"
msgid "ClusterIntegration|Enter the details for an existing Kubernetes cluster"
msgstr ""
msgid "ClusterIntegration|Clusters can be used to deploy applications and to provide Review Apps for this project"
msgid "ClusterIntegration|Enter the details for your Kubernetes cluster"
msgstr ""
msgid "ClusterIntegration|Control how your cluster integrates with GitLab"
msgid "ClusterIntegration|Kubernetes cluster integration is disabled for this project."
msgstr ""
msgid "ClusterIntegration|Helm Tiller"
msgid "ClusterIntegration|Kubernetes cluster integration is enabled for this project."
msgstr ""
msgid "ClusterIntegration|Ingress"
msgid "ClusterIntegration|Kubernetes cluster integration is enabled for this project. Disabling this integration will not affect your Kubernetes cluster, it will only temporarily turn off GitLab's connection to it."
msgstr ""
msgid "ClusterIntegration|Install"
msgid "ClusterIntegration|Kubernetes cluster is being created on Google Kubernetes Engine..."
msgid "ClusterIntegration|Kubernetes cluster was successfully created on Google Kubernetes Engine. Refresh the page to see Kubernetes cluster's details"
msgid "ClusterIntegration|Kubernetes clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way. %{link_to_help_page}"
msgstr ""
msgid "ClusterIntegration|Integration status"
msgid "ClusterIntegration|Kubernetes clusters can be used to deploy applications and to provide Review Apps for this project"
msgstr ""
msgid "ClusterIntegration|Learn more about %{link_to_documentation}"
msgstr ""
msgid "ClusterIntegration|Learn more about Clusters"
msgid "ClusterIntegration|Learn more about Kubernetes"
msgstr ""
msgid "ClusterIntegration|Learn more about environments"
...
...
@@ -677,10 +692,10 @@ msgstr ""
msgid "ClusterIntegration|Machine type"
msgstr ""
msgid "ClusterIntegration|Make sure your account %{link_to_requirements} to create clusters"
msgid "ClusterIntegration|Make sure your account %{link_to_requirements} to create Kubernetes clusters"
msgstr ""
msgid "ClusterIntegration|Manage your cluster by visiting %{link_gke}"
msgid "ClusterIntegration|Manage your Kubernetes cluster by visiting %{link_gke}"
msgstr ""
msgid "ClusterIntegration|Note:"
...
...
@@ -689,7 +704,7 @@ msgstr ""
msgid "ClusterIntegration|Number of nodes"
msgstr ""
msgid "ClusterIntegration|Please enter access information for your cluster. If you need help, you can read our %{link_to_help_page} on clusters"
msgid "ClusterIntegration|Please enter access information for your Kubernetes cluster. If you need help, you can read our %{link_to_help_page} on Kubernetes"
msgstr ""
msgid "ClusterIntegration|Please make sure that your Google account meets the following requirements:"
...
...
@@ -707,16 +722,16 @@ msgstr ""
msgid "ClusterIntegration|Prometheus"
msgstr ""
msgid "ClusterIntegration|Read our %{link_to_help_page} on cluster integration."
msgid "ClusterIntegration|Read our %{link_to_help_page} on Kubernetes cluster integration."
msgid "ClusterIntegration|With a cluster associated to this project, you can use review apps, deploy your applications, run your pipelines, and much more in an easy way."
msgid "ClusterIntegration|With a Kubernetes cluster associated to this project, you can use review apps, deploy your applications, run your pipelines, and much more in an easy way."
msgstr ""
msgid "ClusterIntegration|Your account must have %{link_to_kubernetes_engine}"
...
...
@@ -776,9 +794,6 @@ msgstr ""
msgid "ClusterIntegration|check the pricing here"
msgstr ""
msgid "ClusterIntegration|cluster"
msgstr ""
msgid "ClusterIntegration|documentation"
msgstr ""
...
...
@@ -1212,6 +1227,9 @@ msgstr ""
msgid "February"
msgstr ""
msgid "Fields on this page are now uneditable, you can configure"
msgstr ""
msgid "File name"
msgstr ""
...
...
@@ -1280,6 +1298,9 @@ msgstr ""
msgid "Google authentication is not %{link_to_documentation}. Ask your GitLab administrator if you want to use this service."
msgstr ""
msgid "Got it!"
msgstr ""
msgid "GroupSettings|Prevent sharing a project within %{group} with other groups"
msgstr ""
...
...
@@ -1381,6 +1402,9 @@ msgstr ""
msgid "Install a Runner compatible with GitLab CI"
msgstr ""
msgid "Instance does not support multiple Kubernetes clusters"
msgstr ""
msgid "Interested parties can even contribute by pushing commits if they want to."
msgstr ""
...
...
@@ -1426,6 +1450,27 @@ msgstr ""
msgid "June"
msgstr ""
msgid "Kubernetes"
msgstr ""
msgid "Kubernetes Cluster"
msgstr ""
msgid "Kubernetes cluster creation time exceeds timeout; %{timeout}"
msgstr ""
msgid "Kubernetes cluster integration was not removed."
msgstr ""
msgid "Kubernetes cluster integration was successfully removed."
msgstr ""
msgid "Kubernetes cluster was successfully updated."
msgstr ""
msgid "Kubernetes service integration has been deprecated. %{deprecated_message_content} your Kubernetes clusters using the new <a href=\"%{url}\"/>Kubernetes Clusters</a> page"
msgstr ""
msgid "LFSStatus|Disabled"
msgstr ""
...
...
@@ -1551,14 +1596,17 @@ msgstr ""
msgid "More information is available|here"
msgstr ""
msgid "New Cluster"
msgstr ""
msgid "New Issue"
msgid_plural "New Issues"
msgstr[0] ""
msgstr[1] ""
msgid "New Kubernetes Cluster"
msgstr ""
msgid "New Kubernetes cluster"
msgstr ""
msgid "New Pipeline Schedule"
msgstr ""
...
...
@@ -1835,7 +1883,7 @@ msgstr ""
msgid "Play"
msgstr ""
msgid "Please <a href=%{link_to_billing} target=\"_blank\" rel=\"noopener noreferrer\">enable billing for one of your projects to be able to create a cluster</a>, then try again."
msgid "Please <a href=%{link_to_billing} target=\"_blank\" rel=\"noopener noreferrer\">enable billing for one of your projects to be able to create a Kubernetes cluster</a>, then try again."
msgstr ""
msgid "Please solve the reCAPTCHA"
...
...
@@ -2009,6 +2057,9 @@ msgstr ""
msgid "PrometheusService|View environments"
msgstr ""
msgid "Protip:"
msgstr ""
msgid "Public - The group and any public projects can be viewed without any authentication."
msgstr ""
...
...
@@ -2480,9 +2531,15 @@ msgstr ""
msgid "There are problems accessing Git storage: "
msgstr ""
msgid "There was an error loading users activity calendar."
msgstr ""
msgid "There was an error saving your notification settings."
msgstr ""
msgid "There was an error subscribing to this label."
msgstr ""
msgid "There was an error when reseting email token."
msgstr ""
...
...
@@ -2946,6 +3003,9 @@ msgstr ""
msgid "You'll need to use different branch names to get a valid comparison."
msgstr ""
msgid "Your Kubernetes cluster information on this page is still editable, but you are advised to disable and reconfigure"
msgstr ""
msgid "Your comment will not be visible to the public."
msgstr ""
...
...
@@ -3125,3 +3185,6 @@ msgstr ""
msgid "username"
msgstr ""
msgid "uses Kubernetes clusters to deploy your code!"
expect(document.querySelector('.js-cluster-application-notice .flash-text').textContent.trim()).toEqual('Helm Tiller was successfully installed on your cluster');
expect(document.querySelector('.js-cluster-application-notice .flash-text').textContent.trim()).toEqual('Helm Tiller, Ingress was successfully installed on your cluster');