X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=charts%2Ftemplates%2Fdeployment.yaml;h=29e387f07bb232e8327185eb66d52cbf231c7250;hb=refs%2Fchanges%2F20%2F12920%2F3;hp=a5deaf6f4d1101bcce3d2d50994ef078d5f0737d;hpb=390fb9bef1d6850db6d643754375ae8d5f22aaa7;p=pti%2Fo2.git diff --git a/charts/templates/deployment.yaml b/charts/templates/deployment.yaml index a5deaf6..29e387f 100644 --- a/charts/templates/deployment.yaml +++ b/charts/templates/deployment.yaml @@ -1,4 +1,4 @@ -# Copyright (C) 2021 Wind River Systems, Inc. +# Copyright (C) 2021-2023 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -29,6 +29,13 @@ spec: metadata: labels: app: o2api + {{- with .Values.podLabels }} + {{- toYaml . | nindent 8 }} + {{- end }} + annotations: + {{- with .Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: serviceAccountName: {{ .Values.o2ims.serviceaccountname }} {{- if .Values.imagePullSecrets }} @@ -172,6 +179,9 @@ spec: mountPath: /configs/server.key subPath: config.json readOnly: true + - name: smocacrt + mountPath: /configs/smoca.crt + subPath: config.json {{- if .Values.o2dms.helm_cli_enable }} - name: helmcli image: "{{ .Values.o2ims.images.tags.o2service }}"