Michael Arrastia | 6c3ba49 | 2018-03-29 14:53:40 +0100 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, AT&T |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 Bell Canada |
Michael Arrastia | 6c3ba49 | 2018-03-29 14:53:40 +0100 | [diff] [blame] | 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 implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | apiVersion: v1 |
| 17 | kind: Secret |
| 18 | metadata: |
| 19 | name: {{ include "common.fullname" . }}-babel-secrets |
| 20 | namespace: {{ include "common.namespace" . }} |
sushil masal | 08ef709 | 2019-02-21 16:21:51 +0530 | [diff] [blame] | 21 | labels: |
| 22 | app: {{ include "common.name" . }} |
| 23 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 24 | release: {{ .Release.Name }} |
| 25 | heritage: {{ .Release.Service }} |
Michael Arrastia | 6c3ba49 | 2018-03-29 14:53:40 +0100 | [diff] [blame] | 26 | type: Opaque |
| 27 | data: |
| 28 | {{ tpl (.Files.Glob "resources/config/auth/*").AsSecrets . | indent 2 }} |
| 29 | --- |
| 30 | apiVersion: v1 |
| 31 | kind: Secret |
| 32 | metadata: |
| 33 | name: {{ include "common.fullname" . }}-pass |
| 34 | namespace: {{ include "common.namespace" . }} |
| 35 | labels: |
| 36 | app: {{ include "common.name" . }} |
| 37 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 38 | release: {{ .Release.Name }} |
| 39 | heritage: {{ .Release.Service }} |
| 40 | type: Opaque |
| 41 | data: |
| 42 | KEY_STORE_PASSWORD: {{ .Values.config.keyStorePassword | b64enc | quote }} |
| 43 | KEY_MANAGER_PASSWORD: {{ .Values.config.keyManagerPassword | b64enc | quote }} |
Edwin Lawrance | 0a444a8 | 2018-10-24 14:47:01 +0100 | [diff] [blame] | 44 | |
| 45 | {{ if .Values.global.installSidecarSecurity }} |
| 46 | --- |
| 47 | apiVersion: v1 |
| 48 | kind: Secret |
| 49 | metadata: |
| 50 | name: {{ include "common.fullname" . }}-fproxy-auth-config |
| 51 | namespace: {{ include "common.namespace" . }} |
sushil masal | 08ef709 | 2019-02-21 16:21:51 +0530 | [diff] [blame] | 52 | labels: |
| 53 | app: {{ include "common.name" . }} |
| 54 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 55 | release: {{ .Release.Name }} |
| 56 | heritage: {{ .Release.Service }} |
Edwin Lawrance | 0a444a8 | 2018-10-24 14:47:01 +0100 | [diff] [blame] | 57 | type: Opaque |
| 58 | data: |
| 59 | {{ tpl (.Files.Glob "resources/fproxy/config/auth/*").AsSecrets . | indent 2 }} |
| 60 | --- |
| 61 | apiVersion: v1 |
| 62 | kind: Secret |
| 63 | metadata: |
| 64 | name: {{ include "common.fullname" . }}-rproxy-auth-config |
| 65 | namespace: {{ include "common.namespace" . }} |
sushil masal | 08ef709 | 2019-02-21 16:21:51 +0530 | [diff] [blame] | 66 | labels: |
| 67 | app: {{ include "common.name" . }} |
| 68 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 69 | release: {{ .Release.Name }} |
| 70 | heritage: {{ .Release.Service }} |
Edwin Lawrance | 0a444a8 | 2018-10-24 14:47:01 +0100 | [diff] [blame] | 71 | type: Opaque |
| 72 | data: |
| 73 | {{ tpl (.Files.Glob "resources/rproxy/config/auth/*").AsSecrets . | indent 2 }} |
| 74 | --- |
| 75 | apiVersion: v1 |
| 76 | kind: Secret |
| 77 | metadata: |
| 78 | name: {{ include "common.fullname" . }}-rproxy-security-config |
| 79 | namespace: {{ include "common.namespace" . }} |
sushil masal | 08ef709 | 2019-02-21 16:21:51 +0530 | [diff] [blame] | 80 | labels: |
| 81 | app: {{ include "common.name" . }} |
| 82 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 83 | release: {{ .Release.Name }} |
| 84 | heritage: {{ .Release.Service }} |
Edwin Lawrance | 0a444a8 | 2018-10-24 14:47:01 +0100 | [diff] [blame] | 85 | type: Opaque |
| 86 | data: |
| 87 | {{ tpl (.Files.Glob "resources/rproxy/config/security/*").AsSecrets . | indent 2 }} |
| 88 | {{ end }} |