DCM E2E testing fixes 50/113450/6
authorIgor D.C <igor.duarte.cardoso@intel.com>
Fri, 2 Oct 2020 01:40:09 +0000 (01:40 +0000)
committerIgor D.C <igor.duarte.cardoso@intel.com>
Fri, 2 Oct 2020 23:24:52 +0000 (23:24 +0000)
commite70a776fd2d16d7d386af0354afd3e086068ef00
tree9bfc8337356052c9fa3d856ab632b13234219e92
parent8eceef201a6252aeab9a5c2410423642b3726910
DCM E2E testing fixes

A set of small fixes after discovery during DCM's end-to-end testing:
- properly detect that a cert hasn't been issued yet (don't crash)
- in Monitor, don't pass namespace when querying for CSRs
- fixed incorrect /kubeconfig file encoding from yaml to json

Issue-ID: MULTICLOUD-1143
Change-Id: Ie813e377070b0751f0bfdabac8da50e3288090de
Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
src/dcm/api/clusterHandler.go
src/dcm/pkg/module/cluster.go
src/monitor/pkg/controller/resourcebundlestate/controller.go