the-new-hotness: Use hostAliases instead of external service
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
baf7ab6181
commit
8fac2ff4b6
4 changed files with 3 additions and 32 deletions
|
@ -64,18 +64,6 @@
|
||||||
file: deploymentconfig.yml
|
file: deploymentconfig.yml
|
||||||
objectname: 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
|
- role: openshift/rollout
|
||||||
app: the-new-hotness
|
app: the-new-hotness
|
||||||
dcname: the-new-hotness
|
dcname: the-new-hotness
|
|
@ -23,6 +23,9 @@ items:
|
||||||
app: the-new-hotness
|
app: the-new-hotness
|
||||||
deploymentconfig: the-new-hotness
|
deploymentconfig: the-new-hotness
|
||||||
spec:
|
spec:
|
||||||
|
hostAliases:
|
||||||
|
- hostnames: partner-bugzilla.redhat.com
|
||||||
|
ip: 209.132.183.72
|
||||||
containers:
|
containers:
|
||||||
- name: the-new-hotness
|
- name: the-new-hotness
|
||||||
image: the-new-hotness/the-new-hotness:latest
|
image: the-new-hotness/the-new-hotness:latest
|
||||||
|
|
|
@ -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
|
|
|
@ -1,10 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: partner-bugzilla
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: partner-bugzilla
|
|
||||||
port: 443
|
|
||||||
selector:
|
|
||||||
{}
|
|
Loading…
Add table
Add a link
Reference in a new issue