2019-12-11 19:07:43 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 02:09:01 -04:00
|
|
|
RSpec.describe Clusters::Kubernetes do
|
2019-12-11 19:07:43 -05:00
|
|
|
it { is_expected.to be_const_defined(:GITLAB_SERVICE_ACCOUNT_NAME) }
|
|
|
|
it { is_expected.to be_const_defined(:GITLAB_SERVICE_ACCOUNT_NAMESPACE) }
|
|
|
|
it { is_expected.to be_const_defined(:GITLAB_ADMIN_TOKEN_NAME) }
|
|
|
|
it { is_expected.to be_const_defined(:GITLAB_CLUSTER_ROLE_BINDING_NAME) }
|
|
|
|
it { is_expected.to be_const_defined(:GITLAB_CLUSTER_ROLE_NAME) }
|
|
|
|
it { is_expected.to be_const_defined(:PROJECT_CLUSTER_ROLE_NAME) }
|
|
|
|
it { is_expected.to be_const_defined(:GITLAB_KNATIVE_SERVING_ROLE_NAME) }
|
|
|
|
it { is_expected.to be_const_defined(:GITLAB_KNATIVE_SERVING_ROLE_BINDING_NAME) }
|
|
|
|
it { is_expected.to be_const_defined(:GITLAB_CROSSPLANE_DATABASE_ROLE_NAME) }
|
|
|
|
it { is_expected.to be_const_defined(:GITLAB_CROSSPLANE_DATABASE_ROLE_BINDING_NAME) }
|
|
|
|
end
|