Modified to support Certificate and KeyPath 94/3594/4
authorabhijit_onap <abhijit.das.gupta@huawei.com>
Wed, 24 Jun 2020 12:42:43 +0000 (18:12 +0530)
committerabhijit_onap <abhijit.das.gupta@huawei.com>
Wed, 22 Jul 2020 06:43:30 +0000 (12:13 +0530)
Updated the yaml file to associate with secret
Default configuration SSL Mode - Disabled

Signed-off-by: abhijit_onap <abhijit.das.gupta@huawei.com>
Change-Id: I8c1ba3622a4de58bcc0c4dcfe61ff9899dce0aa4

ocd/infra/playbooks/roles/applcm/files/deploy/applcm-broker-deployment.yaml

index 648b0f4..21a2b6a 100644 (file)
@@ -64,15 +64,27 @@ spec:
           value: /Artifacts/Deployment/
         - name: PACKAGE_PATH
           value: /go/release/application/packages/
+        - name: APLCM_SSL_MODE
+        - value: false
+        - name: CERTIFICATE_PATH
+          value: /go/release/certificates/server.cer
+        - name: KEY_PATH
+          value: /go/release/certificates/server_key.pem
         image: ealtedge/applcm-broker:latest
         imagePullPolicy: ""
         name: applcm-broker
         ports:
         - containerPort: 8081
         resources: {}
+        #volumeMounts:
+          #- mountPath: /go/release/certificates/
+          #  name: server-cert
       restartPolicy: Always
       serviceAccountName: ""
-      volumes: null
+      #volumes:
+        #- name: server-cert
+          #secret:
+           #secretName: applcm-secret
 status: {}
 
 # yamllint enable