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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Rathi <amit.juschill@gmail.com>2018-12-07 19:10:03 +0300
committerAmit Rathi <amit.juschill@gmail.com>2018-12-07 19:10:03 +0300
commit1cdcf4026529a26480d801e2b8417ecaba627b9e (patch)
treea9136a106091d5beba8fd76ea4b0b8ce05a07008 /app/serializers/cluster_application_entity.rb
parenta445aa0a9267f191fab1c46d438b42fbec549da5 (diff)
Allows user to override default issuer email for cert manager
Diffstat (limited to 'app/serializers/cluster_application_entity.rb')
-rw-r--r--app/serializers/cluster_application_entity.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/cluster_application_entity.rb b/app/serializers/cluster_application_entity.rb
index 2bd17e58086..7b1a0be75ca 100644
--- a/app/serializers/cluster_application_entity.rb
+++ b/app/serializers/cluster_application_entity.rb
@@ -6,4 +6,5 @@ class ClusterApplicationEntity < Grape::Entity
expose :status_reason
expose :external_ip, if: -> (e, _) { e.respond_to?(:external_ip) }
expose :hostname, if: -> (e, _) { e.respond_to?(:hostname) }
+ expose :email, if: -> (e, _) { e.respond_to?(:email) }
end