Michal Ptacek | 5a269d2 | 2019-01-28 13:03:16 +0000 | [diff] [blame] | 1 | --- |
| 2 | ################################### |
| 3 | # Resources configuration entries # |
| 4 | ################################### |
| 5 | |
| 6 | # Resource host information |
| 7 | |
| 8 | # folder on resource host where tars with resources are present |
| 9 | resources_dir: /data |
| 10 | |
| 11 | # tarfile name within this folder with offline infrastructure sw |
| 12 | resources_filename: onap-offline-onap-full-3.0.0.resources.tar |
| 13 | |
| 14 | # Infra node specific information |
| 15 | |
| 16 | # offline solution source data binaries will be decompressed in following dir on infra |
| 17 | # e.g. app_data_path: /opt/onap |
| 18 | app_data_path: /opt/onap |
| 19 | |
| 20 | ########################################## |
| 21 | # Offline Infrastructure specific params # |
| 22 | ########################################## |
| 23 | |
| 24 | # information from which rootCA is created |
| 25 | # e.g. |
| 26 | # organization_name: Samsung |
| 27 | # state_or_province_name: Poland |
| 28 | # country_name: PL |
| 29 | # locality_name: Krakow |
| 30 | certificates: |
| 31 | organization_name: Samsung |
| 32 | state_or_province_name: Poland |
| 33 | country_name: PL |
| 34 | locality_name: Krakow |
| 35 | |
| 36 | # Offline solution is deploying app specific rpm repository and requires some name |
| 37 | # also for k8s cluster |
| 38 | # e.g. app_name: ONAP |
| 39 | app_name: ONAP |
| 40 | |
| 41 | |
| 42 | ############################### |
| 43 | # Application specific params # |
| 44 | ############################### |
| 45 | |
| 46 | # Project name to utilize same codebase |
| 47 | # e.g. project_configuration: onap-full |
| 48 | project_configuration: onap-full |
| 49 | |
| 50 | # App Helm charts dir. E.g. application/helm_charts/<xxx> where xxx is a charts folder name. |
| 51 | # Helm charts are expected to be inside SW package somewhere inside ./ansible/application |
| 52 | # those will be available for offline installer under /ansible/application/<helm_charts_name> |
| 53 | # for OOM project helm charts are usually within kubernetes sub-folder |
| 54 | # so the path for them can be: |
| 55 | # e.g app_helm_charts_install_directory: "/ansible/application/oom/kubernetes" |
| 56 | app_helm_charts_install_directory: "/ansible/application/helm_charts" |
| 57 | |
| 58 | # to specify target dir where helm charts should be copied into on infra node |
| 59 | # this should be directory with all charts and Makefile |
| 60 | # e.g. app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts" |
| 61 | app_helm_charts_infra_directory: "{{ app_data_path }}/helm_charts" |
| 62 | |
| 63 | # Main Helm chart to install |
| 64 | # e.g. app_helm_chart_name: onap |
| 65 | app_helm_chart_name: onap |
| 66 | |
| 67 | # Targets for helm charts repository build |
| 68 | # e.g. for ONAP Casablanca |
| 69 | # app_helm_build_targets: |
| 70 | # - all |
| 71 | # - onap |
| 72 | app_helm_build_targets: |
| 73 | - all |
| 74 | - onap |
| 75 | |
| 76 | # Directory with helm plugins |
| 77 | # It's an optional parameter used e.g. in OOM Casablanca |
| 78 | # app_helm_plugins_directory: "{{ app_helm_charts_infra_directory}}/kubernetes/helm/plugins/" |
| 79 | app_helm_plugins_directory: "{{ app_helm_charts_infra_directory}}/kubernetes/helm/plugins/" |
| 80 | |
| 81 | # Helm release name (visible in POD names) used by Helm |
| 82 | # e.g. app_helm_release_name: "{{ project_configuration }}" |
| 83 | app_helm_release_name: "{{ project_configuration }}" |
| 84 | |
| 85 | # Kubernetes namespace where application is installed |
| 86 | # e.g. app_kubernetes_namespace: onap |
| 87 | app_kubernetes_namespace: onap |
| 88 | |
| 89 | # Optional application custom Ansible roles name for pre and post install logic. |
| 90 | # Location of additional custom roles is defined in ansible.cfg with roles_path. |
| 91 | # e.g. application_pre_install_role: "{{ project_configuration }}-patch-role" |
| 92 | application_pre_install_role: onap-casablanca-patch-role |
| 93 | application_post_install_role: |
| 94 | |
| 95 | # any other application specific params can be specified in this file |