mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
38 lines
805 B
YAML
38 lines
805 B
YAML
resources:
|
|
- ../base
|
|
|
|
namespace: coal
|
|
|
|
images:
|
|
- name: redis
|
|
newName: 192.168.0.118/dockerhub/library/redis
|
|
- name: postgres
|
|
newName: 192.168.0.118/dockerhub/library/postgres
|
|
- name: coal
|
|
newName: 192.168.0.118/coal/coal
|
|
newTag: master
|
|
|
|
commonLabels:
|
|
branch: master
|
|
nameSuffix: -master
|
|
|
|
|
|
patchesStrategicMerge:
|
|
- |
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: coal-api
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: coal-api
|
|
env:
|
|
- name: PG_HOST
|
|
value: "pg-master.coal.svc.cluster.local"
|
|
- name: REDIS_HOST
|
|
value: "redis-master.coal.svc.cluster.local"
|
|
- name: SPRING_PROFILES_ACTIVE
|
|
value: "master"
|