diff options
author | ChrisC <christophe.closset@intl.att.com> | 2020-04-03 13:58:44 +0200 |
---|---|---|
committer | ChrisC <christophe.closset@intl.att.com> | 2020-04-07 09:45:52 +0200 |
commit | 019b59c486b07007875976862807a6acaa92be82 (patch) | |
tree | 59afb9384a66196af4e523a12f3f4fa9fc511269 /kubernetes/portal/charts/portal-app/templates/secret.yaml | |
parent | 7896cf270efe0dbbf0aff8ced88aaffa7a5ebf15 (diff) |
Portal-app auto cert gen
Migrate to auto cert gen using latest templates
Minor updates to align portal-sdk to latest templates
Issue-ID: PORTAL-847
Depends-On: Ie3f5ae5c2a37d816afc42d2c67ebe8e40e749c79
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: Ib457b0940d549168ebc173d9b1f953bb933088a1
Diffstat (limited to 'kubernetes/portal/charts/portal-app/templates/secret.yaml')
-rw-r--r-- | kubernetes/portal/charts/portal-app/templates/secret.yaml | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/kubernetes/portal/charts/portal-app/templates/secret.yaml b/kubernetes/portal/charts/portal-app/templates/secret.yaml index 85b0f40567..a4019efa2b 100644 --- a/kubernetes/portal/charts/portal-app/templates/secret.yaml +++ b/kubernetes/portal/charts/portal-app/templates/secret.yaml @@ -1,4 +1,5 @@ # Copyright © 2018 Amdocs, Bell Canada, AT&T +# Modifications Copyright © 2020 AT&T # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -12,16 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: v1 -kind: Secret -metadata: - name: {{ include "common.fullname" . }}-authz-onapportal - 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/certs/*").AsSecrets . | indent 2 }} +{{ include "common.secretFast" . }} |