Skip to content

Commit d944099

Browse files
authored
Fix local kind deployments (#227)
1 parent 7376cb9 commit d944099

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

config/vagrant/Vagrantfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ Vagrant.configure('2') do |config|
3535

3636
# Build the KIND cluster and install the resources
3737
k8shost.vm.provision 'shell',
38-
inline: 'cd partner; make rebuild-cluster'
39-
k8shost.vm.provision 'shell',
40-
inline: 'cd partner; make install'
38+
inline: 'cd partner; make rebuild-cluster; make install',
39+
privileged: false
4140
end
4241
end

scripts/deploy-community-operator.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ oc patch installplan \
8181
grep "$COMMUNITY_OPERATOR_NAME" |
8282
cut -f 1 -d \ \
8383
)" || { printf >&2 'Unable to approve the installation plan.\n'; exit 1;}
84-
sleep 10
84+
sleep 30
8585
oc wait \
8686
--for=jsonpath=\{.status.phase\}=Succeeded \
8787
csv \
@@ -92,8 +92,8 @@ oc wait \
9292
oc get csv --namespace "$TNF_EXAMPLE_CNF_NAMESPACE"
9393
exit 1
9494
}
95+
sleep 30
9596
oc get csv --namespace "$TNF_EXAMPLE_CNF_NAMESPACE"
9697

9798
# Label the community operator
9899
oc label clusterserviceversions.operators.coreos.com "$COMMUNITY_OPERATOR_NAME" -n "$TNF_EXAMPLE_CNF_NAMESPACE" test-network-function.com/operator=target
99-

0 commit comments

Comments
 (0)