You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

cd kubernetes/appc
mkdir -p resources/certs

download and copy org.onap.appc.p12 file from this page's comment below to resources/certs

Change cadi.properties

edit resources/config/appc/opt/onap/appc/data/properties/cadi.properties

replace the line:

cadi_keystore_password=enc:4DVUTKvRCCtebQrKskDsuKFIHLzOf2M9XxNOhVIK4xb

to

cadi_keystore_password=enc:tQTHVtbdCuzqrQY1TBRt9SkFL9tCY3OzwbsfaVyAa2dOfZlI0krFOJSBnkm1WdGr

Update the Configmap

Add the following to the end of templates/configmap.yaml

---
apiVersion: v1
kind: ConfigMap
metadata:
     name: {{ include "common.fullname" . }}-certs
     namespace: {{ include "common.namespace" . }}
     labels:
          app: {{ include "common.name" . }}
          chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
          release: {{ .Release.Name }}
          heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/certs/*").AsConfig . | indent 2 }}

Update the statefulset.yaml

Add the following lines in templates/statefulset.yaml under volumeMounts:

- mountPath: /opt/onap/appc/data/stores/org.onap.appc.p12
   name: certs
   subPath: org.onap.appc.p12


Add the following lines in templates/statefulset.yaml under volumes:

- name : certs
   configMap:
   name: {{ include "common.fullname" . }}-certs


  • No labels