From 2026cb5283fbc44a4f68641f6e85628381ebda04 Mon Sep 17 00:00:00 2001 From: Srivahni Date: Thu, 24 Oct 2019 14:08:58 -0700 Subject: Add/update/delete PrometheusRemoteEndpoint CR PrometheusRemoteEndpoint CR when applied, a remote write endpoint is added/updated/deleted in prometheus. Issue-ID: ONAPARC-393 Signed-off-by: Srivahni Change-Id: I8cdc0b673b35be3457a2b12c6769cd3cf62ac6c5 --- .../remote-config-operator/deploy/operator.yaml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 vnfs/DAaaS/microservices/remote-config-operator/deploy/operator.yaml (limited to 'vnfs/DAaaS/microservices/remote-config-operator/deploy/operator.yaml') diff --git a/vnfs/DAaaS/microservices/remote-config-operator/deploy/operator.yaml b/vnfs/DAaaS/microservices/remote-config-operator/deploy/operator.yaml new file mode 100644 index 00000000..e465d76f --- /dev/null +++ b/vnfs/DAaaS/microservices/remote-config-operator/deploy/operator.yaml @@ -0,0 +1,33 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: remote-config-operator +spec: + replicas: 1 + selector: + matchLabels: + name: remote-config-operator + template: + metadata: + labels: + name: remote-config-operator + spec: + serviceAccountName: remote-config-operator + containers: + - name: remote-config-operator + # Replace this with the built image name + image: dcr.cluster.local:32644/remote-config-operator:latest + command: + - remote-config-operator + imagePullPolicy: Always + env: + - name: WATCH_NAMESPACE + value: "" + - name: WATCH_LABELS + value: "app=cp-prometheus-prometheus" + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: OPERATOR_NAME + value: "remote-config-operator" \ No newline at end of file -- cgit 1.2.3-korg