Feature 11008: Update of OSM Helm installer to latest versions
[osm/devops.git] / installers / helm / osm / templates / osm-secret.yaml
1 #######################################################################################
2 # Copyright ETSI Contributors and Others.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #    http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 # implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #######################################################################################
17 apiVersion: v1
18 kind: Secret
19 type: Opaque
20 metadata:
21   name: {{ include "osm.fullname" . }}-secret
22   labels:
23     {{- include "osm.labels" . | nindent 4 }}
24 data:
25   OSM_DATABASE_COMMONKEY: {{ randAlphaNum 32 | b64enc | quote }}
26   OSM_MYSQL_ROOT_PASSWORD: {{ randAlphaNum 32 | b64enc | quote }}
27   OSM_KEYSTONE_DB_PASSWORD: {{ randAlphaNum 32 | b64enc | quote }}
28   OSM_SERVICE_PASSWORD: {{ randAlphaNum 32 | b64enc | quote }}