blob: cd8c7f58f85066c8998926b0773b5dadb61a048b [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
Samuli Silvius426e6c02019-02-06 11:25:01 +020034# Path for auxiliary data in target infra server.
35# Data from resource host defined by aux_resources_filename variable is placed to this directory.
36# Currently docker images in tar format are supported (see runtime_images parameter).
37# Could be used for other kind of application specific data also.
38# e.g. aux_data_path: /opt/onap/my_extra_pods_docker_images
39aux_data_path: "{{ app_data_path }}/runtime_images_source_dir"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010040
41
42##########################################
43# Offline Infrastructure specific params #
44##########################################
45
46# information from which rootCA is created
47# e.g.
48# organization_name: Samsung
49# state_or_province_name: Poland
50# country_name: PL
51# locality_name: Krakow
52certificates:
53 organization_name:
54 state_or_province_name:
55 country_name:
56 locality_name:
57
58# Force k8s cluster redeploy if it exists already
59# Default value is to allow redeploy
60redeploy_k8s_env: yes
61
62# Distribute offline rpm repository
63# Default value is to distribute rpm
64deploy_rpm_repository: yes
65
66# Offline solution is deploying app specific rpm repository and requires some name
67# also for k8s cluster
Samuli Silviusf3eee9e2019-02-10 13:24:03 +020068# e.g. app_name: onap
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010069app_name:
70
Samuli Silvius426e6c02019-02-06 11:25:01 +020071# runtime_images provides an way to insert docker images
72# into nexus during infrastructure playbook execution (populated to nexus at runtime).
73# images specified must be available inside aux_resources_filename
74# tar file that is extracted by installer into aux_data_path directory in infra server.
75# Source format of an image is .tar file in aux_data_path directory and all .tar
76# files in that dir are checked to match runtime_images definition.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010077# if runtime_images are not specified nothing is inserted on top of existing
Samuli Silvius426e6c02019-02-06 11:25:01 +020078# prebuilt nexus blob in installation time.
79# Component name must match with tar filename!
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010080# e.g.
Petr Ospalý170d94b2018-12-20 16:40:58 +010081# aaa-component-0.0.1.tar is expected in aux_data_path for aaa-component image
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010082#runtime_images:
Samuli Silvius426e6c02019-02-06 11:25:01 +020083# aaa-component-0.0.1:
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010084# registry: "nexus3.onap.org:10001"
Petr Ospalý170d94b2018-12-20 16:40:58 +010085# path: "/onap/components/aaa-component"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010086# tag: "latest"
87runtime_images:
88
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +010089###############################
90# Application specific params #
91###############################
92
Samuli Silviusfe111112019-02-05 09:45:24 +020093# App Helm charts directory location in installation package.
94# The path is absolute path (even locates relative inside of this sw package
95# installation folder) because it must be visible for ansible docker/chroot
96# process to find directory and to transfer it into machine (infra node) running
97# Helm repository.
98# Content of the folder must be Helm chart directories of the app with Makefile.
99# In case of ONAP OOM it would be <oom_repo>/kubernetes folder content.
100# NOTE: This default value should not be changed if not really needed and it
101# must match with the variable "HELM_CHARTS_DIR_IN_PACKAGE" value in package.sh
102# script!
103app_helm_charts_install_directory: "/ansible/application/helm_charts"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100104
Samuli Silvius426e6c02019-02-06 11:25:01 +0200105# Specify target dir where helm charts are copied into on infra node.
106# (same as content of "app_helm_charts_install_directory" copied by installer to this dir.)
107# This must be directory with all charts and Makefile.
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100108# e.g. app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
Samuli Silviusfe111112019-02-05 09:45:24 +0200109app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100110
111# Main Helm chart to install
112# e.g. app_helm_chart_name: onap
Samuli Silviusf3eee9e2019-02-10 13:24:03 +0200113app_helm_chart_name: "{{ app_name }}"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100114
Michal Ptacek271cf3f2019-01-17 20:39:46 +0000115# Targets for helm charts repository build
116# e.g. for ONAP Casablanca
117# app_helm_build_targets:
118# - all
119# - onap
120app_helm_build_targets:
121
122# Directory with helm plugins
123# It's an optional parameter used e.g. in OOM Casablanca
Samuli Silviusfe111112019-02-05 09:45:24 +0200124# app_helm_plugins_directory: "{{ app_helm_charts_install_directory}}/helm/plugins/"
Samuli Silviusf3eee9e2019-02-10 13:24:03 +0200125app_helm_plugins_directory: "{{ app_helm_charts_install_directory}}/helm/plugins/"
Michal Ptacek271cf3f2019-01-17 20:39:46 +0000126
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100127# Helm release name (visible in POD names) used by Helm
Samuli Silviusf3eee9e2019-02-10 13:24:03 +0200128# e.g. app_helm_release_name: onap
129app_helm_release_name: "{{ app_name }}"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100130
131# Kubernetes namespace where application is installed
132# e.g. app_kubernetes_namespace: onap
Samuli Silviusf3eee9e2019-02-10 13:24:03 +0200133app_kubernetes_namespace: "{{ app_name }}"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100134
135# Optional application custom Ansible roles name for pre and post install logic.
136# Location of additional custom roles is defined in ansible.cfg with roles_path.
Samuli Silviusf3eee9e2019-02-10 13:24:03 +0200137# e.g. application_pre_install_role: "{{ app_name }}-patch-role"
Petr Ospalýfb2d0cb2018-12-19 14:22:00 +0100138application_pre_install_role:
139application_post_install_role:
140
141# any other application specific params can be specified in this file
142# e.g.
143# onap_values:
144# openStackKeyStoneUrl: "http://1.2.3.4:5000"
145# openStackServiceTenantName: "services"
146# openStackDomain: "Default"
147# openStackUserName: "admin"
148# openStackEncryptedPassword: "f7920677e15e2678b0f33736189e8965"