kind: Deployment apiVersion: apps/v1 metadata: name: cmii-uav-platform-lite namespace: sc-my-uav-260202 labels: app.kubernetes.io/app-version: 6.2.0 cmii.app: cmii-uav-platform-lite cmii.type: frontend octopus.lite: frontend-app-wdd annotations: deployment.kubernetes.io/revision: '8' spec: replicas: 1 selector: matchLabels: cmii.app: cmii-uav-platform-lite cmii.type: frontend template: metadata: creationTimestamp: null labels: cmii.app: cmii-uav-platform-lite cmii.type: frontend spec: volumes: - name: nginx-conf configMap: name: nginx-cm items: - key: nginx.conf path: nginx.conf defaultMode: 420 - name: tenant-prefix configMap: name: tenant-prefix-lite items: - key: ingress-config.js path: ingress-config.js defaultMode: 420 containers: - name: cmii-uav-platform-lite image: 192.168.1.4:8033/cmii/cmii-uav-platform-lite:2.0.0-2026012703-noicp ports: - name: platform-9528 containerPort: 9528 protocol: TCP env: - name: K8S_NAMESPACE value: ahydapp - name: APPLICATION_NAME value: cmii-uav-platform-lite resources: limits: cpu: '1' memory: 1Gi requests: cpu: 50m memory: 50Mi volumeMounts: - name: nginx-conf mountPath: /etc/nginx/conf.d/nginx.conf subPath: nginx.conf - name: tenant-prefix mountPath: /home/cmii-platform/dist/ingress-config.js subPath: ingress-config.js terminationMessagePath: /dev/termination-log terminationMessagePolicy: File imagePullPolicy: Always restartPolicy: Always terminationGracePeriodSeconds: 30 dnsPolicy: ClusterFirst securityContext: {} imagePullSecrets: - name: harborsecret schedulerName: default-scheduler strategy: type: RollingUpdate rollingUpdate: maxUnavailable: 1 maxSurge: 25% revisionHistoryLimit: 10 progressDeadlineSeconds: 600 --- kind: Service apiVersion: v1 metadata: name: cmii-uav-platform-lite namespace: sc-my-uav-260202 labels: app.kubernetes.io/version: 6.2.0 cmii.app: cmii-uav-platform-lite cmii.type: frontend octopus.control: frontend-app-wdd spec: ports: - name: web-svc-port protocol: TCP port: 9528 targetPort: 9528 selector: cmii.app: cmii-uav-platform-lite cmii.type: frontend type: ClusterIP sessionAffinity: None status: loadBalancer: {} --- kind: ConfigMap apiVersion: v1 metadata: name: tenant-prefix-lite namespace: sc-my-uav-260202 data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "", CloudHOST: "36.133.66.183:8088", ApplicationShortName: "lite", AppClientId: "", Headers: { ORG_ID: 'pago', PROJECT_ID: 'prgn' }, TdtToken: "XXXX" } --- kind: ConfigMap apiVersion: v1 metadata: name: nginx-cm namespace: sc-my-uav-260202 labels: cmii.type: frontend data: nginx.conf: | server { listen 9528; server_name localhost; gzip on; location / { root /home/cmii-platform/dist; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } }