Skip to content

Commit

Permalink
Merge pull request #254 from Nordix/update-examples-docs-capiv1a4-cap…
Browse files Browse the repository at this point in the history
…m3v1a5/furkat

✨Update example generation and docs with latest CAPI v1a4 changes
  • Loading branch information
metal3-io-bot committed Aug 10, 2021
2 parents a84b2ac + 6fc819f commit 8cb082b
Show file tree
Hide file tree
Showing 16 changed files with 326 additions and 257 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,9 @@ deploy: generate-examples
kubectl wait --for=condition=Available --timeout=300s -n cert-manager deployment cert-manager-cainjector
kubectl wait --for=condition=Available --timeout=300s -n cert-manager deployment cert-manager-webhook
kubectl apply -f examples/_out/provider-components.yaml

deploy-examples: generate-examples
# CRD for baremetalhosts in provider-components.yaml is not compatible
# with setting the status explicitly. Recreate it from metal3crds.yaml
kubectl delete -f examples/_out/metal3crds.yaml
kubectl apply -f examples/_out/metal3crds.yaml

deploy-examples:
kubectl apply -f ./examples/_out/metal3plane.yaml
kubectl apply -f ./examples/_out/cluster.yaml
kubectl apply -f ./examples/_out/machinedeployment.yaml
Expand Down
2 changes: 1 addition & 1 deletion config/ipam/image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
spec:
containers:
# Change the value of image field below to your controller image URL
- image: quay.io/metal3-io/ip-address-manager:latest
- image: quay.io/metal3-io/ip-address-manager:v0.1.0
name: manager
2 changes: 1 addition & 1 deletion config/ipam/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Kustomization

# When updating the release, update also the image tag in image_patch.yaml
resources:
- https://github.com/metal3-io/ip-address-manager/releases/download/v0.0.6/ipam-components.yaml
- https://github.com/metal3-io/ip-address-manager/releases/download/v0.1.0/ipam-components.yaml

patchesStrategicMerge:
- image_patch.yaml
Expand Down
Loading

0 comments on commit 8cb082b

Please sign in to comment.