Skip to content

Commit

Permalink
Updated readme and dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
p-strusiewiczsurmacki-mobica committed Jan 5, 2024
1 parent 6a130ba commit ca4b466
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Build the manager binary
FROM golang:1.18 as builder
FROM golang:1.20 as builder

WORKDIR /workspace

# Copy cluster-api-ipam-provider-in-cluster dir - to be removed when upstream changes will be merged
COPY ../cluster-api-ipam-provider-in-cluster/ ../cluster-api-ipam-provider-in-cluster/

# Copy the Go Modules manifests
COPY go.mod go.mod
COPY go.sum go.sum
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@ You can use Makefile to deploy Cluster API IMAP Provider Infoblox. First install
```bash
make install
```

Deploy [cert-manager](https://cert-manager.io):

```bash
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.3/cert-manager.yaml
```

Apply required Cluster API CRDs:

```bash
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api/release-1.6/config/crd/bases/ipam.cluster.x-k8s.io_ipaddresses.yaml

kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/cluster-api/release-1.6/config/crd/bases/ipam.cluster.x-k8s.io_ipaddressclaims.yaml
```

Then, deploy provider itself with:

```bash
Expand Down

0 comments on commit ca4b466

Please sign in to comment.