Fix deployment with 3.9 demo cluster

lookupPolicy appears to be broken in the OpenShift demo (it works fine
with a full OpenShift install) since the lookup policy admission controller
is missing from the config.

Since we know both the registry service IP and the namespace, we can just
specify the full path.
This commit is contained in:
Leo 2018-09-28 21:18:56 +02:00
parent a043bfd04e
commit 58873a3c46
2 changed files with 3 additions and 5 deletions

View File

@ -119,7 +119,7 @@
claimName: gaia-ansible-state
containers:
- name: gaia-node{{ item }}
image: gaiad:latest
image: 172.30.1.1:5000/gaia-testnet/gaiad:latest
volumeMounts:
- mountPath: /opt/app-root/state
name: state
@ -128,4 +128,4 @@
- start
- --home
- /opt/app-root/state/testnet/node{{ item }}/gaiad
with_sequence: start=0 count={{ gaia_num_nodes}}
with_sequence: start=0 count={{ gaia_num_nodes}}

View File

@ -10,8 +10,6 @@ spec:
template:
metadata:
name: gaia-deploy
annotations:
alpha.image.policy.openshift.io/resolve-names: '*'
spec:
volumes:
- name: state
@ -19,7 +17,7 @@ spec:
claimName: gaia-ansible-state
containers:
- name: gaia-deploy
image: gaia-ansible:latest
image: 172.30.1.1:5000/gaia-testnet/gaia-ansible:latest
env:
- name: ANSIBLE_FORCE_COLOR
value: 'true'