Skip to content

Commit

Permalink
Document local dev setup (#50)
Browse files Browse the repository at this point in the history
* Document local dev setup
  • Loading branch information
anothertobi authored Mar 2, 2023
1 parent 6dc83fb commit fc12a2b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,43 @@ make autorest
[releases]: https://github.com/vshn/stardog-userrole-operator/releases
[license]: https://github.com/vshn/stardog-userrole-operator/blob/master/LICENSE
[dockerhub]: https://hub.docker.com/r/vshn/stardog-userrole-operator

## Local Development

### Prerequisites

- minikube
- helm
- kubectl
- Stardog image registry credentials
- Stardog license

See [the VSHN wiki (internal)](https://wiki.vshn.net/x/PIuVEw) for details on how to retrieve registry credentials and licenses for Stardog.

### Init local dev environment

```
minikube start
# Create values.yaml (fill in actual image registry credentials)
cat <<EOF > values.yaml
image:
username: "foo"
password: "supersecret"
stardog:
adminPassword: "admin"
replicaCount: 1
zookeeper:
enabled: false
EOF
# Provide Stardog license key
kubectl create secret generic stardog-license --from-file stardog-license-key.bin=stardog-license-key.bin
# Install Stardog
helm repo add appuio https://charts.appuio.ch
helm install stardog appuio/stardog -f values.yaml
```

0 comments on commit fc12a2b

Please sign in to comment.