diff --git a/playbooks/openshift-apps/the-new-hotness.yml b/playbooks/openshift-apps/the-new-hotness.yml index 362a7ce3d4..c06f63415d 100644 --- a/playbooks/openshift-apps/the-new-hotness.yml +++ b/playbooks/openshift-apps/the-new-hotness.yml @@ -64,18 +64,6 @@ file: deploymentconfig.yml objectname: deploymentconfig.yml - - role: openshift/object - app: the-new-hotness - file: service.yml - objectname: service.yml - when: env == "staging" - - - role: openshift/object - app: the-new-hotness - file: endpoints.yml - objectname: endpoints.yml - when: env == "staging" - - role: openshift/rollout app: the-new-hotness dcname: the-new-hotness \ No newline at end of file diff --git a/roles/openshift-apps/the-new-hotness/files/deploymentconfig.yml b/roles/openshift-apps/the-new-hotness/files/deploymentconfig.yml index 27b17b2fff..48ee8d27c8 100644 --- a/roles/openshift-apps/the-new-hotness/files/deploymentconfig.yml +++ b/roles/openshift-apps/the-new-hotness/files/deploymentconfig.yml @@ -23,6 +23,9 @@ items: app: the-new-hotness deploymentconfig: the-new-hotness spec: + hostAliases: + - hostnames: partner-bugzilla.redhat.com + ip: 209.132.183.72 containers: - name: the-new-hotness image: the-new-hotness/the-new-hotness:latest diff --git a/roles/openshift-apps/the-new-hotness/files/endpoints.yml b/roles/openshift-apps/the-new-hotness/files/endpoints.yml deleted file mode 100644 index a388961d85..0000000000 --- a/roles/openshift-apps/the-new-hotness/files/endpoints.yml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Endpoints -metadata: - name: partner-bugzilla -subsets: - - addresses: - - ip: 209.132.183.72 - ports: - - port: 443 - name: partner-bugzilla diff --git a/roles/openshift-apps/the-new-hotness/files/service.yml b/roles/openshift-apps/the-new-hotness/files/service.yml deleted file mode 100644 index df3ca7f333..0000000000 --- a/roles/openshift-apps/the-new-hotness/files/service.yml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: partner-bugzilla -spec: - ports: - - name: partner-bugzilla - port: 443 - selector: - {}