Replace "cluster" with "Kubernetes cluster"
This commit is contained in:
parent
84bda43a3c
commit
0ecd759d73
38 changed files with 269 additions and 199 deletions
|
@ -172,7 +172,7 @@ export default class Clusters {
|
||||||
.map(appId => newApplicationMap[appId].title);
|
.map(appId => newApplicationMap[appId].title);
|
||||||
|
|
||||||
if (appTitles.length > 0) {
|
if (appTitles.length > 0) {
|
||||||
const text = sprintf(s__('ClusterIntegration|%{appList} was successfully installed on your cluster'), {
|
const text = sprintf(s__('ClusterIntegration|%{appList} was successfully installed on your Kubernetes cluster'), {
|
||||||
appList: appTitles.join(', '),
|
appList: appTitles.join(', '),
|
||||||
});
|
});
|
||||||
Flash(text, 'notice', this.successApplicationContainer);
|
Flash(text, 'notice', this.successApplicationContainer);
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
computed: {
|
computed: {
|
||||||
generalApplicationDescription() {
|
generalApplicationDescription() {
|
||||||
return sprintf(
|
return sprintf(
|
||||||
_.escape(s__(`ClusterIntegration|Install applications on your cluster.
|
_.escape(s__(`ClusterIntegration|Install applications on your Kubernetes cluster.
|
||||||
Read more about %{helpLink}`)),
|
Read more about %{helpLink}`)),
|
||||||
{
|
{
|
||||||
helpLink: `<a href="${this.helpPath}">
|
helpLink: `<a href="${this.helpPath}">
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
},
|
},
|
||||||
helmTillerDescription() {
|
helmTillerDescription() {
|
||||||
return _.escape(s__(
|
return _.escape(s__(
|
||||||
`ClusterIntegration|Helm streamlines installing and managing Kubernets applications.
|
`ClusterIntegration|Helm streamlines installing and managing Kubernetes applications.
|
||||||
Tiller runs inside of your Kubernetes Cluster, and manages
|
Tiller runs inside of your Kubernetes Cluster, and manages
|
||||||
releases of your charts.`,
|
releases of your charts.`,
|
||||||
));
|
));
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
_.escape(s__(
|
_.escape(s__(
|
||||||
`ClusterIntegration|%{boldNotice} This will add some extra resources
|
`ClusterIntegration|%{boldNotice} This will add some extra resources
|
||||||
like a load balancer, which may incur additional costs depending on
|
like a load balancer, which may incur additional costs depending on
|
||||||
the hosting provider Kubernetes is installed on. If you are using GKE,
|
the hosting provider your Kubernetes cluster is installed on. If you are using GKE,
|
||||||
you can %{pricingLink}.`,
|
you can %{pricingLink}.`,
|
||||||
)), {
|
)), {
|
||||||
boldNotice: `<strong>${_.escape(s__('ClusterIntegration|Note:'))}</strong>`,
|
boldNotice: `<strong>${_.escape(s__('ClusterIntegration|Note:'))}</strong>`,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { convertPermissionToBoolean } from './lib/utils/common_utils';
|
||||||
```
|
```
|
||||||
%button.js-project-feature-toggle.project-feature-toggle{ type: "button",
|
%button.js-project-feature-toggle.project-feature-toggle{ type: "button",
|
||||||
class: "#{'is-checked' if enabled?}",
|
class: "#{'is-checked' if enabled?}",
|
||||||
'aria-label': _('Toggle Cluster') }
|
'aria-label': _('Toggle Kubernetes Cluster') }
|
||||||
%input{ type: "hidden", class: 'js-project-feature-toggle-input', value: enabled? }
|
%input{ type: "hidden", class: 'js-project-feature-toggle-input', value: enabled? }
|
||||||
```
|
```
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -42,7 +42,7 @@ class Projects::Clusters::GcpController < Projects::ApplicationController
|
||||||
when 'true'
|
when 'true'
|
||||||
return
|
return
|
||||||
when 'false'
|
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
|
else
|
||||||
flash[:alert] = _('We could not verify that one of your projects on GCP has billing enabled. Please try again.')
|
flash[:alert] = _('We could not verify that one of your projects on GCP has billing enabled. Please try again.')
|
||||||
end
|
end
|
||||||
|
|
|
@ -41,7 +41,7 @@ class Projects::ClustersController < Projects::ApplicationController
|
||||||
head :no_content
|
head :no_content
|
||||||
end
|
end
|
||||||
format.html do
|
format.html do
|
||||||
flash[:notice] = "Cluster was successfully updated."
|
flash[:notice] = _('Kubernetes cluster was successfully updated.')
|
||||||
redirect_to project_cluster_path(project, cluster)
|
redirect_to project_cluster_path(project, cluster)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -55,10 +55,10 @@ class Projects::ClustersController < Projects::ApplicationController
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
if cluster.destroy
|
if cluster.destroy
|
||||||
flash[:notice] = "Cluster integration was successfully removed."
|
flash[:notice] = _('Kubernetes cluster integration was successfully removed.')
|
||||||
redirect_to project_clusters_path(project), status: 302
|
redirect_to project_clusters_path(project), status: 302
|
||||||
else
|
else
|
||||||
flash[:notice] = "Cluster integration was not removed."
|
flash[:notice] = _('Kubernetes cluster integration was not removed.')
|
||||||
render :show
|
render :show
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -180,7 +180,7 @@ module Clusters
|
||||||
return unless managed?
|
return unless managed?
|
||||||
|
|
||||||
if api_url_changed? || token_changed? || ca_pem_changed?
|
if api_url_changed? || token_changed? || ca_pem_changed?
|
||||||
errors.add(:base, "cannot modify managed cluster")
|
errors.add(:base, _('Cannot modify managed Kubernetes cluster'))
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -150,9 +150,10 @@ class KubernetesService < DeploymentService
|
||||||
end
|
end
|
||||||
|
|
||||||
def deprecation_message
|
def deprecation_message
|
||||||
content = <<-MESSAGE.strip_heredoc
|
content = _("Kubernetes service integration has been deprecated. %{deprecated_message_content} your Kubernetes clusters using the new <a href=\"%{url}\"/>Kubernetes Clusters</a> page") % {
|
||||||
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
|
deprecated_message_content: deprecated_message_content,
|
||||||
MESSAGE
|
url: Gitlab::Routing.url_helpers.project_clusters_path(project)
|
||||||
|
}
|
||||||
content.html_safe
|
content.html_safe
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -248,9 +249,9 @@ class KubernetesService < DeploymentService
|
||||||
|
|
||||||
def deprecated_message_content
|
def deprecated_message_content
|
||||||
if active?
|
if active?
|
||||||
"Your cluster information on this page is still editable, but you are advised to disable and reconfigure"
|
_("Your Kubernetes cluster information on this page is still editable, but you are advised to disable and reconfigure")
|
||||||
else
|
else
|
||||||
"Fields on this page are now uneditable, you can configure"
|
_("Fields on this page are now uneditable, you can configure")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,7 +5,7 @@ module Clusters
|
||||||
def execute(access_token = nil)
|
def execute(access_token = nil)
|
||||||
@access_token = access_token
|
@access_token = access_token
|
||||||
|
|
||||||
raise ArgumentError.new('Instance does not support multiple clusters') unless can_create_cluster?
|
raise ArgumentError.new(_('Instance does not support multiple Kubernetes clusters')) unless can_create_cluster?
|
||||||
|
|
||||||
create_cluster.tap do |cluster|
|
create_cluster.tap do |cluster|
|
||||||
ClusterProvisionWorker.perform_async(cluster.id) if cluster.persisted?
|
ClusterProvisionWorker.perform_async(cluster.id) if cluster.persisted?
|
||||||
|
|
|
@ -28,7 +28,7 @@ module Clusters
|
||||||
if elapsed_time_from_creation(operation) < TIMEOUT
|
if elapsed_time_from_creation(operation) < TIMEOUT
|
||||||
WaitForClusterCreationWorker.perform_in(EAGER_INTERVAL, provider.cluster_id)
|
WaitForClusterCreationWorker.perform_in(EAGER_INTERVAL, provider.cluster_id)
|
||||||
else
|
else
|
||||||
provider.make_errored!("Cluster creation time exceeds timeout; #{TIMEOUT}")
|
provider.make_errored!(_('Kubernetes cluster creation time exceeds timeout; %{timeout}') % { timeout: TIMEOUT })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -186,9 +186,9 @@
|
||||||
- if project_nav_tab? :clusters
|
- if project_nav_tab? :clusters
|
||||||
- show_cluster_hint = show_gke_cluster_integration_callout?(@project)
|
- show_cluster_hint = show_gke_cluster_integration_callout?(@project)
|
||||||
= nav_link(controller: [:clusters, :user, :gcp]) do
|
= nav_link(controller: [:clusters, :user, :gcp]) do
|
||||||
= link_to project_clusters_path(@project), title: 'Cluster', class: 'shortcuts-cluster' do
|
= link_to project_clusters_path(@project), title: _('Kubernetes'), class: 'shortcuts-cluster' do
|
||||||
%span
|
%span
|
||||||
Clusters
|
= _('Kubernetes')
|
||||||
- if show_cluster_hint
|
- if show_cluster_hint
|
||||||
.feature-highlight.js-feature-highlight{ disabled: true,
|
.feature-highlight.js-feature-highlight{ disabled: true,
|
||||||
data: { trigger: 'manual',
|
data: { trigger: 'manual',
|
||||||
|
@ -206,13 +206,12 @@
|
||||||
%p
|
%p
|
||||||
= _('Protip:')
|
= _('Protip:')
|
||||||
= link_to 'Auto DevOps', help_page_path('topics/autodevops/index.md')
|
= link_to 'Auto DevOps', help_page_path('topics/autodevops/index.md')
|
||||||
%span= _('uses clusters to deploy your code!')
|
%span= _('uses Kubernetes clusters to deploy your code!')
|
||||||
%hr
|
%hr
|
||||||
%button.btn.btn-create.btn-xs.dismiss-feature-highlight{ type: 'button' }
|
%button.btn.btn-create.btn-xs.dismiss-feature-highlight{ type: 'button' }
|
||||||
%span= _("Got it!")
|
%span= _("Got it!")
|
||||||
= sprite_icon('thumb-up')
|
= sprite_icon('thumb-up')
|
||||||
|
|
||||||
|
|
||||||
- if @project.feature_available?(:builds, current_user) && !@project.empty_repo?
|
- if @project.feature_available?(:builds, current_user) && !@project.empty_repo?
|
||||||
= nav_link(path: 'pipelines#charts') do
|
= nav_link(path: 'pipelines#charts') do
|
||||||
= link_to charts_project_pipelines_path(@project), title: 'Charts', class: 'shortcuts-pipelines-charts' do
|
= link_to charts_project_pipelines_path(@project), title: 'Charts', class: 'shortcuts-pipelines-charts' do
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
= s_('ClusterIntegration|Google Kubernetes Engine')
|
= s_('ClusterIntegration|Google Kubernetes Engine')
|
||||||
%p
|
%p
|
||||||
- link_gke = link_to(s_('ClusterIntegration|Google Kubernetes Engine'), @cluster.gke_cluster_url, target: '_blank', rel: 'noopener noreferrer')
|
- link_gke = link_to(s_('ClusterIntegration|Google Kubernetes Engine'), @cluster.gke_cluster_url, target: '_blank', rel: 'noopener noreferrer')
|
||||||
= s_('ClusterIntegration|Manage your cluster by visiting %{link_gke}').html_safe % { link_gke: link_gke }
|
= s_('ClusterIntegration|Manage your Kubernetes cluster by visiting %{link_gke}').html_safe % { link_gke: link_gke }
|
||||||
|
|
||||||
.well.form-group
|
.well.form-group
|
||||||
%label.text-danger
|
%label.text-danger
|
||||||
= s_('ClusterIntegration|Remove cluster integration')
|
= s_('ClusterIntegration|Remove Kubernetes cluster integration')
|
||||||
%p
|
%p
|
||||||
= s_("ClusterIntegration|Remove this cluster's configuration from this project. 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 cluster's integration? 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 Kubernetes cluster's integration? This will not delete your actual Kubernetes cluster.")})
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
%h4= s_('ClusterIntegration|Cluster integration')
|
%h4= s_('ClusterIntegration|Kubernetes cluster integration')
|
||||||
|
|
||||||
.settings-content
|
.settings-content
|
||||||
.hidden.js-cluster-error.alert.alert-danger.alert-block.append-bottom-10{ role: 'alert' }
|
.hidden.js-cluster-error.alert.alert-danger.alert-block.append-bottom-10{ role: 'alert' }
|
||||||
= s_('ClusterIntegration|Something went wrong while creating your cluster on Google Kubernetes Engine')
|
= s_('ClusterIntegration|Something went wrong while creating your Kubernetes cluster on Google Kubernetes Engine')
|
||||||
%p.js-error-reason
|
%p.js-error-reason
|
||||||
|
|
||||||
.hidden.js-cluster-creating.alert.alert-info.alert-block.append-bottom-10{ role: 'alert' }
|
.hidden.js-cluster-creating.alert.alert-info.alert-block.append-bottom-10{ role: 'alert' }
|
||||||
= s_('ClusterIntegration|Cluster is being created on Google Kubernetes Engine...')
|
= s_('ClusterIntegration|Kubernetes cluster is being created on Google Kubernetes Engine...')
|
||||||
|
|
||||||
.hidden.js-cluster-success.alert.alert-success.alert-block.append-bottom-10{ role: 'alert' }
|
.hidden.js-cluster-success.alert.alert-success.alert-block.append-bottom-10{ role: 'alert' }
|
||||||
= 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')
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.gl-responsive-table-row
|
.gl-responsive-table-row
|
||||||
.table-section.section-30
|
.table-section.section-30
|
||||||
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Cluster")
|
.table-mobile-header{ role: "rowheader" }= s_("ClusterIntegration|Kubernetes cluster")
|
||||||
.table-mobile-content
|
.table-mobile-content
|
||||||
= link_to cluster.name, namespace_project_cluster_path(@project.namespace, @project, cluster)
|
= link_to cluster.name, namespace_project_cluster_path(@project.namespace, @project, cluster)
|
||||||
.table-section.section-30
|
.table-section.section-30
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
.table-mobile-content
|
.table-mobile-content
|
||||||
%button.js-project-feature-toggle.project-feature-toggle{ type: "button",
|
%button.js-project-feature-toggle.project-feature-toggle{ type: "button",
|
||||||
class: "#{'is-checked' if cluster.enabled?} #{'is-disabled' if !cluster.can_toggle_cluster?}",
|
class: "#{'is-checked' if cluster.enabled?} #{'is-disabled' if !cluster.can_toggle_cluster?}",
|
||||||
"aria-label": s_("ClusterIntegration|Toggle Cluster"),
|
"aria-label": s_("ClusterIntegration|Toggle Kubernetes Cluster"),
|
||||||
disabled: !cluster.can_toggle_cluster?,
|
disabled: !cluster.can_toggle_cluster?,
|
||||||
data: { endpoint: namespace_project_cluster_path(@project.namespace, @project, cluster, format: :json) } }
|
data: { endpoint: namespace_project_cluster_path(@project.namespace, @project, cluster, format: :json) } }
|
||||||
%input.js-project-feature-toggle-input{ type: "hidden", value: cluster.enabled? }
|
%input.js-project-feature-toggle-input{ type: "hidden", value: cluster.enabled? }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%h4.prepend-top-0= s_('ClusterIntegration|Choose how to set up cluster integration')
|
%h4.prepend-top-0= s_('ClusterIntegration|Choose how to set up Kubernetes cluster integration')
|
||||||
|
|
||||||
.dropdown.clusters-dropdown
|
.dropdown.clusters-dropdown
|
||||||
%button.dropdown-menu-toggle.dropdown-menu-full-width{ type: 'button', data: { toggle: 'dropdown' }, 'aria-haspopup': true, 'aria-expanded': false }
|
%button.dropdown-menu-toggle.dropdown-menu-full-width{ type: 'button', data: { toggle: 'dropdown' }, 'aria-haspopup': true, 'aria-expanded': false }
|
||||||
|
@ -7,6 +7,6 @@
|
||||||
= icon('chevron-down')
|
= icon('chevron-down')
|
||||||
%ul.dropdown-menu.clusters-dropdown-menu.dropdown-menu-full-width
|
%ul.dropdown-menu.clusters-dropdown-menu.dropdown-menu-full-width
|
||||||
%li
|
%li
|
||||||
= 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
|
%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))
|
||||||
|
|
|
@ -3,10 +3,9 @@
|
||||||
.svg-content= image_tag 'illustrations/clusters_empty.svg'
|
.svg-content= image_tag 'illustrations/clusters_empty.svg'
|
||||||
.col-xs-12
|
.col-xs-12
|
||||||
.text-content
|
.text-content
|
||||||
%h4.text-center= s_('ClusterIntegration|Integrate cluster automation')
|
%h4.text-center= s_('ClusterIntegration|Integrate Kubernetes cluster automation')
|
||||||
- link_to_help_page = link_to(s_('ClusterIntegration|Learn more about Clusters'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
|
- 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|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}
|
%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}
|
||||||
|
|
||||||
.text-center
|
.text-center
|
||||||
= link_to s_('ClusterIntegration|Add cluster'), new_project_cluster_path(@project), class: 'btn btn-success'
|
= link_to s_('ClusterIntegration|Add Kubernetes cluster'), new_project_cluster_path(@project), class: 'btn btn-success'
|
||||||
|
|
||||||
|
|
|
@ -5,15 +5,15 @@
|
||||||
%p
|
%p
|
||||||
- if @cluster.enabled?
|
- if @cluster.enabled?
|
||||||
- if can?(current_user, :update_cluster, @cluster)
|
- if can?(current_user, :update_cluster, @cluster)
|
||||||
= 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
|
- else
|
||||||
= s_('ClusterIntegration|Cluster integration is enabled for this project.')
|
= s_('ClusterIntegration|Kubernetes cluster integration is enabled for this project.')
|
||||||
- else
|
- else
|
||||||
= s_('ClusterIntegration|Cluster integration is disabled for this project.')
|
= s_('ClusterIntegration|Kubernetes cluster integration is disabled for this project.')
|
||||||
%label.append-bottom-10.js-cluster-enable-toggle-area
|
%label.append-bottom-10.js-cluster-enable-toggle-area
|
||||||
%button{ type: 'button',
|
%button{ type: 'button',
|
||||||
class: "js-project-feature-toggle project-feature-toggle #{'is-checked' if @cluster.enabled?} #{'is-disabled' unless can?(current_user, :update_cluster, @cluster)}",
|
class: "js-project-feature-toggle project-feature-toggle #{'is-checked' if @cluster.enabled?} #{'is-disabled' unless can?(current_user, :update_cluster, @cluster)}",
|
||||||
"aria-label": s_("ClusterIntegration|Toggle Cluster"),
|
"aria-label": s_("ClusterIntegration|Toggle Kubernetes cluster"),
|
||||||
disabled: !can?(current_user, :update_cluster, @cluster) }
|
disabled: !can?(current_user, :update_cluster, @cluster) }
|
||||||
= field.hidden_field :enabled, { class: 'js-project-feature-toggle-input'}
|
= field.hidden_field :enabled, { class: 'js-project-feature-toggle-input'}
|
||||||
%span.toggle-icon
|
%span.toggle-icon
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
.form-group
|
.form-group
|
||||||
%h5= s_('ClusterIntegration|Environment scope')
|
%h5= s_('ClusterIntegration|Environment scope')
|
||||||
%p
|
%p
|
||||||
= s_("ClusterIntegration|Choose which of your project's environments will use this cluster.")
|
= s_("ClusterIntegration|Choose which of your project's environments will use this Kubernetes cluster.")
|
||||||
= link_to s_("ClusterIntegration|Learn more about environments"), help_page_path('ci/environments')
|
= link_to s_("ClusterIntegration|Learn more about environments"), help_page_path('ci/environments')
|
||||||
= field.text_field :environment_scope, class: 'form-control js-select-on-focus', readonly: !has_multiple_clusters?(@project), placeholder: s_('ClusterIntegration|Environment scope')
|
= field.text_field :environment_scope, class: 'form-control js-select-on-focus', readonly: !has_multiple_clusters?(@project), placeholder: s_('ClusterIntegration|Environment scope')
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
%h4.prepend-top-0
|
%h4.prepend-top-0
|
||||||
= s_('ClusterIntegration|Cluster integration')
|
= s_('ClusterIntegration|Kubernetes cluster integration')
|
||||||
%p
|
%p
|
||||||
= 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.')
|
||||||
%p
|
%p
|
||||||
- link = link_to(s_('ClusterIntegration|cluster'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
|
- link = link_to(_('Kubernetes'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
|
||||||
= s_('ClusterIntegration|Learn more about %{link_to_documentation}').html_safe % { link_to_documentation: link }
|
= s_('ClusterIntegration|Learn more about %{link_to_documentation}').html_safe % { link_to_documentation: link }
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
%p
|
%p
|
||||||
- link_to_help_page = link_to(s_('ClusterIntegration|help page'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
|
- link_to_help_page = link_to(s_('ClusterIntegration|help page'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
|
||||||
= s_('ClusterIntegration|Read our %{link_to_help_page} on cluster integration.').html_safe % { link_to_help_page: link_to_help_page}
|
= s_('ClusterIntegration|Read our %{link_to_help_page} on Kubernetes cluster integration.').html_safe % { link_to_help_page: link_to_help_page}
|
||||||
|
|
||||||
= form_for @cluster, html: { class: 'prepend-top-20' }, url: gcp_namespace_project_clusters_path(@project.namespace, @project), as: :cluster do |field|
|
= form_for @cluster, html: { class: 'prepend-top-20' }, url: gcp_namespace_project_clusters_path(@project.namespace, @project), as: :cluster do |field|
|
||||||
= form_errors(@cluster)
|
= form_errors(@cluster)
|
||||||
.form-group
|
.form-group
|
||||||
= field.label :name, s_('ClusterIntegration|Cluster name')
|
= field.label :name, s_('ClusterIntegration|Kubernetes cluster name')
|
||||||
= field.text_field :name, class: 'form-control', placeholder: s_('ClusterIntegration|Cluster name')
|
= field.text_field :name, class: 'form-control', placeholder: s_('ClusterIntegration|Kubernetes cluster name')
|
||||||
.form-group
|
.form-group
|
||||||
= field.label :environment_scope, s_('ClusterIntegration|Environment scope')
|
= field.label :environment_scope, s_('ClusterIntegration|Environment scope')
|
||||||
= field.text_field :environment_scope, class: 'form-control', readonly: !has_multiple_clusters?(@project), placeholder: s_('ClusterIntegration|Environment scope')
|
= field.text_field :environment_scope, class: 'form-control', readonly: !has_multiple_clusters?(@project), placeholder: s_('ClusterIntegration|Environment scope')
|
||||||
|
@ -32,4 +32,4 @@
|
||||||
= provider_gcp_field.text_field :machine_type, class: 'form-control', placeholder: 'n1-standard-4'
|
= provider_gcp_field.text_field :machine_type, class: 'form-control', placeholder: 'n1-standard-4'
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
= field.submit s_('ClusterIntegration|Create cluster'), class: 'btn btn-success'
|
= field.submit s_('ClusterIntegration|Create Kubernetes cluster'), class: 'btn btn-success'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
%h4.prepend-top-20
|
%h4.prepend-top-20
|
||||||
= s_('ClusterIntegration|Enter the details for your cluster')
|
= s_('ClusterIntegration|Enter the details for your Kubernetes cluster')
|
||||||
%p
|
%p
|
||||||
= s_('ClusterIntegration|Please make sure that your Google account meets the following requirements:')
|
= s_('ClusterIntegration|Please make sure that your Google account meets the following requirements:')
|
||||||
%ul
|
%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 }
|
= s_('ClusterIntegration|Your account must have %{link_to_kubernetes_engine}').html_safe % { link_to_kubernetes_engine: link_to_kubernetes_engine }
|
||||||
%li
|
%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')
|
- 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 }
|
||||||
%li
|
%li
|
||||||
- link_to_container_project = link_to(s_('ClusterIntegration|Google Kubernetes Engine project'), 'https://console.cloud.google.com/home/dashboard?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral', target: '_blank', rel: 'noopener noreferrer')
|
- link_to_container_project = link_to(s_('ClusterIntegration|Google Kubernetes Engine project'), 'https://console.cloud.google.com/home/dashboard?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral', target: '_blank', rel: 'noopener noreferrer')
|
||||||
= 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 }
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
.form-group
|
.form-group
|
||||||
%label.append-bottom-10{ for: 'cluster-name' }
|
%label.append-bottom-10{ for: 'cluster-name' }
|
||||||
= s_('ClusterIntegration|Cluster name')
|
= s_('ClusterIntegration|Kubernetes cluster name')
|
||||||
.input-group
|
.input-group
|
||||||
%input.form-control.cluster-name.js-select-on-focus{ value: @cluster.name, readonly: true }
|
%input.form-control.cluster-name.js-select-on-focus{ value: @cluster.name, readonly: true }
|
||||||
%span.input-group-btn
|
%span.input-group-btn
|
||||||
= clipboard_button(text: @cluster.name, title: s_('ClusterIntegration|Copy cluster name'), class: 'btn-default')
|
= clipboard_button(text: @cluster.name, title: s_('ClusterIntegration|Copy Kubernetes cluster name'), class: 'btn-default')
|
||||||
|
|
||||||
= form_for @cluster, url: namespace_project_cluster_path(@project.namespace, @project, @cluster), as: :cluster do |field|
|
= form_for @cluster, url: namespace_project_cluster_path(@project.namespace, @project, @cluster), as: :cluster do |field|
|
||||||
= form_errors(@cluster)
|
= form_errors(@cluster)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
- breadcrumb_title "Cluster"
|
- breadcrumb_title 'Kubernetes'
|
||||||
- page_title _("Login")
|
- page_title _("Login")
|
||||||
|
|
||||||
.row.prepend-top-default
|
.row.prepend-top-default
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
= render 'projects/clusters/sidebar'
|
= render 'projects/clusters/sidebar'
|
||||||
.col-sm-8
|
.col-sm-8
|
||||||
= render 'projects/clusters/dropdown', dropdown_text: s_('ClusterIntegration|Create cluster on Google Kubernetes Engine')
|
= render 'projects/clusters/dropdown', dropdown_text: s_('ClusterIntegration|Create Kubernetes cluster on Google Kubernetes Engine')
|
||||||
= render 'header'
|
= render 'header'
|
||||||
.row
|
.row
|
||||||
.col-sm-8.col-sm-offset-4.signin-with-google
|
.col-sm-8.col-sm-offset-4.signin-with-google
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
- breadcrumb_title "Cluster"
|
- breadcrumb_title 'Kubernetes'
|
||||||
- page_title _("New Cluster")
|
- page_title _("New Kubernetes Cluster")
|
||||||
|
|
||||||
.row.prepend-top-default
|
.row.prepend-top-default
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
= render 'projects/clusters/sidebar'
|
= render 'projects/clusters/sidebar'
|
||||||
.col-sm-8
|
.col-sm-8
|
||||||
= render 'projects/clusters/dropdown', dropdown_text: s_('ClusterIntegration|Create cluster on Google Kubernetes Engine')
|
= render 'projects/clusters/dropdown', dropdown_text: s_('ClusterIntegration|Create Kubernetes cluster on Google Kubernetes Engine')
|
||||||
= render 'header'
|
= render 'header'
|
||||||
= render 'form'
|
= render 'form'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
- breadcrumb_title "Clusters"
|
- breadcrumb_title 'Kubernetes'
|
||||||
- page_title "Clusters"
|
- page_title "Kubernetes Clusters"
|
||||||
|
|
||||||
.clusters-container
|
.clusters-container
|
||||||
- if @clusters.empty?
|
- if @clusters.empty?
|
||||||
|
@ -7,11 +7,11 @@
|
||||||
- else
|
- else
|
||||||
.top-area.adjust
|
.top-area.adjust
|
||||||
.nav-text
|
.nav-text
|
||||||
= s_("ClusterIntegration|Clusters can be used to deploy applications and to provide Review Apps for this project")
|
= s_("ClusterIntegration|Kubernetes clusters can be used to deploy applications and to provide Review Apps for this project")
|
||||||
.ci-table.js-clusters-list
|
.ci-table.js-clusters-list
|
||||||
.gl-responsive-table-row.table-row-header{ role: "row" }
|
.gl-responsive-table-row.table-row-header{ role: "row" }
|
||||||
.table-section.section-30{ role: "rowheader" }
|
.table-section.section-30{ role: "rowheader" }
|
||||||
= s_("ClusterIntegration|Cluster")
|
= s_("ClusterIntegration|Kubernetes cluster")
|
||||||
.table-section.section-30{ role: "rowheader" }
|
.table-section.section-30{ role: "rowheader" }
|
||||||
= s_("ClusterIntegration|Environment scope")
|
= s_("ClusterIntegration|Environment scope")
|
||||||
.table-section.section-30{ role: "rowheader" }
|
.table-section.section-30{ role: "rowheader" }
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
- breadcrumb_title "Cluster"
|
- breadcrumb_title 'Kubernetes'
|
||||||
- page_title _("Cluster")
|
- page_title _("Kubernetes Cluster")
|
||||||
|
|
||||||
.row.prepend-top-default
|
.row.prepend-top-default
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
= render 'sidebar'
|
= render 'sidebar'
|
||||||
.col-sm-8
|
.col-sm-8
|
||||||
%h4.prepend-top-0= s_('ClusterIntegration|Choose how to set up cluster integration')
|
%h4.prepend-top-0= s_('ClusterIntegration|Choose how to set up Kubernetes cluster integration')
|
||||||
|
|
||||||
%p= s_('ClusterIntegration|Create a new cluster on Google Kubernetes Engine right from GitLab')
|
%p= s_('ClusterIntegration|Create a new Kubernetes cluster on Google Kubernetes Engine right from GitLab')
|
||||||
= link_to s_('ClusterIntegration|Create on GKE'), gcp_new_namespace_project_clusters_path(@project.namespace, @project), class: 'btn append-bottom-20'
|
= link_to s_('ClusterIntegration|Create on GKE'), gcp_new_namespace_project_clusters_path(@project.namespace, @project), class: 'btn append-bottom-20'
|
||||||
%p= s_('ClusterIntegration|Enter the details for an existing Kubernetes cluster')
|
%p= s_('ClusterIntegration|Enter the details for an existing Kubernetes cluster')
|
||||||
= link_to s_('ClusterIntegration|Add an existing cluster'), user_new_namespace_project_clusters_path(@project.namespace, @project), class: 'btn append-bottom-20'
|
= link_to s_('ClusterIntegration|Add an existing Kubernetes cluster'), user_new_namespace_project_clusters_path(@project.namespace, @project), class: 'btn append-bottom-20'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- @content_class = "limit-container-width" unless fluid_layout
|
- @content_class = "limit-container-width" unless fluid_layout
|
||||||
- add_to_breadcrumbs "Clusters", project_clusters_path(@project)
|
- add_to_breadcrumbs "Kubernetes Clusters", project_clusters_path(@project)
|
||||||
- breadcrumb_title @cluster.name
|
- breadcrumb_title @cluster.name
|
||||||
- page_title _("Cluster")
|
- page_title _("Kubernetes Cluster")
|
||||||
|
|
||||||
- expanded = Rails.env.test?
|
- expanded = Rails.env.test?
|
||||||
|
|
||||||
|
@ -26,10 +26,10 @@
|
||||||
|
|
||||||
%section.settings#js-cluster-details{ class: ('expanded' if expanded) }
|
%section.settings#js-cluster-details{ class: ('expanded' if expanded) }
|
||||||
.settings-header
|
.settings-header
|
||||||
%h4= s_('ClusterIntegration|Cluster details')
|
%h4= s_('ClusterIntegration|Kubernetes cluster details')
|
||||||
%button.btn.js-settings-toggle
|
%button.btn.js-settings-toggle
|
||||||
= expanded ? 'Collapse' : 'Expand'
|
= expanded ? 'Collapse' : 'Expand'
|
||||||
%p= s_('ClusterIntegration|See and edit the details for your cluster')
|
%p= s_('ClusterIntegration|See and edit the details for your Kubernetes cluster')
|
||||||
.settings-content
|
.settings-content
|
||||||
- if @cluster.managed?
|
- if @cluster.managed?
|
||||||
= render 'projects/clusters/gcp/show'
|
= render 'projects/clusters/gcp/show'
|
||||||
|
@ -41,6 +41,6 @@
|
||||||
%h4= _('Advanced settings')
|
%h4= _('Advanced settings')
|
||||||
%button.btn.js-settings-toggle
|
%button.btn.js-settings-toggle
|
||||||
= expanded ? 'Collapse' : 'Expand'
|
= expanded ? 'Collapse' : 'Expand'
|
||||||
%p= s_("ClusterIntegration|Advanced options on this cluster's integration")
|
%p= s_("ClusterIntegration|Advanced options on this Kubernetes cluster's integration")
|
||||||
.settings-content
|
.settings-content
|
||||||
= render 'advanced_settings'
|
= render 'advanced_settings'
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
= form_for @cluster, url: user_namespace_project_clusters_path(@project.namespace, @project), as: :cluster do |field|
|
= form_for @cluster, url: user_namespace_project_clusters_path(@project.namespace, @project), as: :cluster do |field|
|
||||||
= form_errors(@cluster)
|
= form_errors(@cluster)
|
||||||
.form-group
|
.form-group
|
||||||
= field.label :name, s_('ClusterIntegration|Cluster name')
|
= field.label :name, s_('ClusterIntegration|Kubernetes cluster name')
|
||||||
= field.text_field :name, class: 'form-control', placeholder: s_('ClusterIntegration|Cluster name')
|
= field.text_field :name, class: 'form-control', placeholder: s_('ClusterIntegration|Kubernetes cluster name')
|
||||||
.form-group
|
.form-group
|
||||||
= field.label :environment_scope, s_('ClusterIntegration|Environment scope')
|
= field.label :environment_scope, s_('ClusterIntegration|Environment scope')
|
||||||
= field.text_field :environment_scope, class: 'form-control', readonly: !has_multiple_clusters?(@project), placeholder: s_('ClusterIntegration|Environment scope')
|
= field.text_field :environment_scope, class: 'form-control', readonly: !has_multiple_clusters?(@project), placeholder: s_('ClusterIntegration|Environment scope')
|
||||||
|
@ -25,4 +25,4 @@
|
||||||
= platform_kubernetes_field.text_field :namespace, class: 'form-control', placeholder: s_('ClusterIntegration|Project namespace')
|
= platform_kubernetes_field.text_field :namespace, class: 'form-control', placeholder: s_('ClusterIntegration|Project namespace')
|
||||||
|
|
||||||
.form-group
|
.form-group
|
||||||
= field.submit s_('ClusterIntegration|Add cluster'), class: 'btn btn-success'
|
= field.submit s_('ClusterIntegration|Add Kubernetes cluster'), class: 'btn btn-success'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
%h4.prepend-top-20
|
%h4.prepend-top-20
|
||||||
= s_('ClusterIntegration|Enter the details for your cluster')
|
= s_('ClusterIntegration|Enter the details for your Kubernetes cluster')
|
||||||
%p
|
%p
|
||||||
- link_to_help_page = link_to(s_('ClusterIntegration|documentation'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
|
- link_to_help_page = link_to(s_('ClusterIntegration|documentation'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
|
||||||
= 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 }
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
= form_for @cluster, url: namespace_project_cluster_path(@project.namespace, @project, @cluster), as: :cluster do |field|
|
= form_for @cluster, url: namespace_project_cluster_path(@project.namespace, @project, @cluster), as: :cluster do |field|
|
||||||
= form_errors(@cluster)
|
= form_errors(@cluster)
|
||||||
.form-group
|
.form-group
|
||||||
= field.label :name, s_('ClusterIntegration|Cluster name')
|
= field.label :name, s_('ClusterIntegration|Kubernetes cluster name')
|
||||||
= field.text_field :name, class: 'form-control', placeholder: s_('ClusterIntegration|Cluster name')
|
= field.text_field :name, class: 'form-control', placeholder: s_('ClusterIntegration|Kubernetes cluster name')
|
||||||
|
|
||||||
= field.fields_for :platform_kubernetes, @cluster.platform_kubernetes do |platform_kubernetes_field|
|
= field.fields_for :platform_kubernetes, @cluster.platform_kubernetes do |platform_kubernetes_field|
|
||||||
.form-group
|
.form-group
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
- breadcrumb_title "Cluster"
|
- breadcrumb_title 'Kubernetes'
|
||||||
- page_title _("New Cluster")
|
- page_title _("New Kubernetes cluster")
|
||||||
|
|
||||||
.row.prepend-top-default
|
.row.prepend-top-default
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
= render 'projects/clusters/sidebar'
|
= render 'projects/clusters/sidebar'
|
||||||
.col-sm-8
|
.col-sm-8
|
||||||
= render 'projects/clusters/dropdown', dropdown_text: s_('ClusterIntegration|Add an existing cluster')
|
= render 'projects/clusters/dropdown', dropdown_text: s_('ClusterIntegration|Add an existing Kubernetes cluster')
|
||||||
= render 'header'
|
= render 'header'
|
||||||
.prepend-top-20
|
.prepend-top-20
|
||||||
= render 'form'
|
= render 'form'
|
||||||
|
|
5
changelogs/unreleased/winh-kubernetes-clusters.yml
Normal file
5
changelogs/unreleased/winh-kubernetes-clusters.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Replace "cluster" with "Kubernetes cluster"
|
||||||
|
merge_request: 16778
|
||||||
|
author:
|
||||||
|
type: changed
|
|
@ -8,8 +8,8 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gitlab 1.0.0\n"
|
"Project-Id-Version: gitlab 1.0.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2018-02-05 16:03+0100\n"
|
"POT-Creation-Date: 2018-02-06 10:02+0100\n"
|
||||||
"PO-Revision-Date: 2018-02-05 16:03+0100\n"
|
"PO-Revision-Date: 2018-02-06 10:02+0100\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
"Language: \n"
|
"Language: \n"
|
||||||
|
@ -153,12 +153,21 @@ msgstr ""
|
||||||
msgid "All"
|
msgid "All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Allows you to add and manage Kubernetes clusters."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "An error occurred previewing the blob"
|
msgid "An error occurred previewing the blob"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "An error occurred when toggling the notification subscription"
|
msgid "An error occurred when toggling the notification subscription"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "An error occurred while dismissing the feature highlight. Refresh the page and try dismissing again."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "An error occurred while fetching markdown preview"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "An error occurred while fetching sidebar data"
|
msgid "An error occurred while fetching sidebar data"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -171,12 +180,18 @@ msgstr ""
|
||||||
msgid "An error occurred while rendering KaTeX"
|
msgid "An error occurred while rendering KaTeX"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "An error occurred while rendering preview broadcast message"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "An error occurred while retrieving calendar activity"
|
msgid "An error occurred while retrieving calendar activity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "An error occurred while retrieving diff"
|
msgid "An error occurred while retrieving diff"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "An error occurred while validating username"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "An error occurred. Please try again."
|
msgid "An error occurred. Please try again."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -392,6 +407,9 @@ msgstr ""
|
||||||
msgid "Cancel edit"
|
msgid "Cancel edit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Cannot modify managed Kubernetes cluster"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "ChangeTypeActionLabel|Pick into branch"
|
msgid "ChangeTypeActionLabel|Pick into branch"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -524,28 +542,25 @@ msgstr ""
|
||||||
msgid "Clone repository"
|
msgid "Clone repository"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Cluster"
|
msgid "ClusterIntegration|%{appList} was successfully installed on your Kubernetes cluster"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|%{appList} was successfully installed on your cluster"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|API URL"
|
msgid "ClusterIntegration|API URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Add an existing cluster"
|
msgid "ClusterIntegration|Add Kubernetes cluster"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Add cluster"
|
msgid "ClusterIntegration|Add an existing Kubernetes cluster"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Advanced options on this cluster's integration"
|
msgid "ClusterIntegration|Advanced options on this Kubernetes cluster's integration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Applications"
|
msgid "ClusterIntegration|Applications"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Are you sure you want to remove this cluster's integration? This will not delete your actual cluster."
|
msgid "ClusterIntegration|Are you sure you want to remove this Kubernetes cluster's integration? This will not delete your actual Kubernetes cluster."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|CA Certificate"
|
msgid "ClusterIntegration|CA Certificate"
|
||||||
|
@ -554,46 +569,13 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Certificate Authority bundle (PEM format)"
|
msgid "ClusterIntegration|Certificate Authority bundle (PEM format)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Choose how to set up cluster integration"
|
msgid "ClusterIntegration|Choose how to set up Kubernetes cluster integration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Choose which of your project's environments will use this cluster."
|
msgid "ClusterIntegration|Choose which of your project's environments will use this Kubernetes cluster."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Cluster"
|
msgid "ClusterIntegration|Control how your Kubernetes cluster integrates with GitLab"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Cluster details"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Cluster integration"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Cluster integration is disabled for this project."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Cluster integration is enabled for this project."
|
|
||||||
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."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Cluster is being created on Google Kubernetes Engine..."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Cluster name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Cluster was successfully created on Google Kubernetes Engine. Refresh the page to see cluster's details"
|
|
||||||
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}"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Clusters can be used to deploy applications and to provide Review Apps for this project"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Control how your cluster integrates with GitLab"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Copy API URL"
|
msgid "ClusterIntegration|Copy API URL"
|
||||||
|
@ -602,19 +584,19 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Copy CA Certificate"
|
msgid "ClusterIntegration|Copy CA Certificate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Copy Kubernetes cluster name"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Copy Token"
|
msgid "ClusterIntegration|Copy Token"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Copy cluster name"
|
msgid "ClusterIntegration|Create Kubernetes cluster"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Create a new cluster on Google Kubernetes Engine right from GitLab"
|
msgid "ClusterIntegration|Create Kubernetes cluster on Google Kubernetes Engine"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Create cluster"
|
msgid "ClusterIntegration|Create a new Kubernetes cluster on Google Kubernetes Engine right from GitLab"
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|Create cluster on Google Kubernetes Engine"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Create on GKE"
|
msgid "ClusterIntegration|Create on GKE"
|
||||||
|
@ -623,7 +605,7 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Enter the details for an existing Kubernetes cluster"
|
msgid "ClusterIntegration|Enter the details for an existing Kubernetes cluster"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Enter the details for your cluster"
|
msgid "ClusterIntegration|Enter the details for your Kubernetes cluster"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Environment scope"
|
msgid "ClusterIntegration|Environment scope"
|
||||||
|
@ -659,16 +641,49 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Installing"
|
msgid "ClusterIntegration|Installing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Integrate cluster automation"
|
msgid "ClusterIntegration|Integrate Kubernetes cluster automation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Integration status"
|
msgid "ClusterIntegration|Integration status"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Kubernetes cluster"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Kubernetes cluster details"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Kubernetes cluster integration"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Kubernetes cluster integration is disabled for this project."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Kubernetes cluster integration is enabled for this project."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
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|Kubernetes cluster is being created on Google Kubernetes Engine..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Kubernetes cluster name"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Kubernetes cluster was successfully created on Google Kubernetes Engine. Refresh the page to see Kubernetes cluster's details"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
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|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}"
|
msgid "ClusterIntegration|Learn more about %{link_to_documentation}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Learn more about Clusters"
|
msgid "ClusterIntegration|Learn more about Kubernetes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Learn more about environments"
|
msgid "ClusterIntegration|Learn more about environments"
|
||||||
|
@ -677,10 +692,10 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Machine type"
|
msgid "ClusterIntegration|Machine type"
|
||||||
msgstr ""
|
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 ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Manage your cluster by visiting %{link_gke}"
|
msgid "ClusterIntegration|Manage your Kubernetes cluster by visiting %{link_gke}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Note:"
|
msgid "ClusterIntegration|Note:"
|
||||||
|
@ -689,7 +704,7 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Number of nodes"
|
msgid "ClusterIntegration|Number of nodes"
|
||||||
msgstr ""
|
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 ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Please make sure that your Google account meets the following requirements:"
|
msgid "ClusterIntegration|Please make sure that your Google account meets the following requirements:"
|
||||||
|
@ -707,16 +722,16 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Prometheus"
|
msgid "ClusterIntegration|Prometheus"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Read our %{link_to_help_page} on cluster integration."
|
msgid "ClusterIntegration|Read our %{link_to_help_page} on Kubernetes cluster integration."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Remove cluster integration"
|
msgid "ClusterIntegration|Remove Kubernetes cluster integration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Remove integration"
|
msgid "ClusterIntegration|Remove integration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Remove this cluster's configuration from this project. This will not delete your actual cluster."
|
msgid "ClusterIntegration|Remove this Kubernetes cluster's configuration from this project. This will not delete your actual Kubernetes cluster."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Request to begin installing failed"
|
msgid "ClusterIntegration|Request to begin installing failed"
|
||||||
|
@ -725,7 +740,7 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Save changes"
|
msgid "ClusterIntegration|Save changes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|See and edit the details for your cluster"
|
msgid "ClusterIntegration|See and edit the details for your Kubernetes cluster"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|See machine types"
|
msgid "ClusterIntegration|See machine types"
|
||||||
|
@ -746,22 +761,25 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|Something went wrong on our end."
|
msgid "ClusterIntegration|Something went wrong on our end."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Something went wrong while creating your cluster on Google Kubernetes Engine"
|
msgid "ClusterIntegration|Something went wrong while creating your Kubernetes cluster on Google Kubernetes Engine"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Something went wrong while installing %{title}"
|
msgid "ClusterIntegration|Something went wrong while installing %{title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|This account must have permissions to create a cluster in the %{link_to_container_project} specified below"
|
msgid "ClusterIntegration|This account must have permissions to create a Kubernetes cluster in the %{link_to_container_project} specified below"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Toggle Cluster"
|
msgid "ClusterIntegration|Toggle Kubernetes Cluster"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "ClusterIntegration|Toggle Kubernetes cluster"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Token"
|
msgid "ClusterIntegration|Token"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
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 ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|Your account must have %{link_to_kubernetes_engine}"
|
msgid "ClusterIntegration|Your account must have %{link_to_kubernetes_engine}"
|
||||||
|
@ -776,9 +794,6 @@ msgstr ""
|
||||||
msgid "ClusterIntegration|check the pricing here"
|
msgid "ClusterIntegration|check the pricing here"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "ClusterIntegration|cluster"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "ClusterIntegration|documentation"
|
msgid "ClusterIntegration|documentation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1212,6 +1227,9 @@ msgstr ""
|
||||||
msgid "February"
|
msgid "February"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Fields on this page are now uneditable, you can configure"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "File name"
|
msgid "File name"
|
||||||
msgstr ""
|
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."
|
msgid "Google authentication is not %{link_to_documentation}. Ask your GitLab administrator if you want to use this service."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Got it!"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "GroupSettings|Prevent sharing a project within %{group} with other groups"
|
msgid "GroupSettings|Prevent sharing a project within %{group} with other groups"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1381,6 +1402,9 @@ msgstr ""
|
||||||
msgid "Install a Runner compatible with GitLab CI"
|
msgid "Install a Runner compatible with GitLab CI"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Instance does not support multiple Kubernetes clusters"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Interested parties can even contribute by pushing commits if they want to."
|
msgid "Interested parties can even contribute by pushing commits if they want to."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1426,6 +1450,27 @@ msgstr ""
|
||||||
msgid "June"
|
msgid "June"
|
||||||
msgstr ""
|
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"
|
msgid "LFSStatus|Disabled"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1551,14 +1596,17 @@ msgstr ""
|
||||||
msgid "More information is available|here"
|
msgid "More information is available|here"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "New Cluster"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "New Issue"
|
msgid "New Issue"
|
||||||
msgid_plural "New Issues"
|
msgid_plural "New Issues"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
|
msgid "New Kubernetes Cluster"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "New Kubernetes cluster"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "New Pipeline Schedule"
|
msgid "New Pipeline Schedule"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1835,7 +1883,7 @@ msgstr ""
|
||||||
msgid "Play"
|
msgid "Play"
|
||||||
msgstr ""
|
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 ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Please solve the reCAPTCHA"
|
msgid "Please solve the reCAPTCHA"
|
||||||
|
@ -2009,6 +2057,9 @@ msgstr ""
|
||||||
msgid "PrometheusService|View environments"
|
msgid "PrometheusService|View environments"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Protip:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Public - The group and any public projects can be viewed without any authentication."
|
msgid "Public - The group and any public projects can be viewed without any authentication."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2480,9 +2531,15 @@ msgstr ""
|
||||||
msgid "There are problems accessing Git storage: "
|
msgid "There are problems accessing Git storage: "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "There was an error loading users activity calendar."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "There was an error saving your notification settings."
|
msgid "There was an error saving your notification settings."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "There was an error subscribing to this label."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "There was an error when reseting email token."
|
msgid "There was an error when reseting email token."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2946,6 +3003,9 @@ msgstr ""
|
||||||
msgid "You'll need to use different branch names to get a valid comparison."
|
msgid "You'll need to use different branch names to get a valid comparison."
|
||||||
msgstr ""
|
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."
|
msgid "Your comment will not be visible to the public."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -3125,3 +3185,6 @@ msgstr ""
|
||||||
|
|
||||||
msgid "username"
|
msgid "username"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "uses Kubernetes clusters to deploy your code!"
|
||||||
|
msgstr ""
|
||||||
|
|
|
@ -177,7 +177,7 @@ describe Projects::ClustersController do
|
||||||
|
|
||||||
cluster.reload
|
cluster.reload
|
||||||
expect(response).to redirect_to(project_cluster_path(project, cluster))
|
expect(response).to redirect_to(project_cluster_path(project, cluster))
|
||||||
expect(flash[:notice]).to eq('Cluster was successfully updated.')
|
expect(flash[:notice]).to eq('Kubernetes cluster was successfully updated.')
|
||||||
expect(cluster.enabled).to be_falsey
|
expect(cluster.enabled).to be_falsey
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -276,7 +276,7 @@ describe Projects::ClustersController do
|
||||||
|
|
||||||
cluster.reload
|
cluster.reload
|
||||||
expect(response).to redirect_to(project_cluster_path(project, cluster))
|
expect(response).to redirect_to(project_cluster_path(project, cluster))
|
||||||
expect(flash[:notice]).to eq('Cluster was successfully updated.')
|
expect(flash[:notice]).to eq('Kubernetes cluster was successfully updated.')
|
||||||
expect(cluster.enabled).to be_falsey
|
expect(cluster.enabled).to be_falsey
|
||||||
expect(cluster.name).to eq('my-new-cluster-name')
|
expect(cluster.name).to eq('my-new-cluster-name')
|
||||||
expect(cluster.platform_kubernetes.namespace).to eq('my-namespace')
|
expect(cluster.platform_kubernetes.namespace).to eq('my-namespace')
|
||||||
|
@ -336,7 +336,7 @@ describe Projects::ClustersController do
|
||||||
.and change { Clusters::Providers::Gcp.count }.by(-1)
|
.and change { Clusters::Providers::Gcp.count }.by(-1)
|
||||||
|
|
||||||
expect(response).to redirect_to(project_clusters_path(project))
|
expect(response).to redirect_to(project_clusters_path(project))
|
||||||
expect(flash[:notice]).to eq('Cluster integration was successfully removed.')
|
expect(flash[:notice]).to eq('Kubernetes cluster integration was successfully removed.')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -349,7 +349,7 @@ describe Projects::ClustersController do
|
||||||
.and change { Clusters::Providers::Gcp.count }.by(-1)
|
.and change { Clusters::Providers::Gcp.count }.by(-1)
|
||||||
|
|
||||||
expect(response).to redirect_to(project_clusters_path(project))
|
expect(response).to redirect_to(project_clusters_path(project))
|
||||||
expect(flash[:notice]).to eq('Cluster integration was successfully removed.')
|
expect(flash[:notice]).to eq('Kubernetes cluster integration was successfully removed.')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -364,7 +364,7 @@ describe Projects::ClustersController do
|
||||||
.and change { Clusters::Providers::Gcp.count }.by(0)
|
.and change { Clusters::Providers::Gcp.count }.by(0)
|
||||||
|
|
||||||
expect(response).to redirect_to(project_clusters_path(project))
|
expect(response).to redirect_to(project_clusters_path(project))
|
||||||
expect(flash[:notice]).to eq('Cluster integration was successfully removed.')
|
expect(flash[:notice]).to eq('Kubernetes cluster integration was successfully removed.')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -64,7 +64,7 @@ feature 'Clusters Applications', :js do
|
||||||
expect(page.find(:css, '.js-cluster-application-install-button')).to have_content('Installed')
|
expect(page.find(:css, '.js-cluster-application-install-button')).to have_content('Installed')
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(page).to have_content('Helm Tiller was successfully installed on your cluster')
|
expect(page).to have_content('Helm Tiller was successfully installed on your Kubernetes cluster')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ feature 'Clusters Applications', :js do
|
||||||
expect(page.find(:css, '.js-cluster-application-install-button')).to have_content('Installed')
|
expect(page.find(:css, '.js-cluster-application-install-button')).to have_content('Installed')
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(page).to have_content('Ingress was successfully installed on your cluster')
|
expect(page).to have_content('Ingress was successfully installed on your Kubernetes cluster')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -32,7 +32,7 @@ feature 'Gcp Cluster', :js do
|
||||||
before do
|
before do
|
||||||
visit project_clusters_path(project)
|
visit project_clusters_path(project)
|
||||||
|
|
||||||
click_link 'Add cluster'
|
click_link 'Add Kubernetes cluster'
|
||||||
click_link 'Create on GKE'
|
click_link 'Create on GKE'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -50,19 +50,19 @@ feature 'Gcp Cluster', :js do
|
||||||
|
|
||||||
fill_in 'cluster_provider_gcp_attributes_gcp_project_id', with: 'gcp-project-123'
|
fill_in 'cluster_provider_gcp_attributes_gcp_project_id', with: 'gcp-project-123'
|
||||||
fill_in 'cluster_name', with: 'dev-cluster'
|
fill_in 'cluster_name', with: 'dev-cluster'
|
||||||
click_button 'Create cluster'
|
click_button 'Create Kubernetes cluster'
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees a cluster details page and creation status' do
|
it 'user sees a cluster details page and creation status' do
|
||||||
expect(page).to have_content('Cluster is being created on Google Kubernetes Engine...')
|
expect(page).to have_content('Kubernetes cluster is being created on Google Kubernetes Engine...')
|
||||||
|
|
||||||
Clusters::Cluster.last.provider.make_created!
|
Clusters::Cluster.last.provider.make_created!
|
||||||
|
|
||||||
expect(page).to have_content('Cluster was successfully created on Google Kubernetes Engine')
|
expect(page).to have_content('Kubernetes cluster was successfully created on Google Kubernetes Engine')
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees a error if something worng during creation' do
|
it 'user sees a error if something worng during creation' do
|
||||||
expect(page).to have_content('Cluster is being created on Google Kubernetes Engine...')
|
expect(page).to have_content('Kubernetes cluster is being created on Google Kubernetes Engine...')
|
||||||
|
|
||||||
Clusters::Cluster.last.provider.make_errored!('Something wrong!')
|
Clusters::Cluster.last.provider.make_errored!('Something wrong!')
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ feature 'Gcp Cluster', :js do
|
||||||
|
|
||||||
context 'when user filled form with invalid parameters' do
|
context 'when user filled form with invalid parameters' do
|
||||||
before do
|
before do
|
||||||
click_button 'Create cluster'
|
click_button 'Create Kubernetes cluster'
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees a validation error' do
|
it 'user sees a validation error' do
|
||||||
|
@ -100,7 +100,7 @@ feature 'Gcp Cluster', :js do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees the successful message' do
|
it 'user sees the successful message' do
|
||||||
expect(page).to have_content('Cluster was successfully updated.')
|
expect(page).to have_content('Kubernetes cluster was successfully updated.')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ feature 'Gcp Cluster', :js do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees the successful message' do
|
it 'user sees the successful message' do
|
||||||
expect(page).to have_content('Cluster was successfully updated.')
|
expect(page).to have_content('Kubernetes cluster was successfully updated.')
|
||||||
expect(cluster.reload.platform_kubernetes.namespace).to eq('my-namespace')
|
expect(cluster.reload.platform_kubernetes.namespace).to eq('my-namespace')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -124,8 +124,8 @@ feature 'Gcp Cluster', :js do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees creation form with the successful message' do
|
it 'user sees creation form with the successful message' do
|
||||||
expect(page).to have_content('Cluster integration was successfully removed.')
|
expect(page).to have_content('Kubernetes cluster integration was successfully removed.')
|
||||||
expect(page).to have_link('Add cluster')
|
expect(page).to have_link('Add Kubernetes cluster')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -138,16 +138,16 @@ feature 'Gcp Cluster', :js do
|
||||||
|
|
||||||
visit project_clusters_path(project)
|
visit project_clusters_path(project)
|
||||||
|
|
||||||
click_link 'Add cluster'
|
click_link 'Add Kubernetes cluster'
|
||||||
click_link 'Create on GKE'
|
click_link 'Create on GKE'
|
||||||
|
|
||||||
fill_in 'cluster_provider_gcp_attributes_gcp_project_id', with: 'gcp-project-123'
|
fill_in 'cluster_provider_gcp_attributes_gcp_project_id', with: 'gcp-project-123'
|
||||||
fill_in 'cluster_name', with: 'dev-cluster'
|
fill_in 'cluster_name', with: 'dev-cluster'
|
||||||
click_button 'Create cluster'
|
click_button 'Create Kubernetes cluster'
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees form with error' do
|
it 'user sees form with error' do
|
||||||
expect(page).to have_content('Please enable billing for one of your projects to be able to create a cluster, then try again.')
|
expect(page).to have_content('Please enable billing for one of your projects to be able to create a Kubernetes cluster, then try again.')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -158,12 +158,12 @@ feature 'Gcp Cluster', :js do
|
||||||
|
|
||||||
visit project_clusters_path(project)
|
visit project_clusters_path(project)
|
||||||
|
|
||||||
click_link 'Add cluster'
|
click_link 'Add Kubernetes cluster'
|
||||||
click_link 'Create on GKE'
|
click_link 'Create on GKE'
|
||||||
|
|
||||||
fill_in 'cluster_provider_gcp_attributes_gcp_project_id', with: 'gcp-project-123'
|
fill_in 'cluster_provider_gcp_attributes_gcp_project_id', with: 'gcp-project-123'
|
||||||
fill_in 'cluster_name', with: 'dev-cluster'
|
fill_in 'cluster_name', with: 'dev-cluster'
|
||||||
click_button 'Create cluster'
|
click_button 'Create Kubernetes cluster'
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees form with error' do
|
it 'user sees form with error' do
|
||||||
|
@ -176,7 +176,7 @@ feature 'Gcp Cluster', :js do
|
||||||
before do
|
before do
|
||||||
visit project_clusters_path(project)
|
visit project_clusters_path(project)
|
||||||
|
|
||||||
click_link 'Add cluster'
|
click_link 'Add Kubernetes cluster'
|
||||||
click_link 'Create on GKE'
|
click_link 'Create on GKE'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ feature 'User Cluster', :js do
|
||||||
before do
|
before do
|
||||||
visit project_clusters_path(project)
|
visit project_clusters_path(project)
|
||||||
|
|
||||||
click_link 'Add cluster'
|
click_link 'Add Kubernetes cluster'
|
||||||
click_link 'Add an existing cluster'
|
click_link 'Add an existing Kubernetes cluster'
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'when user filled form with valid parameters' do
|
context 'when user filled form with valid parameters' do
|
||||||
|
@ -25,11 +25,11 @@ feature 'User Cluster', :js do
|
||||||
fill_in 'cluster_name', with: 'dev-cluster'
|
fill_in 'cluster_name', with: 'dev-cluster'
|
||||||
fill_in 'cluster_platform_kubernetes_attributes_api_url', with: 'http://example.com'
|
fill_in 'cluster_platform_kubernetes_attributes_api_url', with: 'http://example.com'
|
||||||
fill_in 'cluster_platform_kubernetes_attributes_token', with: 'my-token'
|
fill_in 'cluster_platform_kubernetes_attributes_token', with: 'my-token'
|
||||||
click_button 'Add cluster'
|
click_button 'Add Kubernetes cluster'
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees a cluster details page' do
|
it 'user sees a cluster details page' do
|
||||||
expect(page).to have_content('Cluster integration')
|
expect(page).to have_content('Kubernetes cluster integration')
|
||||||
expect(page.find_field('cluster[name]').value).to eq('dev-cluster')
|
expect(page.find_field('cluster[name]').value).to eq('dev-cluster')
|
||||||
expect(page.find_field('cluster[platform_kubernetes_attributes][api_url]').value)
|
expect(page.find_field('cluster[platform_kubernetes_attributes][api_url]').value)
|
||||||
.to have_content('http://example.com')
|
.to have_content('http://example.com')
|
||||||
|
@ -40,7 +40,7 @@ feature 'User Cluster', :js do
|
||||||
|
|
||||||
context 'when user filled form with invalid parameters' do
|
context 'when user filled form with invalid parameters' do
|
||||||
before do
|
before do
|
||||||
click_button 'Add cluster'
|
click_button 'Add Kubernetes cluster'
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees a validation error' do
|
it 'user sees a validation error' do
|
||||||
|
@ -68,7 +68,7 @@ feature 'User Cluster', :js do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees the successful message' do
|
it 'user sees the successful message' do
|
||||||
expect(page).to have_content('Cluster was successfully updated.')
|
expect(page).to have_content('Kubernetes cluster was successfully updated.')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ feature 'User Cluster', :js do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees the successful message' do
|
it 'user sees the successful message' do
|
||||||
expect(page).to have_content('Cluster was successfully updated.')
|
expect(page).to have_content('Kubernetes cluster was successfully updated.')
|
||||||
expect(cluster.reload.name).to eq('my-dev-cluster')
|
expect(cluster.reload.name).to eq('my-dev-cluster')
|
||||||
expect(cluster.reload.platform_kubernetes.namespace).to eq('my-namespace')
|
expect(cluster.reload.platform_kubernetes.namespace).to eq('my-namespace')
|
||||||
end
|
end
|
||||||
|
@ -94,8 +94,8 @@ feature 'User Cluster', :js do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'user sees creation form with the successful message' do
|
it 'user sees creation form with the successful message' do
|
||||||
expect(page).to have_content('Cluster integration was successfully removed.')
|
expect(page).to have_content('Kubernetes cluster integration was successfully removed.')
|
||||||
expect(page).to have_link('Add cluster')
|
expect(page).to have_link('Add Kubernetes cluster')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -17,7 +17,7 @@ feature 'Clusters', :js do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'sees empty state' do
|
it 'sees empty state' do
|
||||||
expect(page).to have_link('Add cluster')
|
expect(page).to have_link('Add Kubernetes cluster')
|
||||||
expect(page).to have_selector('.empty-state')
|
expect(page).to have_selector('.empty-state')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -82,7 +82,7 @@ feature 'Clusters', :js do
|
||||||
before do
|
before do
|
||||||
visit project_clusters_path(project)
|
visit project_clusters_path(project)
|
||||||
|
|
||||||
click_link 'Add cluster'
|
click_link 'Add Kubernetes cluster'
|
||||||
click_link 'Create on GKE'
|
click_link 'Create on GKE'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,8 @@ describe('Clusters', () => {
|
||||||
helm: { status: APPLICATION_INSTALLABLE, title: 'Helm Tiller' },
|
helm: { status: APPLICATION_INSTALLABLE, title: 'Helm Tiller' },
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(document.querySelector('.js-cluster-application-notice .flash-text')).toBeNull();
|
const flashMessage = document.querySelector('.js-cluster-application-notice .flash-text');
|
||||||
|
expect(flashMessage).toBeNull();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('shows an alert when something gets newly installed', () => {
|
it('shows an alert when something gets newly installed', () => {
|
||||||
|
@ -83,8 +84,9 @@ describe('Clusters', () => {
|
||||||
helm: { status: APPLICATION_INSTALLED, title: 'Helm Tiller' },
|
helm: { status: APPLICATION_INSTALLED, title: 'Helm Tiller' },
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(document.querySelector('.js-cluster-application-notice .flash-text')).toBeDefined();
|
const flashMessage = document.querySelector('.js-cluster-application-notice .flash-text');
|
||||||
expect(document.querySelector('.js-cluster-application-notice .flash-text').textContent.trim()).toEqual('Helm Tiller was successfully installed on your cluster');
|
expect(flashMessage).not.toBeNull();
|
||||||
|
expect(flashMessage.textContent.trim()).toEqual('Helm Tiller was successfully installed on your Kubernetes cluster');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('shows an alert when multiple things gets newly installed', () => {
|
it('shows an alert when multiple things gets newly installed', () => {
|
||||||
|
@ -98,8 +100,9 @@ describe('Clusters', () => {
|
||||||
ingress: { status: APPLICATION_INSTALLED, title: 'Ingress' },
|
ingress: { status: APPLICATION_INSTALLED, title: 'Ingress' },
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(document.querySelector('.js-cluster-application-notice .flash-text')).toBeDefined();
|
const flashMessage = document.querySelector('.js-cluster-application-notice .flash-text');
|
||||||
expect(document.querySelector('.js-cluster-application-notice .flash-text').textContent.trim()).toEqual('Helm Tiller, Ingress was successfully installed on your cluster');
|
expect(flashMessage).not.toBeNull();
|
||||||
|
expect(flashMessage.textContent.trim()).toEqual('Helm Tiller, Ingress was successfully installed on your Kubernetes cluster');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -408,7 +408,7 @@ describe KubernetesService, :use_clean_rails_memory_store_caching do
|
||||||
|
|
||||||
context 'if the services is active' do
|
context 'if the services is active' do
|
||||||
it 'should return a message' do
|
it 'should return a message' do
|
||||||
expect(kubernetes_service.deprecation_message).to match(/Your cluster information on this page is still editable/)
|
expect(kubernetes_service.deprecation_message).to match(/Your Kubernetes cluster information on this page is still editable/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue