kind: Deployment apiVersion: apps/v1 metadata: name: cmii-uav-platform-lite-oms namespace: xayd labels: app.kubernetes.io/app-version: 6.2.0 cmii.app: cmii-uav-platform-lite-oms cmii.type: frontend octopus.lite: frontend-app-wdd spec: replicas: 1 selector: matchLabels: cmii.app: cmii-uav-platform-lite-oms cmii.type: frontend template: metadata: labels: cmii.app: cmii-uav-platform-lite-oms 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-oms items: - key: ingress-config.js path: ingress-config.js defaultMode: 420 - name: tenant-prefix-c configMap: name: tenant-prefix-lite items: - key: system-config-noicp.js path: system-config-noicp.js defaultMode: 420 containers: - name: cmii-uav-platform-lite-oms image: 10.22.48.3:8033/cmii/cmii-uav-platform-lite-oms:2.1.0-2026040203-noicp ports: - name: platform-9528 containerPort: 9528 protocol: TCP env: - name: K8S_NAMESPACE value: xayd - name: APPLICATION_NAME value: cmii-uav-platform-lite-oms 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-oms namespace: xayd labels: app.kubernetes.io/version: 6.2.0 cmii.app: cmii-uav-platform-lite-oms 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-oms cmii.type: frontend type: ClusterIP --- kind: ConfigMap apiVersion: v1 metadata: name: tenant-prefix-lite-oms namespace: xayd data: ingress-config.js: |- var __GlobalIngressConfig = { TenantEnvironment: "", CloudHOST: "uav.xadcity.com", ApplicationShortName: "ms", AppClientId: "", Headers: { ORG_ID: 'pago', PROJECT_ID: 'prgn' }, TdtToken: "XXXX" } var __GlobalSystemConfig = { ShowICP: false, ShowAgreement: true, systemName: '雄安新区低空应用公共服务平台', platformName: '', version: '(v2.1.0)' };