summaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/templates
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2021-07-28 17:12:14 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-10-15 12:49:30 +0000
commitd7417724979fc166180a7879f36524adee3103de (patch)
tree0cf6ef8d8d8faa92ad8f351cd9720b6a2b2fd119 /kubernetes/oof/templates
parent3291609df9abe49dc393fbdfff3a17c3f31a139a (diff)
[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
Diffstat (limited to 'kubernetes/oof/templates')
-rw-r--r--kubernetes/oof/templates/deployment.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/oof/templates/deployment.yaml b/kubernetes/oof/templates/deployment.yaml
index 0b19678e1f..6f1022ba63 100644
--- a/kubernetes/oof/templates/deployment.yaml
+++ b/kubernetes/oof/templates/deployment.yaml
@@ -120,6 +120,9 @@ spec:
- 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 @@ spec:
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"