Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

Version 1 Next »

cd kubernetes/appc
mkdir -p resources/certs

copy org.onap.appc.p12 file to resources/certs

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" . }}-preload
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: {{ include "common.name" .}}-certs
subPath: org.onap.appc.p12


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

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


  • No labels