review fixes
This commit is contained in:
parent
c1e33ae921
commit
69539807d5
@ -27,7 +27,6 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- --docker-privileged
|
- --docker-privileged
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
|
||||||
io.rancher.container.start_once: 'true'
|
io.rancher.container.start_once: 'true'
|
||||||
|
|
||||||
gitlab-runner:
|
gitlab-runner:
|
||||||
@ -42,5 +41,7 @@ services:
|
|||||||
- run
|
- run
|
||||||
labels:
|
labels:
|
||||||
io.rancher.sidekicks: gitlab-runner-config
|
io.rancher.sidekicks: gitlab-runner-config
|
||||||
io.rancher.container.pull_image: always
|
|
||||||
io.rancher.scheduler.global: 'true'
|
io.rancher.scheduler.global: 'true'
|
||||||
|
{{- if ne .Values.host_label ""}}
|
||||||
|
io.rancher.scheduler.affinity:host_label: ${host_label}
|
||||||
|
{{- end}}
|
@ -29,9 +29,17 @@ catalog:
|
|||||||
default: "dev"
|
default: "dev"
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
- variable: "host_label"
|
||||||
|
label: "Host with Label to deploy gitlab-runner on"
|
||||||
|
description: |
|
||||||
|
Host label to use as gitlab-runner 'value' tag.
|
||||||
|
Example: 'gitlab-runner=true'
|
||||||
|
type: "string"
|
||||||
|
default: ""
|
||||||
|
required: false
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gitlab-runner-config:
|
gitlab-runner-config:
|
||||||
scale: 1
|
|
||||||
start_on_create: true
|
start_on_create: true
|
||||||
gitlab-runner:
|
gitlab-runner:
|
||||||
start_on_create: true
|
start_on_create: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user