aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/kubernetes/ajsc6configdemo-rc.yaml
blob: 274ea475f717429ad6bc73546f790d502df3829d (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
apiVersion: v1
kind: ReplicationController
metadata:
  name: ajsc6configdemo
  namespace: org-onap-aai
spec:
  replicas: 5
  selector:
    app: ajsc6configdemo
  template:
    metadata:
      labels:
        app: ajsc6configdemo
    spec:
      serviceAccount: ajsc-svc-account
      containers:
      - name: ajsc6configdemo
        volumeMounts:
        - name: myservice-properties-volume
          mountPath: /etc/config/dynamic
        image: ajsc6configdemo:latest
        imagePullPolicy: Always
        ports:
         - containerPort: 8080
      volumes:
      - name: myservice-properties-volume
        configMap:
          name: ajsc6configdemo-dynamic-properties