X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fpolicy%2Ftemplates%2Fpolicy-deployment-secret.yaml;h=59bfa11df22d8166fefa7c483a7674994e8f7aaf;hb=e04b2feb855e5ab20e28c867d2bd7f89f6b8c425;hp=99a807bddfa0e31043e8d44f50ac9f64fd864373;hpb=8de39a774d0e58e70fa5bde7fd1ecc158db1453f;p=oom.git diff --git a/kubernetes/policy/templates/policy-deployment-secret.yaml b/kubernetes/policy/templates/policy-deployment-secret.yaml index 99a807bddf..59bfa11df2 100644 --- a/kubernetes/policy/templates/policy-deployment-secret.yaml +++ b/kubernetes/policy/templates/policy-deployment-secret.yaml @@ -1,10 +1,24 @@ +# Copyright © 2017 Amdocs, Bell Canada +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #{{ if not .Values.disablePolicyDrools }} apiVersion: v1 kind: Secret metadata: name: policy-dep-drools-secret - namespace: {{ .Values.nsPrefix }}-policy + namespace: {{ .Values.nsPrefix }} type: Opaque data: -{{ tpl (.Files.Glob "resources/config/opt/policy/config/drools/*").AsSecrets . | indent 2 }} +{{ (.Files.Glob "resources/config/opt/policy/config/drools/keys/*").AsSecrets | indent 2 }} #{{ end }}