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=================================================
22 name: pm-producer-json2kafka
25 app: pm-producer-json2kafka
28 serviceName: pm-producer-json2kafka
31 app: pm-producer-json2kafka
35 app: pm-producer-json2kafka
38 - name: pm-producer-json2kafka
39 # image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-plt-pmproducer:1.0.0
40 image: nexus3.o-ran-sc.org:10003/o-ran-sc/nonrtric-plt-pmproducer:1.0.0-SNAPSHOT
41 imagePullPolicy: Always
49 fieldPath: metadata.name
53 fieldPath: metadata.namespace
54 # Overriding value in application.yaml
55 - name: APP_PM-PRODUCER-BASE-URL
56 value: "http://$(APPID).pm-producer-json2kafka.$(APPNS):8084"
58 - mountPath: /opt/app/pm-producer-service/data/application_configuration.json
59 subPath: application_configuration.json
60 name: pm-producer-json2kafka-cm-data
61 - mountPath: /opt/app/pm-producer-service/config/application.yaml
62 subPath: application.yaml
63 name: pm-producer-json2kafka-cm-config
64 - mountPath: /token-cache
65 name: token-cache-volume
67 image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-plt-auth-token-fetch:1.1.1
68 imagePullPolicy: Always
70 - name: CREDS_GRANT_TYPE
71 value: client_credentials
72 - name: CREDS_CLIENT_SECRET
73 value: {{ .Values.pmproducerjson2kafka.clientsecret }}
74 - name: CREDS_CLIENT_ID
75 value: pm-producer-json2kafka
76 - name: AUTH_SERVICE_URL
77 value: http://keycloak.nonrtric:8080/realms/nonrtric-realm/protocol/openid-connect/token
79 value: /token-cache/jwt.txt
82 - mountPath: /token-cache
83 name: token-cache-volume
85 - name: pm-producer-json2kafka-cm-data
87 name: pm-producer-json2kafka-cm-data
88 - name: pm-producer-json2kafka-cm-config
90 name: pm-producer-json2kafka-cm-config
91 - name: token-cache-volume