summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/remote-config-operator/deploy/operator.yaml
blob: 5be3f765cc79df1bc5ed8624a6cbabf90e27fc99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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: "remote=m3db1"
            - name: POD_NAME
              valueFrom:
                fieldRef:
                  fieldPath: metadata.name
            - name: OPERATOR_NAME
              value: "remote-config-operator"