aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/kubernetes/ajsc6configdemo-rc.yaml
blob: 9addfe300a203b57bbcfc61447e5997e10d1ab12 (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: zlp11313.vci.att.com:5100/com.att.ajsc/ajsc6configdemo:latest
        imagePullPolicy: Always
        ports:
         - containerPort: 8080
      volumes:
      - name: myservice-properties-volume
        configMap:
          name: ajsc6configdemo-dynamic-properties