From 0e4ad53c92d574a92b41c325eab0cec79d58f796 Mon Sep 17 00:00:00 2001 From: Amit Rathi Date: Tue, 13 Nov 2018 17:42:34 +0530 Subject: Remove logging from pod.rb --- lib/gitlab/kubernetes/helm/pod.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/gitlab/kubernetes/helm/pod.rb b/lib/gitlab/kubernetes/helm/pod.rb index 008e1232b73..e9c621d96f0 100644 --- a/lib/gitlab/kubernetes/helm/pod.rb +++ b/lib/gitlab/kubernetes/helm/pod.rb @@ -14,9 +14,7 @@ module Gitlab spec[:volumes] = volumes_specification spec[:containers][0][:volumeMounts] = volume_mounts_specification spec[:serviceAccountName] = service_account_name if service_account_name - Gitlab::AppLogger.info('--- Generating Installation POD ----') - Gitlab::AppLogger.info(metadata) - Gitlab::AppLogger.info(spec) + ::Kubeclient::Resource.new(metadata: metadata, spec: spec) end @@ -50,14 +48,10 @@ module Gitlab end def generate_pod_env(command) - sc = command.generate_script - Gitlab::AppLogger.info('--- generate_pod_env and command is---*******----') - Gitlab::AppLogger.info(sc) - Gitlab::AppLogger.info('--------------------------------------------------------') { HELM_VERSION: Gitlab::Kubernetes::Helm::HELM_VERSION, TILLER_NAMESPACE: namespace_name, - COMMAND_SCRIPT: sc + COMMAND_SCRIPT: command.generate_script }.map { |key, value| { name: key, value: value } } end -- cgit v1.2.1