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