1 # ============LICENSE_START===============================================
2 # Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
3 # Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
4 # ========================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=================================================
38 - name: config-truststore
40 name: dfc-cm-truststore
44 - name: token-cache-volume
49 runAsUser: 0 # Need to run as root - needed when writing to hostpath
50 image: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-plt-ranpm-datafilecollector:1.1.0
51 imagePullPolicy: Always
56 - name: config-truststore
57 mountPath: /opt/app/datafile/config/truststore.jks
58 subPath: truststore.jks
60 mountPath: /opt/app/datafile/config/application.yaml
61 subPath: application.yaml
62 - mountPath: /token-cache
63 name: token-cache-volume
68 fieldPath: metadata.name
72 fieldPath: metadata.namespace
73 - name: APP_KAFKA_CLIENT-ID
74 value: "datafile-collector.$(APPNS).$(APPID)"
76 image: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-plt-auth-token-fetch:1.1.1
77 imagePullPolicy: Always
79 - name: CREDS_GRANT_TYPE
80 value: client_credentials
81 - name: CREDS_CLIENT_SECRET
82 value: {{ .Values.dfc.clientsecret }}
83 - name: CREDS_CLIENT_ID
85 - name: AUTH_SERVICE_URL
86 value: http://keycloak.nonrtric:8080/realms/nonrtric-realm/protocol/openid-connect/token
88 value: /token-cache/jwt.txt
91 - mountPath: /token-cache
92 name: token-cache-volume