Skip to content

Commit

Permalink
add default host subnet resource
Browse files Browse the repository at this point in the history
  • Loading branch information
psimovec committed Oct 22, 2020
1 parent c73cf1b commit c715b4e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ test-unit:

test-e2e:
go test ./test/integration -run ^\(TestIsIOHealthy\)$$ ^\(TestPullSecretExists\)$$ -timeout 1m
test/integration/resource_samples/apply.sh
go test ./test/integration -timeout 13m $(TEST_OPTIONS)
.PHONY: test-e2e

Expand Down
6 changes: 6 additions & 0 deletions test/integration/resource_samples/apply.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
# should be run from project root directory
for file in ./test/integration/resource_samples/*.yaml
do
oc apply -f $file
done
8 changes: 8 additions & 0 deletions test/integration/resource_samples/hostsubnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: network.openshift.io/v1
host: ip-10-0-138-69.ec2.internal
hostIP: 10.0.138.69
kind: HostSubnet
metadata:
generation: 1
name: ip-10-0-138-69.ec2.internal
subnet: 10.129.0.0/23

0 comments on commit c715b4e

Please sign in to comment.