Minor fixes

This commit is contained in:
WilliamMiceli
2018-07-08 19:35:26 -04:00
parent 5bd8a3ab90
commit 31ea50a383

View File

@@ -20,7 +20,7 @@ services:
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
{{- end}}
labels:
{{- if (.Values.LABEL_KEY_VALUE)}}
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
io.rancher.sidekicks: cron, web
@@ -60,7 +60,7 @@ services:
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
{{- end}}
labels:
{{- if (.Values.LABEL_KEY_VALUE)}}
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
links:
@@ -76,7 +76,7 @@ services:
MYSQL_USER: ninja
MYSQL_PASSWORD: ${DB_USER_PASS}
labels:
{{- if (.Values.LABEL_KEY_VALUE)}}
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
restart: on-failure
@@ -85,7 +85,7 @@ services:
web:
image: nginx
labels:
{{- if (.Values.LABEL_KEY_VALUE)}}
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
links: