review fixes
This commit is contained in:
parent
c1e33ae921
commit
69539807d5
@ -27,7 +27,6 @@ services:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- --docker-privileged
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.container.start_once: 'true'
|
||||
|
||||
gitlab-runner:
|
||||
@ -42,5 +41,7 @@ services:
|
||||
- run
|
||||
labels:
|
||||
io.rancher.sidekicks: gitlab-runner-config
|
||||
io.rancher.container.pull_image: always
|
||||
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"
|
||||
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:
|
||||
gitlab-runner-config:
|
||||
scale: 1
|
||||
start_on_create: true
|
||||
gitlab-runner:
|
||||
start_on_create: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user