Adding LOG config override to start ONOS with debug enabled for some applications
Change-Id: Ibbe20897514928dd34e398288b667b90b6d29a30
diff --git a/onos/templates/deployment.yaml b/onos/templates/deployment.yaml
index a1027d7..d53c48f 100644
--- a/onos/templates/deployment.yaml
+++ b/onos/templates/deployment.yaml
@@ -64,6 +64,9 @@
resources:
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
+ - name: onos-logs-cfg
+ mountPath: /root/onos/apache-karaf-3.0.8/etc/org.ops4j.pax.logging.cfg
+ subPath: org.ops4j.pax.logging.cfg
- name: node-key
mountPath: /root/vtn
readOnly: true
@@ -73,6 +76,12 @@
secretName: node-key
defaultMode: 256
optional: true
+ - name: onos-logs-cfg
+ configMap:
+ name: onos
+ items:
+ - key: logCfg
+ path: org.ops4j.pax.logging.cfg
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}