# Copyright 2020 Huawei Technologies Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # yamllint disable apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert kompose.version: 1.21.0 (992df58d8) creationTimestamp: null labels: io.kompose.service: applcm-broker name: applcm-broker spec: replicas: 1 selector: matchLabels: io.kompose.service: applcm-broker strategy: {} template: metadata: annotations: kompose.cmd: kompose convert kompose.version: 1.21.0 (992df58d8) creationTimestamp: null labels: io.kompose.service: applcm-broker spec: containers: - env: - name: ADDRESS value: 0.0.0.0:8081 - name: HELM_PLUGIN_PORT value: "50051" - name: KUBERNETES_PLUGIN_PORT value: "50052" - name: LOGFILE_PATH value: /go/release/logfile - name: LOGGER_LEVEL value: info - name: POSTGRES_DATABASE value: mecmdb - name: DBHOST value: postgres-db - name: POSTGRES_PASSWORD value: mecm - name: POSTGRES_ROOT_PASSWORD value: mecm - name: POSTGRES_USER value: mecm - name: PACKAGE_ARTIFACT_PATH value: /Artifacts/Deployment/ - name: PACKAGE_PATH value: /go/release/application/packages/ - name: APLCM_SSL_MODE - value: false - name: CERTIFICATE_PATH value: /go/release/certificates/server.cer - name: KEY_PATH value: /go/release/certificates/server_key.pem image: ealtedge/applcm-broker:latest imagePullPolicy: "" name: applcm-broker ports: - containerPort: 8081 resources: {} #volumeMounts: #- mountPath: /go/release/certificates/ # name: server-cert restartPolicy: Always serviceAccountName: "" #volumes: #- name: server-cert #secret: #secretName: applcm-secret status: {} # yamllint enable