You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.
Currently the deckhand_load_yaml.sh script does not check that the ingress_controller_ip returned a non-null value, which may result in invalid entries written to /etc/hosts.
Also, the subsequent DNS entries written to /etc/hosts are not idempotent, so script re-runs (e.g., after discovering and resolving YAML validation errors) will result in duplicate (and possibly disagreeing) DNS entries written to /etc/hosts.
The text was updated successfully, but these errors were encountered:
The --replace flag should also be used in the "shipyard create configdocs" command, to allow for iterative YAML corrections and re-execution of this script to get past validation errors.
This Patch Set is meant to address Shipyard issue #18 [0]
Issues Identified:
1) The deckhand_load_yaml.sh script does not check if the
ingress_controller_ip returned a null value. This may
result in invalid entries written to /etc/hosts.
2) The subsequent DNS entries written to /etc/hosts are not
idempotent, so script re-runs (e.g., after discovering and
resolving YAML validation errors) will result in duplicate
(and possibly disagreeing) DNS entries written to /etc/hosts.
3) The '--replace' flag should also be used in the "shipyard create configdocs"
command, to allow for iterative YAML corrections and re-execution
of this script to get past validation errors.
[0] #18
Change-Id: I33531d07a5d6c425071af99c8824c12d3e177e69
Currently the deckhand_load_yaml.sh script does not check that the
ingress_controller_ip
returned a non-null value, which may result in invalid entries written to /etc/hosts.Also, the subsequent DNS entries written to /etc/hosts are not idempotent, so script re-runs (e.g., after discovering and resolving YAML validation errors) will result in duplicate (and possibly disagreeing) DNS entries written to /etc/hosts.
The text was updated successfully, but these errors were encountered: