s390x ingress controller support

This commit is contained in:
Rye Terrell
2017-09-18 11:57:29 -05:00
parent cd343fd806
commit ab9f95aa8e
2 changed files with 5 additions and 2 deletions

View File

@@ -566,6 +566,9 @@ def launch_default_ingress_controller():
return
# Render the ingress replication controller manifest
context['ingress_image'] = "gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.13"
if arch() == 's390x':
context['ingress_image'] = "docker.io/cdkbot/nginx-ingress-controller-s390x:0.9.0-beta.13"
manifest = addon_path.format('ingress-replication-controller.yaml')
render('ingress-replication-controller.yaml', manifest, context)
hookenv.log('Creating the ingress replication controller.')