Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

cd kubernetes/appc
mkdir -p resources/config/certs

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

...

cadi_keystore_password=enc:tQTHVtbdCuzqrQY1TBRt9SkFL9tCY3OzwbsfaVyAa2dOfZlI0krFOJSBnkm1WdGr

Update the

...

secrets.yaml

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

---
apiVersion: v1
kind: ConfigMapSecret
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 }}
     type: Opaque
data:
{{ tpl (.Files.Glob "resources/config/certs/*").AsConfig AsSecrets . | indent 2 }}

Update the statefulset.yaml

...

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

- name : certs
   configMapsecret:
   namesecretName: {{ include "common.fullname" . }}-certs

...