mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
38 lines
785 B
YAML
38 lines
785 B
YAML
resources:
|
|
- ../base
|
|
|
|
namespace: coal-test
|
|
|
|
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: test
|
|
|
|
commonLabels:
|
|
branch: test
|
|
|
|
|
|
patchesStrategicMerge:
|
|
|
|
- |
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: coal-api
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: coal-api
|
|
env:
|
|
- name: PG_HOST
|
|
value: "pg.coal-test.svc.cluster.local"
|
|
- name: REDIS_HOST
|
|
value: "redis.coal-test.coal.svc.cluster.local"
|
|
- name: SPRING_PROFILES_ACTIVE
|
|
value: "test"
|