summaryrefslogtreecommitdiffstats
path: root/kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-09-17 20:58:19 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-17 20:58:19 +0000
commit38b3af01f8731fa2801ee920baadd900b490af83 (patch)
tree3cc25a375ffd9861cf346ad8bccb321f452e10f2 /kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml
parente2e5f64df47fd56ce27a30fe63de1fcbce2d7641 (diff)
parent303680b7eefa63fbd04f5cf7f2f4bfb33107cdf6 (diff)
Merge "adding POMBA rules"
Diffstat (limited to 'kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml')
-rw-r--r--kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml
index 550223b4e9..5faa45357c 100644
--- a/kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml
+++ b/kubernetes/pomba/charts/pomba-validation-service/templates/deployment.yaml
@@ -72,6 +72,8 @@ spec:
name: config-auth
- mountPath: {{ .Values.config.configTopicsDir }}/
name: config-topics
+ - mountPath: {{ .Values.config.rulesDir }}/
+ name: rules
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.nodeSelector }}
@@ -125,5 +127,12 @@ spec:
path: topic-poa-audit-result.properties
- key: topic-poa-rule-validation.properties
path: topic-poa-rule-validation.properties
+ - name: rules
+ configMap:
+ name: {{ include "common.fullname" . }}-rules
+ defaultMode: 0644
+ items:
+ - key: default-rules.groovy
+ path: default-rules.groovy
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"