diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-03-01 16:34:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 16:34:48 -0500 |
commit | ef3aa534d7b54c92c076f89c91f514972ba64612 (patch) | |
tree | 6031a633254d5e0a6803186a88e4ff0bb14599b3 /roles/lib_openshift/src/class/oc_route.py | |
parent | 0a782a06d49942dadb2b8d51509e94f656570ec4 (diff) | |
parent | e62a4bf341637bc26503a9ba5246afb9b016ea36 (diff) | |
download | openshift-ef3aa534d7b54c92c076f89c91f514972ba64612.tar.gz openshift-ef3aa534d7b54c92c076f89c91f514972ba64612.tar.bz2 openshift-ef3aa534d7b54c92c076f89c91f514972ba64612.tar.xz openshift-ef3aa534d7b54c92c076f89c91f514972ba64612.zip |
Merge pull request #3493 from kwoodson/registry_reencyrpt_route
Adding support for a route with reencrypt and certificates.
Diffstat (limited to 'roles/lib_openshift/src/class/oc_route.py')
-rw-r--r-- | roles/lib_openshift/src/class/oc_route.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/lib_openshift/src/class/oc_route.py b/roles/lib_openshift/src/class/oc_route.py index 448457292..3935525f1 100644 --- a/roles/lib_openshift/src/class/oc_route.py +++ b/roles/lib_openshift/src/class/oc_route.py @@ -55,8 +55,10 @@ class OCRoute(OpenShiftCLI): def update(self): '''update the object''' - # need to update the tls information and the service name - return self._replace_content(self.kind, self.config.name, self.config.data) + return self._replace_content(self.kind, + self.config.name, + self.config.data, + force=(self.config.host != self.route.get_host())) def needs_update(self): ''' verify an update is needed ''' |