Skip to content

Commit

Permalink
WIP add autogenerated charm
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente committed Feb 27, 2024
1 parent d0b1d79 commit 75f2655
Show file tree
Hide file tree
Showing 11 changed files with 10,829 additions and 1 deletion.
9 changes: 9 additions & 0 deletions charm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
venv/
build/
*.charm
.tox/
.coverage
__pycache__/
*.py[cod]
.idea
.vscode/
54 changes: 54 additions & 0 deletions charm/charmcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.

# This file configures Charmcraft.
# See https://juju.is/docs/sdk/charmcraft-config for guidance.

name: netbox

type: charm

bases:
- build-on:
- name: ubuntu
channel: "22.04"
run-on:
- name: ubuntu
channel: "22.04"

# (Required)
summary: NetBox.

# (Required)
description: |
A comprehensive overview of your Django application.
extensions:
- django-framework

requires:
postgresql:
interface: postgresql_client
limit: 1

config:
options:
redis_hostname:
description: Redis hostname
type: string
redis_port:
description: Redis port
type: int
default: 6379
redis_username:
description: Redis username
type: string
default: ''
redis_password:
description: Redis password
type: string
default: ''
base_path:
description: Base path of the application
type: string
default: ''
Loading

0 comments on commit 75f2655

Please sign in to comment.