blob: d8fe37dd947c2eee0c8bcefd3039494452664f07 [file] [log] [blame]
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +01001---
2###################################
3# Resources configuration entries #
4###################################
5
6# Resource host information
7
Samuli Silvius426e6c02019-02-06 11:25:01 +02008# Directory on resource host where tars with resources are present
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +01009resources_dir:
10
Samuli Silvius426e6c02019-02-06 11:25:01 +020011# tarfile name within resources_dir directory with offline infrastructure binaries.
12# Content of APP_BINARY_RESOURCES_DIR (defined in package.conf) packaged by package.sh to single tar file.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010013resources_filename:
14
Samuli Silvius426e6c02019-02-06 11:25:01 +020015# tarfile name within resources_dir directory with auxiliary resources.
16# Content of APP_AUX_BINARIES (defined in package.conf) packaged by package.sh to single tar file.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010017# the purpose of auxiliary resources is to provide user an interface
Samuli Silvius426e6c02019-02-06 11:25:01 +020018# to distribute to infra node tar file with application specific files.
19# Docker images in tar format are currently the only supported content of aux_resources package.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010020aux_resources_filename:
21
22# resources can be exported via nfs
23# default is no - client will use ssh
24# if set yes but nfs-utils is missing then fallback to ssh
25resources_on_nfs: no
26
27# Infra node specific information
28
Samuli Silvius426e6c02019-02-06 11:25:01 +020029# Offline solution source data binaries (resources_filename tar) will be
30# decompressed in this directory on target infra server.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010031# e.g. app_data_path: /opt/onap
32app_data_path:
33
Tomáš Levoraa0ad5c12019-03-28 17:45:55 +010034# Path for tarballs with images loaded on infrastructure server
35infra_images_path: "{{ app_data_path }}/offline_data/docker_images_infra"
36
Samuli Silvius426e6c02019-02-06 11:25:01 +020037# Path for auxiliary data in target infra server.
38# Data from resource host defined by aux_resources_filename variable is placed to this directory.
39# Currently docker images in tar format are supported (see runtime_images parameter).
40# Could be used for other kind of application specific data also.
41# e.g. aux_data_path: /opt/onap/my_extra_pods_docker_images
42aux_data_path: "{{ app_data_path }}/runtime_images_source_dir"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010043
44
45##########################################
46# Offline Infrastructure specific params #
47##########################################
48
49# information from which rootCA is created
50# e.g.
51# organization_name: Samsung
52# state_or_province_name: Poland
53# country_name: PL
54# locality_name: Krakow
55certificates:
56 organization_name:
57 state_or_province_name:
58 country_name:
59 locality_name:
60
61# Force k8s cluster redeploy if it exists already
62# Default value is to allow redeploy
63redeploy_k8s_env: yes
64
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010065# Offline solution is deploying app specific rpm repository and requires some name
66# also for k8s cluster
Samuli Silviusf3eee9e2019-02-10 13:24:03 +020067# e.g. app_name: onap
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010068app_name:
69
Samuli Silvius426e6c02019-02-06 11:25:01 +020070# runtime_images provides an way to insert docker images
71# into nexus during infrastructure playbook execution (populated to nexus at runtime).
72# images specified must be available inside aux_resources_filename
73# tar file that is extracted by installer into aux_data_path directory in infra server.
74# Source format of an image is .tar file in aux_data_path directory and all .tar
75# files in that dir are checked to match runtime_images definition.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010076# if runtime_images are not specified nothing is inserted on top of existing
Samuli Silvius426e6c02019-02-06 11:25:01 +020077# prebuilt nexus blob in installation time.
78# Component name must match with tar filename!
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010079# e.g.
Samuli Silviusf6f5fc42019-02-13 11:00:39 +020080# aaa/bbb-component-0.0.1.tar are expected in aux_data_path for component images.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010081#runtime_images:
Samuli Silviusf6f5fc42019-02-13 11:00:39 +020082# aaa-component-0.0.1:
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010083# registry: "nexus3.onap.org:10001"
Petr Ospalý170d94b2018-12-20 16:40:58 +010084# path: "/onap/components/aaa-component"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010085# tag: "latest"
Samuli Silviusf6f5fc42019-02-13 11:00:39 +020086# bbb-component-0.0.1:
87# registry: "nexus3.onap.org:10001"
88# path: "/onap/components/bbb-component"
89# tag: "latest"
90runtime_images: {}
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010091
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010092###############################
93# Application specific params #
94###############################
95
Samuli Silvius51d7d012019-03-19 08:45:54 +020096# App Helm charts directory location in installation package
97# (local path for the ansible process).
98# The path locates relative inside of this sw package
99# installation folder and must be visible for ansible docker/chroot
Samuli Silviusfe111112019-02-05 09:45:24 +0200100# process to find directory and to transfer it into machine (infra node) running
101# Helm repository.
102# Content of the folder must be Helm chart directories of the app with Makefile.
103# In case of ONAP OOM it would be <oom_repo>/kubernetes folder content.
104# NOTE: This default value should not be changed if not really needed and it
105# must match with the variable "HELM_CHARTS_DIR_IN_PACKAGE" value in package.sh
106# script!
Samuli Silvius51d7d012019-03-19 08:45:54 +0200107app_helm_charts_install_directory: application/helm_charts
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100108
Samuli Silvius426e6c02019-02-06 11:25:01 +0200109# Specify target dir where helm charts are copied into on infra node.
110# (same as content of "app_helm_charts_install_directory" copied by installer to this dir.)
111# This must be directory with all charts and Makefile.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100112# e.g. app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
Samuli Silviusfe111112019-02-05 09:45:24 +0200113app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100114
115# Main Helm chart to install
116# e.g. app_helm_chart_name: onap
Bartek Grzybowski652e41d2019-03-04 15:34:19 +0100117app_helm_chart_name:
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100118
Michal Ptacek271cf3f2019-01-17 20:39:46 +0000119# Targets for helm charts repository build
120# e.g. for ONAP Casablanca
121# app_helm_build_targets:
122# - all
123# - onap
124app_helm_build_targets:
125
126# Directory with helm plugins
127# It's an optional parameter used e.g. in OOM Casablanca
Samuli Silviusfe111112019-02-05 09:45:24 +0200128# app_helm_plugins_directory: "{{ app_helm_charts_install_directory}}/helm/plugins/"
Samuli Silviusf3eee9e2019-02-10 13:24:03 +0200129app_helm_plugins_directory: "{{ app_helm_charts_install_directory}}/helm/plugins/"
Michal Ptacek271cf3f2019-01-17 20:39:46 +0000130
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100131# Helm release name (visible in POD names) used by Helm
Samuli Silviusf3eee9e2019-02-10 13:24:03 +0200132# e.g. app_helm_release_name: onap
133app_helm_release_name: "{{ app_name }}"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100134
135# Kubernetes namespace where application is installed
136# e.g. app_kubernetes_namespace: onap
Samuli Silviusf3eee9e2019-02-10 13:24:03 +0200137app_kubernetes_namespace: "{{ app_name }}"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100138
139# Optional application custom Ansible roles name for pre and post install logic.
140# Location of additional custom roles is defined in ansible.cfg with roles_path.
Bartek Grzybowski652e41d2019-03-04 15:34:19 +0100141# e.g. application_pre_install_role: "my-pre-install-role"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100142application_pre_install_role:
143application_post_install_role:
144
145# any other application specific params can be specified in this file
146# e.g.
147# onap_values:
148# openStackKeyStoneUrl: "http://1.2.3.4:5000"
149# openStackServiceTenantName: "services"
150# openStackDomain: "Default"
151# openStackUserName: "admin"
152# openStackEncryptedPassword: "f7920677e15e2678b0f33736189e8965"
Bartek Grzybowski30b2cbf2019-03-26 16:10:10 +0100153
154# Optional time synchronisation settings
155# timesync:
156# servers:
157# - <ip address of NTP_1>
158# - <...>
159# - <ip address of NTP_N>
160# slewclock: false
161# timezone: <timezone name from tz database>