[OOF] Slicing_config exposed in the OOM config
Slicing_config exposed in the OOM config. This
should let to modify the configuration without
the need to restart container or to build new
image.
Issue-ID: OPTFRA-986
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I5f629e53f912b36ab94877cd8e03861f47965eea
diff --git a/kubernetes/oof/templates/deployment.yaml b/kubernetes/oof/templates/deployment.yaml
index 0b19678..6f1022b 100644
--- a/kubernetes/oof/templates/deployment.yaml
+++ b/kubernetes/oof/templates/deployment.yaml
@@ -120,6 +120,9 @@
- mountPath: /opt/osdf/config/log.yml
name: {{ include "common.fullname" . }}-config
subPath: log.yml
+ - mountPath: /opt/osdf/config/slicing_config.yaml
+ name: {{ include "common.fullname" . }}-config
+ subPath: slicing_config.yaml
resources:
{{ include "common.resources" . | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -146,6 +149,8 @@
path: common_config.yaml
- key: log.yml
path: log.yml
+ - key: slicing_config.yaml
+ path: slicing_config.yaml
{{ include "oof.certificate.volume" . | indent 8 }}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"