1234567891011121314151617181920212223242526 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: swagger-ui
- namespace: cicd
- labels:
- app.kubernetes.io/name: swagger-ui
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: swagger-ui
- replicas: 1
- template:
- metadata:
- labels:
- app.kubernetes.io/name: swagger-ui
- spec:
- shareProcessNamespace: true
- containers:
- - name: ob-core
- image: swaggerapi/swagger-ui
- imagePullPolicy: Always
- env:
- - name: URLS
- value: '[{url:"http://git.cestong.com.cn/cecf/ob-core/raw/master/api/biz/v1/openapi.yaml", name:"业务接口"},{url:"http://git.cestong.com.cn/cecf/ob-core/raw/master/api/infra/v1/openapi.yaml", name:"基础设施接口"}, {url:"http://git.cestong.com.cn/cecf/ob-core/raw/master/api/svc/v1/openapi.yaml", name:"服务相关接口"}]'
- # value: '[{url:"http://git.cestong.com.cn/cecf/ob-core/raw/master/openapi.yaml", name:"ob-core"}]'
|