aboutsummaryrefslogtreecommitdiffstats
path: root/src/dcm/go.mod
diff options
context:
space:
mode:
authorIgor D.C <igor.duarte.cardoso@intel.com>2020-09-26 02:54:02 +0000
committerIgor D.C <igor.duarte.cardoso@intel.com>2020-09-28 23:29:09 +0000
commit5a8a4cc2fa457c334ea8254762725d70371cf56a (patch)
tree1b8e4925155274c27f245d7a09bf2a766f388db5 /src/dcm/go.mod
parent3ce5034769be46569c404c38ba05ed27164cbd0f (diff)
Request CSR approvals via /subresource level
Make use of the new /subresource level (under a resource) to request rsync to process approvals (a K8s subresource) for CSRs. Generic usage of instructions (order, dependency) for consistency. This also introduces a 'subresources' package in 'appcontext' with the first member being the approval subresource. Since subresources aren't necessarily created with yaml, this package will allow developers to specify what should be the "interface" in appcontext for each type of subresource when the different services need to exchange this data (e.g. DCM and rsync). Issue-ID: MULTICLOUD-1143 Change-Id: I8c85b4ee8c5654036a1c7ebb39d111ba4518b468 Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
Diffstat (limited to 'src/dcm/go.mod')
-rw-r--r--src/dcm/go.mod2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dcm/go.mod b/src/dcm/go.mod
index 35f64d80..1f04ac12 100644
--- a/src/dcm/go.mod
+++ b/src/dcm/go.mod
@@ -8,6 +8,8 @@ require (
github.com/russross/blackfriday/v2 v2.0.1
github.com/stretchr/testify v1.5.1
gopkg.in/yaml.v2 v2.2.8
+ k8s.io/api v0.18.2
+ k8s.io/apimachinery v0.18.2
k8s.io/kubernetes v1.16.9
)