diff options
author | krishnaa96 <krishna.moorthy6@wipro.com> | 2020-10-09 12:01:05 +0530 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-10-14 12:27:21 +0000 |
commit | 24a7ef35b6fb3ba85f79e1a6a0bf2fd50e872332 (patch) | |
tree | eaf22b6e4536372c1f66790ef57738b9aef9234f /kubernetes/oof/components/oof-has/components/oof-has-controller/templates | |
parent | c08c8ffa8ec4f063c22e19acdc0a1e23edd4f26f (diff) |
[OOF] Bump versions
- Upgrade OSDF and HAS to new image version
- Intermediate and root ca certs should be added to domain
cert for nginx to serve https requests
- Remove redundant certs and load it as a secret
Issue-ID: OPTFRA-857
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I51d5f9bf53561acbe5e1df6691e02899de41eed0
Diffstat (limited to 'kubernetes/oof/components/oof-has/components/oof-has-controller/templates')
-rwxr-xr-x | kubernetes/oof/components/oof-has/components/oof-has-controller/templates/deployment.yaml | 7 | ||||
-rw-r--r-- | kubernetes/oof/components/oof-has/components/oof-has-controller/templates/secret.yaml | 15 |
2 files changed, 18 insertions, 4 deletions
diff --git a/kubernetes/oof/components/oof-has/components/oof-has-controller/templates/deployment.yaml b/kubernetes/oof/components/oof-has/components/oof-has-controller/templates/deployment.yaml index 506ff939e3..53e053aa42 100755 --- a/kubernetes/oof/components/oof-has/components/oof-has-controller/templates/deployment.yaml +++ b/kubernetes/oof/components/oof-has/components/oof-has-controller/templates/deployment.yaml @@ -127,8 +127,8 @@ spec: name: {{ .Values.global.commonConfigPrefix }}-config subPath: healthy.sh - mountPath: /usr/local/bin/AAF_RootCA.cer - name: {{ .Values.global.commonConfigPrefix }}-config - subPath: AAF_RootCA.cer + name: {{ include "common.fullname" . }}-onap-certs + subPath: aaf_root_ca.cer resources: {{ include "common.resources" . | indent 12 }} {{- if .Values.nodeSelector }} @@ -153,7 +153,6 @@ spec: path: log.conf - key: healthy.sh path: healthy.sh - - key: AAF_RootCA.cer - path: AAF_RootCA.cer +{{ include "oof.certificate.volume" . | indent 8 }} imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" diff --git a/kubernetes/oof/components/oof-has/components/oof-has-controller/templates/secret.yaml b/kubernetes/oof/components/oof-has/components/oof-has-controller/templates/secret.yaml new file mode 100644 index 0000000000..c5fe2be5da --- /dev/null +++ b/kubernetes/oof/components/oof-has/components/oof-has-controller/templates/secret.yaml @@ -0,0 +1,15 @@ +# Copyright (C) 2020 Wipro Limited. +# +# 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. + +{{ include "common.secretFast" . }} |