Use an s390x default-http-backend
This needs to be refactored to eventually say all non x86 architectures place a -arch() in the image name to support ppc64el, arm, etc. Most all gcr.io/google_containers have -arch() image names.
This commit is contained in:
@@ -605,6 +605,12 @@ def launch_default_ingress_controller():
|
||||
context['arch'] = arch()
|
||||
addon_path = '/root/cdk/addons/{}'
|
||||
|
||||
context['defaultbackend_image'] = \
|
||||
"gcr.io/google_containers/defaultbackend:1.4"
|
||||
if arch() == 's390x':
|
||||
context['defaultbackend_image'] = \
|
||||
"gcr.io/google_containers/defaultbackend-s390x:1.4"
|
||||
|
||||
# Render the default http backend (404) replicationcontroller manifest
|
||||
manifest = addon_path.format('default-http-backend.yaml')
|
||||
render('default-http-backend.yaml', manifest, context)
|
||||
|
Reference in New Issue
Block a user