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=================================================
26 replicas: 1 # Max 10 = number of generated certs unique ...
27 serviceName: pm-https-server
39 name: pm-https-server-cm
45 - name: template-files-vol
51 imagePullPolicy: IfNotPresent
53 args: ["cp /tmp/certs/copy-certs.sh /tmp && cd /tmp && chmod u+x copy-certs.sh && ./copy-certs.sh"]
62 - name: pm-https-server
63 image: pm-https-server:latest
64 imagePullPolicy: Never
71 # If env is specified, the given file is returned for any call to the "/files/<filename>"" url
72 # If env is missing, the file in the call to "/files/<filename> url must exist in the server
74 value: /ne-files/pm.xml.gz
75 # Env must be specified if genetated files use. The value shall spefify the first timestamp of a series of pm files
76 # If a file with a timestamp less than the below will return 404
77 # Timestamp shall be gvien with date.time where minutes has values 00,15,45 and the given timezone
78 # Example: 20230220.1300 - denotes a first file name of 20230220.1300+0100-1315+0100_<node-name>.xml.gz
79 - name: GENERATED_FILE_START_TIME
80 value: "20230220.1300"
81 # Timezone to use for generated files. If not given, timezone 0000 will be used
82 # Shall include +/- sign for the timezone value
83 - name: GENERATED_FILE_TIMEZONE
92 - name: template-files-vol
93 mountPath: /template-files