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:10004/o-ran-sc/nonrtric-plt-ranpm-datafilecollector:1.0.0
50 image: nexus3.o-ran-sc.org:10003/o-ran-sc/nonrtric-plt-ranpm-datafilecollector:1.0.0-SNAPSHOT
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:10004/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