summaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorAmit Rathi <amit.juschill@gmail.com>2018-12-07 21:40:03 +0530
committerAmit Rathi <amit.juschill@gmail.com>2018-12-07 21:40:03 +0530
commit1cdcf4026529a26480d801e2b8417ecaba627b9e (patch)
treea9136a106091d5beba8fd76ea4b0b8ce05a07008 /app/serializers
parenta445aa0a9267f191fab1c46d438b42fbec549da5 (diff)
downloadgitlab-ce-1cdcf4026529a26480d801e2b8417ecaba627b9e.tar.gz
Allows user to override default issuer email for cert manager
Diffstat (limited to 'app/serializers')
-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