Skip to content

Commit 2e8c6a0

Browse files
committed
document running locally
1 parent 20c092a commit 2e8c6a0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ build/
22

33
# vim swap files
44
.*.sw*
5+
clouds.yaml

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,14 @@ This is an [ExternalDNS provider](https://github.com/kubernetes-sigs/external-dn
44
This projects externalizes the yet in-tree [OpenStack Designate provider](https://github.com/kubernetes-sigs/external-dns/tree/master/provider/designate).
55

66
### 🌪 This project is in a very early stage and likely does not do what you expect!
7+
8+
## Development
9+
10+
To run the webhook locally, you'll need to create a [clouds.yaml](https://docs.openstack.org/python-openstackclient/pike/configuration/index.html#clouds-yaml)
11+
file and put it in one of the standard-locations.
12+
Then set the cloud to be used in the `OS_CLOUD` environemnt variable.
13+
You can then start the webhook server using:
14+
15+
```sh
16+
go run cmd/webhook/main.go
17+
```

0 commit comments

Comments
 (0)