Commit 90c5304c by 李二毛

Merge branch 'development' into 'release/staging'

添加搜索微服务,发布v2版本

See merge request liermao/microservice-autodevopspipelines!113
parents 1276c837 e72429df
Pipeline #4385 passed with stages
in 1 minute 15 seconds
...@@ -264,32 +264,32 @@ spec: ...@@ -264,32 +264,32 @@ spec:
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: seaching-api name: searching-api
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: auto-devops-pipelines app: auto-devops-pipelines
component: seaching component: searching
type: webapi type: webapi
replicas: {{ .Values.replicas }} replicas: {{ .Values.replicas }}
template: template:
metadata: metadata:
labels: labels:
app: auto-devops-pipelines app: auto-devops-pipelines
component: seaching component: searching
type: webapi type: webapi
spec: spec:
volumes: volumes:
- name: appsetting - name: appsetting
configMap: configMap:
name: seaching.appsettings.json name: searching.appsettings.json
- name: appsetting-{{ .Values.environment.lower }} - name: appsetting-{{ .Values.environment.lower }}
configMap: configMap:
name: seaching.appsettings.{{ .Values.environment.lower }}.json name: searching.appsettings.{{ .Values.environment.lower }}.json
containers: containers:
- name: seaching-api - name: searching-api
image: {{ .Values.image.registryhost }}/{{ .Values.image.username }}/seaching.api:{{ .Values.image.version }} image: {{ .Values.image.registryhost }}/{{ .Values.image.username }}/searching.api:{{ .Values.image.version }}
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 80 - containerPort: 80
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment