1 # ============LICENSE_START===============================================
2 # Copyright (C) 2023 Nordix Foundation. All rights reserved.
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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 # ============LICENSE_END=================================================
37 - name: config-truststore
39 name: dfc-cm-truststore
43 - name: token-cache-volume
48 runAsUser: 0 # Need to run as root - needed when writing to hostpath
49 image: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-plt-ranpm-datafilecollector:1.0.0
50 imagePullPolicy: Always
55 - name: config-truststore
56 mountPath: /opt/app/datafile/config/truststore.jks
57 subPath: truststore.jks
59 mountPath: /opt/app/datafile/config/application.yaml
60 subPath: application.yaml
61 - mountPath: /token-cache
62 name: token-cache-volume
67 fieldPath: metadata.name
71 fieldPath: metadata.namespace
72 - name: APP_KAFKA_CLIENT-ID
73 value: "datafile-collector.$(APPNS).$(APPID)"
75 image: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-plt-auth-token-fetch:1.1.1
76 imagePullPolicy: Always
78 - name: CREDS_GRANT_TYPE
79 value: client_credentials
80 - name: CREDS_CLIENT_SECRET
81 value: {{ .Values.dfc.clientsecret }}
82 - name: CREDS_CLIENT_ID
84 - name: AUTH_SERVICE_URL
85 value: http://keycloak.nonrtric:8080/realms/nonrtric-realm/protocol/openid-connect/token
87 value: /token-cache/jwt.txt
90 - mountPath: /token-cache
91 name: token-cache-volume