diff options
author | Amit Rathi <amit.juschill@gmail.com> | 2018-12-07 21:40:03 +0530 |
---|---|---|
committer | Amit Rathi <amit.juschill@gmail.com> | 2018-12-07 21:40:03 +0530 |
commit | 1cdcf4026529a26480d801e2b8417ecaba627b9e (patch) | |
tree | a9136a106091d5beba8fd76ea4b0b8ce05a07008 /app/serializers | |
parent | a445aa0a9267f191fab1c46d438b42fbec549da5 (diff) | |
download | gitlab-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.rb | 1 |
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 |