aboutsummaryrefslogtreecommitdiffstats
path: root/deployments
diff options
context:
space:
mode:
authorIgor D.C <igor.duarte.cardoso@intel.com>2020-09-30 19:37:51 +0000
committerIgor D.C <igor.duarte.cardoso@intel.com>2020-09-30 22:51:03 +0000
commit6e0be38001f662f744b40fb0aabfd0702f0132a7 (patch)
treee0bef5af638cf43d3082f5a1508e9175de06cc28 /deployments
parentb5ab5c74b248d0a9b037ad1ed8f8f733e11c5c32 (diff)
Update ResourceBundleState CRD and monitor-deploy
Update ResourceBundleState CRD and monitor-deploy.yaml with csrStatuses. This was missing from the previous patch implementing CSR support in Monitor. Depending on how the environment was brought up, attempting to read the CSR would result in forbidden access. Issue-ID: MULTICLOUD-1143 Change-Id: I86ffb8df8faa045e57fd553e5784d308e1900ee4 Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
Diffstat (limited to 'deployments')
-rw-r--r--deployments/kubernetes/monitor-deploy.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/deployments/kubernetes/monitor-deploy.yaml b/deployments/kubernetes/monitor-deploy.yaml
index 29bb1eb6..ef8e5ec3 100644
--- a/deployments/kubernetes/monitor-deploy.yaml
+++ b/deployments/kubernetes/monitor-deploy.yaml
@@ -77,6 +77,10 @@ spec:
items:
type: object
type: array
+ csrStatuses:
+ items:
+ type: object
+ type: array
required:
- ready
- resourceCount
@@ -89,6 +93,7 @@ spec:
- ingressStatuses
- jobStatuses
- statefulSetStatuses
+ - csrStatuses
type: object
version: v1alpha1
versions:
@@ -169,6 +174,12 @@ rules:
- '*'
verbs:
- '*'
+- apiGroups:
+ - certificates.k8s.io
+ resources:
+ - '*'
+ verbs:
+ - '*'
---
apiVersion: rbac.authorization.k8s.io/v1