Commit cbb9539e authored by caslanoglou's avatar caslanoglou

chore: update JuJu bundle README

parent 0d55317a
# example
# PowerDNS
## Description
## Overview
TODO: Describe your charm in a few paragraphs of Markdown
This is a Kubernetes Charm to deploy [PowerDNS](https://www.powerdns.com/).
## Usage
Available actions for this charm:
* Create DNS zones
`juju run-action powerdns/0 add-zone zone-name=example.org.`
* Add DNS address record (Domain-IP mapping)
`juju run-action powerdns/0 add-domain zone-name=example.org. subdomain=test. ip=192.168.1.254`
* Delete DNS zones
`juju run-action powerdns/0 delete-zone zone-name=example.org.`
* Delete a domain-IP mapping
`juju run-action powerdns/0 delete-domain zone-name=example.org. subdomain=test.`
TODO: Provide high-level usage, such as required config or relations
## Setup Juju & MicroK8s
If you don't have MicroK8s and Juju installed executing the following commands:
## Developing
```bash
sudo snap install juju --classic
sudo snap install microk8s --classic
juju bootstrap microk8s
```
Create and activate a virtualenv with the development requirements:
# Building & deploying
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt
```bash
git clone https://gitlab.ubitech.eu/nsit/nfv/osm/hackfest-11-powerdns.git
cd hackfest-11-powerdns/juju-cnf/powerdns_cnf/juju-bundles
./build-charm.sh
## Testing
The Python operator framework includes a very nice harness for testing
operator behaviour without full deployment. Just `run_tests`:
./run_tests
juju add-model powerdns
juju deploy --verbose /path/to/bundle.yaml
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment