diff options
Diffstat (limited to 'src/monitor/deploy')
3 files changed, 41 insertions, 5 deletions
diff --git a/src/monitor/deploy/crds/k8splugin_v1alpha1_resourcebundlestate_cr.yaml b/src/monitor/deploy/crds/k8splugin_v1alpha1_resourcebundlestate_cr.yaml index 9e6e42d3..86fe0553 100644 --- a/src/monitor/deploy/crds/k8splugin_v1alpha1_resourcebundlestate_cr.yaml +++ b/src/monitor/deploy/crds/k8splugin_v1alpha1_resourcebundlestate_cr.yaml @@ -2,12 +2,11 @@ apiVersion: k8splugin.io/v1alpha1 kind: ResourceBundleState metadata: name: example-resourcebundlestate - namespace: test labels: - "k8splugin.io/rb-inst-id": "bionic-beaver" + "emco/deployment-id": "bionic-beaver" spec: selector: matchLabels: - "k8splugin.io/rb-inst-id": "bionic-beaver" + "emco/deployment-id": "bionic-beaver" status: ready: false diff --git a/src/monitor/deploy/crds/k8splugin_v1alpha1_resourcebundlestate_crd.yaml b/src/monitor/deploy/crds/k8splugin_v1alpha1_resourcebundlestate_crd.yaml index 68585a32..dd38b2ef 100644 --- a/src/monitor/deploy/crds/k8splugin_v1alpha1_resourcebundlestate_crd.yaml +++ b/src/monitor/deploy/crds/k8splugin_v1alpha1_resourcebundlestate_crd.yaml @@ -58,11 +58,46 @@ spec: items: type: object type: array + configMapStatuses: + items: + type: object + type: array + deploymentStatuses: + items: + type: object + type: array + secretStatuses: + items: + type: object + type: array + daemonSetStatuses: + items: + type: object + type: array + ingressStatuses: + items: + type: object + type: array + jobStatuses: + items: + type: object + type: array + statefulSetStatuses: + items: + type: object + type: array required: - ready - resourceCount - podStatuses - serviceStatuses + - configMapStatuses + - deploymentStatuses + - secretStatuses + - daemonSetStatuses + - ingressStatuses + - jobStatuses + - statefulSetStatuses type: object version: v1alpha1 versions: diff --git a/src/monitor/deploy/operator.yaml b/src/monitor/deploy/operator.yaml index 9affeaaa..a06c07d3 100644 --- a/src/monitor/deploy/operator.yaml +++ b/src/monitor/deploy/operator.yaml @@ -2,15 +2,17 @@ apiVersion: apps/v1 kind: Deployment metadata: name: monitor + labels: + "emco/deployment-id": "bionic-beaver" spec: replicas: 1 selector: matchLabels: - name: monitor + "emco/deployment-id": "bionic-beaver" template: metadata: labels: - name: monitor + "emco/deployment-id": "bionic-beaver" spec: serviceAccountName: monitor containers: |