summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-resources/templates/secret.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-02-11 21:26:19 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-11 21:26:19 +0000
commit7854b43bb9def8683bb0f20810a2c8cb0dca8306 (patch)
treeff0d5e07a9e37b570cec98c00628800e27028105 /kubernetes/aai/components/aai-resources/templates/secret.yaml
parent5041b168ab3326aa829dbd5dd950dbde5e002acf (diff)
parent6212bb27ae5202b9071b8a8493afcaecaa1b9249 (diff)
Merge "[AAI] Remove unused AAF proxies"
Diffstat (limited to 'kubernetes/aai/components/aai-resources/templates/secret.yaml')
-rw-r--r--kubernetes/aai/components/aai-resources/templates/secret.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-resources/templates/secret.yaml b/kubernetes/aai/components/aai-resources/templates/secret.yaml
new file mode 100644
index 0000000000..d24149086e
--- /dev/null
+++ b/kubernetes/aai/components/aai-resources/templates/secret.yaml
@@ -0,0 +1,31 @@
+{{/*
+# Copyright © 2021 Orange
+#
+# 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.
+*/}}
+
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}-aaf-keys
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ include "common.release" . }}
+ heritage: {{ .Release.Service }}
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.keyfile").AsSecrets . | indent 2 }}
+{{ tpl (.Files.Glob "resources/config/aaf/org.onap.aai.p12").AsSecrets . | indent 2 }}
+{{ tpl (.Files.Glob "resources/config/aaf/bath_config.csv").AsSecrets . | indent 2 }} \ No newline at end of file