Add provisioning job for Netbox 19/60619/5
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Tue, 14 Aug 2018 20:33:43 +0000 (16:33 -0400)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Fri, 17 Aug 2018 13:06:37 +0000 (09:06 -0400)
commit0c2d6fb07e947781c96a5d68a6481aee739926fa
tree406be45d2333bbf51ddca8ec7940c3d8e524e2e1
parentd30de9427dfcebc7855d94b525eadfbce186059c
Add provisioning job for Netbox

This is adding a script in a configmap along with a job that will
play the script.
This is also adding a readiness check to the netbox-app pod, so
that the job can be executed once the pod is ready.

Adding provisioning of:
- user
- region
- tenant group
- tenant
- site
- prefixes for vFW use case

Change-Id: I3bf00eb81ff4330b38e83b2f67cb17d4866e3990
Issue-ID: CCSDK-460
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/users.yml
kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/provisioning/provision.sh [new file with mode: 0755]
kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/startup_scripts/00_users.py
kubernetes/contrib/charts/netbox/charts/netbox-app/templates/configmap.yaml
kubernetes/contrib/charts/netbox/charts/netbox-app/templates/deployment.yaml
kubernetes/contrib/charts/netbox/charts/netbox-app/templates/job.yaml [new file with mode: 0644]
kubernetes/contrib/charts/netbox/charts/netbox-app/values.yaml
kubernetes/contrib/charts/netbox/values.yaml