summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMichal Ptacek <m.ptacek@partner.samsung.com>2019-01-28 13:03:16 +0000
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-02-06 08:24:39 +0000
commit5a269d2e06be837377364111be9c238979260b78 (patch)
tree024c52b6b215ab9e5e780b9289030e81d0d3339b /config
parent1f264b4f471e3570b8b541af7be9a2d300f7c930 (diff)
Setting-up NPM registry for dgbuilder
This commit is showing-up how OOM patches must be handled in casablanca release. In Dublin we would like to avoid this completely OOM-1610 so here we are just reproducing the same logic which was already implemented in Beijing for bash offline installer. In general it works in a way that OOM charts are patched during offline platform build and values are configured in install time using pre-install application role/hook. Change-Id: I1a2425ef63edd6bc08dcecf0fcae7fd6e553d0ed Issue-ID: OOM-1616 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Diffstat (limited to 'config')
-rwxr-xr-xconfig/application_configuration.yml95
1 files changed, 95 insertions, 0 deletions
diff --git a/config/application_configuration.yml b/config/application_configuration.yml
new file mode 100755
index 00000000..d8dffc82
--- /dev/null
+++ b/config/application_configuration.yml
@@ -0,0 +1,95 @@
+---
+###################################
+# Resources configuration entries #
+###################################
+
+# Resource host information
+
+# folder on resource host where tars with resources are present
+resources_dir: /data
+
+# tarfile name within this folder with offline infrastructure sw
+resources_filename: onap-offline-onap-full-3.0.0.resources.tar
+
+# Infra node specific information
+
+# offline solution source data binaries will be decompressed in following dir on infra
+# e.g. app_data_path: /opt/onap
+app_data_path: /opt/onap
+
+##########################################
+# Offline Infrastructure specific params #
+##########################################
+
+# information from which rootCA is created
+# e.g.
+# organization_name: Samsung
+# state_or_province_name: Poland
+# country_name: PL
+# locality_name: Krakow
+certificates:
+ organization_name: Samsung
+ state_or_province_name: Poland
+ country_name: PL
+ locality_name: Krakow
+
+# Offline solution is deploying app specific rpm repository and requires some name
+# also for k8s cluster
+# e.g. app_name: ONAP
+app_name: ONAP
+
+
+###############################
+# Application specific params #
+###############################
+
+# Project name to utilize same codebase
+# e.g. project_configuration: onap-full
+project_configuration: onap-full
+
+# App Helm charts dir. E.g. application/helm_charts/<xxx> where xxx is a charts folder name.
+# Helm charts are expected to be inside SW package somewhere inside ./ansible/application
+# those will be available for offline installer under /ansible/application/<helm_charts_name>
+# for OOM project helm charts are usually within kubernetes sub-folder
+# so the path for them can be:
+# e.g app_helm_charts_install_directory: "/ansible/application/oom/kubernetes"
+app_helm_charts_install_directory: "/ansible/application/helm_charts"
+
+# to specify target dir where helm charts should be copied into on infra node
+# this should be directory with all charts and Makefile
+# e.g. app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
+app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
+
+# Main Helm chart to install
+# e.g. app_helm_chart_name: onap
+app_helm_chart_name: onap
+
+# Targets for helm charts repository build
+# e.g. for ONAP Casablanca
+# app_helm_build_targets:
+# - all
+# - onap
+app_helm_build_targets:
+ - all
+ - onap
+
+# Directory with helm plugins
+# It's an optional parameter used e.g. in OOM Casablanca
+# app_helm_plugins_directory: "{{ app_helm_charts_infra_directory}}/kubernetes/helm/plugins/"
+app_helm_plugins_directory: "{{ app_helm_charts_infra_directory}}/kubernetes/helm/plugins/"
+
+# Helm release name (visible in POD names) used by Helm
+# e.g. app_helm_release_name: "{{ project_configuration }}"
+app_helm_release_name: "{{ project_configuration }}"
+
+# Kubernetes namespace where application is installed
+# e.g. app_kubernetes_namespace: onap
+app_kubernetes_namespace: onap
+
+# Optional application custom Ansible roles name for pre and post install logic.
+# Location of additional custom roles is defined in ansible.cfg with roles_path.
+# e.g. application_pre_install_role: "{{ project_configuration }}-patch-role"
+application_pre_install_role: onap-casablanca-patch-role
+application_post_install_role:
+
+# any other application specific params can be specified in this file