Compare commits
3 commits
7077a12868
...
58962ae5f9
Author | SHA1 | Date | |
---|---|---|---|
58962ae5f9 | |||
83cd96ffa0 | |||
867899db7e |
3 changed files with 13 additions and 1 deletions
|
@ -22,7 +22,7 @@ steps:
|
||||||
image: aaronriedel/kustomize-ci
|
image: aaronriedel/kustomize-ci
|
||||||
commands:
|
commands:
|
||||||
- cd /deployment-repo
|
- cd /deployment-repo
|
||||||
- git clone https://git.ar21.de/yolokube/core-deployments.git .
|
- git clone -b $DRONE_BRANCH https://git.ar21.de/yolokube/core-deployments.git .
|
||||||
- cd /deployment-repo/dashboard/overlays/staging
|
- cd /deployment-repo/dashboard/overlays/staging
|
||||||
- kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml
|
- kustomize build -o /deployment-repo/dashboard/staging/dashboard.yaml
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -26,6 +26,12 @@ spec:
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 3
|
||||||
|
periodSeconds: 3
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
|
@ -36,6 +36,12 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- image: git.ar21.de/yolokube/dashboard:staging-777
|
- image: git.ar21.de/yolokube/dashboard:staging-777
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 3
|
||||||
|
periodSeconds: 3
|
||||||
name: dashboard
|
name: dashboard
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|
Loading…
Add table
Reference in a new issue