summaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-04-09 06:03:49 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-09 06:03:49 +0000
commit277ea0d7bf43a7cfcf0a621ea2ecfdcdc22672b9 (patch)
tree5062feab38e6d7074475cf755dbc60ced2390951 /kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers
parent21d5e7be75d5e8aa4abfe269bea89edec38c75c1 (diff)
parenta5bb31b95347229e400099565bedd3f6a3785c9a (diff)
Merge "[Contrib] Authorize choice of subcomponents"
Diffstat (limited to 'kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers')
-rwxr-xr-xkubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml18
-rwxr-xr-xkubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/groups.yml9
-rwxr-xr-xkubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/users.yml9
3 files changed, 36 insertions, 0 deletions
diff --git a/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml b/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml
new file mode 100755
index 0000000000..c23e29a11d
--- /dev/null
+++ b/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml
@@ -0,0 +1,18 @@
+external-key:
+ description: "The external-key uniquely identify the resources to a service within ONAP."
+ filterable: true
+ label: ONAP external key
+ on_objects:
+ - ipam.models.IPAddress
+ required: true
+ type: text
+ weight: 0
+resource-name:
+ description: "The resource-name of the element using this IP."
+ filterable: true
+ label: ONAP resource name
+ on_objects:
+ - ipam.models.IPAddress
+ required: true
+ type: text
+ weight: 0 \ No newline at end of file
diff --git a/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/groups.yml b/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/groups.yml
new file mode 100755
index 0000000000..1f4a5a7a6e
--- /dev/null
+++ b/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/groups.yml
@@ -0,0 +1,9 @@
+# applications:
+# users:
+# - technical_user
+# readers:
+# users:
+# - reader
+# writers:
+# users:
+# - writer
diff --git a/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/users.yml b/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/users.yml
new file mode 100755
index 0000000000..77d330beac
--- /dev/null
+++ b/kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/users.yml
@@ -0,0 +1,9 @@
+onap:
+ first_name: Steve
+ last_name: McQueen
+ email: steve.mcqueen@onap.org
+ password: onap123$
+ api_token: onceuponatimeiplayedwithnetbox20180814 # This API KEY is used by SDNC, if you edit it, make sure to change it in the netbox.properties file
+ is_staff: true # whether user is admin or not, default = false
+ is_active: true # whether user is active, default = true
+ is_superuser: true # Whether user has all edit rights or not, default = false \ No newline at end of file