CORD-3118 Mount node key in ONOS container for VTN (optional)
Change-Id: I61fd1f94c59db0992e640167e4cc28325f7d8be0
diff --git a/onos/templates/deployment.yaml b/onos/templates/deployment.yaml
index 585b250..9915686 100644
--- a/onos/templates/deployment.yaml
+++ b/onos/templates/deployment.yaml
@@ -57,6 +57,16 @@
containerPort: {{ .Values.services.cluster.port }}
resources:
{{ toYaml .Values.resources | indent 12 }}
+ volumeMounts:
+ - name: node-key
+ mountPath: /root/vtn
+ readOnly: true
+ volumes:
+ - name: node-key
+ secret:
+ secretName: node-key
+ defaultMode: 256
+ optional: true
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}