Policy Deployment

Policy Helm Charts

The K8S helm charts in ONAP are hierarchical, where the chart of a container contains the charts of dependent containers. The policy helm chart captures the K8S configurations of PAP, PDP-X, Drools, BRMSGW, and nexus containers as shown below.

Policy Helm Chart Structure
  1 |-- Chart.yaml              # Captures the meta-information of the PAP chart. For example, name and namespace.
  2 |-- templates               # Contains templates for the PAP deployment descriptors and PAP secrets.
  3 |   |-- NOTES.txt
  4 |   |-- configmap.yaml      # The configuration-map of the PAP application running in a POD.
  5 |   |-- deployment.yaml     # The deployment descriptor of the PAP POD.
  6 |   |-- secrets.yaml        # Captures secret keys related to authentication.
  7 |   |-- service.yaml        # The deployment descriptor of offered services by PAP.
  8 |-- values.yaml             # The configurations of the deployment descriptor and secret templates
  9 |-- requirements.yaml       # Captures information about dependent charts; which is policy-common in this scenario.
 10 |-- resources               # Captures resources required for deploying helm charts.
 11 |   |-- config              # Captures the configurations of the PAP application.
 12 |   |   |-- opt
 13 |   |   |   |-- policy
 14 |   |   |       |-- config
 15 |   |   |           |-- pe
 16 |   |   |-- pe
 17 |   |       |-- console.conf            # The configurations of a backend server used in PAP.
 18 |   |       |-- elk.conf                # The configurations of the elastic search module.
 19 |   |       |-- mysql.conf              # The Configurations of the mysql database.
 20 |   |       |-- pap-tweaks.sh
 21 |   |       |-- pap.conf                # The configurations of the PAP application.
 22 |   |       |-- paplp.conf              # The configurations of a JVM used by PAP.
 23 |   |       |-- push-policies.sh
 24 |   |-- scripts                         # Captures scripts used by a container.
 25 |       |-- do-start.sh                 # The startup script of the PAP container.
 26 |       |-- update-vfw-op-policy.sh
 27 |-- charts                              # The charts of dependent containers; brmsgw, drools, mariadb, pdp, policy-nexus, and policy-common
 28 |   |-- brmsgw                          # The helm chart for BRMSGW
 29 |   |   |-- Chart.yaml                  # Captures the meta-information of the brmsgw chart. For example, name and namespace.
 30 |   |   |-- requirements.yaml           # Captures information about dependent charts; which is policy-common in this scenario.
 31 |   |   |-- resources                   # Captures resources required for deploying helm charts.
 32 |   |   |   |-- config
 33 |   |   |       |-- pe
 34 |   |   |           |-- brmsgw-tweaks.sh
 35 |   |   |           |-- brmsgw.conf         # The configurations of the brmsgw application.
 36 |   |   |-- templates                   # Contains templates for the brmsgw deployment descriptors and brmsgw secrets.
 37 |   |   |   |-- NOTES.txt
 38 |   |   |   |-- configmap.yaml          # The configuration-map of the brmsgw application running in a POD.
 39 |   |   |   |-- deployment.yaml         # The deployment descriptor of the brmsgw POD.
 40 |   |   |   |-- service.yaml            # The deployment descriptor of offered services by brmsgw.
 41 |   |   |-- values.yaml                 # The configurations of the deployment descriptor templates
 42 |   |-- drools                          # The helm chart for drools
 43 |   |   |-- Chart.yaml                  # Captures the meta-information of the brmsgw chart. For example, name and namespace.
 44 |   |   |-- charts                      # The charts of nexus containers
 45 |   |   |   |-- nexus                   # The helm chart for nexus
 46 |   |   |       |-- Chart.yaml          # Captures the meta-information of the nexus chart. For example, name and namespace.
 47 |   |   |       |-- requirements.yaml   # Captures information about dependent charts; which is policy-common in this scenario.
 48 |   |   |       |-- templates           # Contains templates for the nexus deployment descriptors and brmsgw secrets.
 49 |   |   |       |   |-- NOTES.txt
 50 |   |   |       |   |-- deployment.yaml # The deployment descriptor of the nexus POD.
 51 |   |   |       |   |-- service.yaml    # The deployment descriptor of offered services by nexus.
 52 |   |   |       |-- values.yaml         # The configurations of the deployment descriptor templates
 53 |   |   |-- requirements.yaml           # Captures information about dependent charts; which is policy-common in this scenario.
 54 |   |   |-- resources                   # Captures resources required for deploying helm charts.
 55 |   |   |   |-- config
 56 |   |   |   |   |-- drools
 57 |   |   |   |   |   |-- settings.xml    # The maven settings file for the Drools application.
 58 |   |   |   |   |-- log
 59 |   |   |   |   |   |-- drools
 60 |   |   |   |   |       |-- logback.xml # The maven settings file for logging.
 61 |   |   |   |   |-- opt
 62 |   |   |   |       |-- policy
 63 |   |   |   |           |-- config
 64 |   |   |   |               |-- drools
 65 |   |   |   |                   |-- base.conf                       # The base configurations for drools
 66 |   |   |   |                   |-- drools-tweaks.sh
 67 |   |   |   |                   |-- keys
 68 |   |   |   |                   |   |-- feature-healthcheck.conf    # The configurations for the helth-check module.
 69 |   |   |   |                   |   |-- policy-keystore
 70 |   |   |   |                   |-- policy-management.conf          # The configurations for the policy management module.
 71 |   |   |   |-- scripts
 72 |   |   |       |-- do-start.sh                 # The startup script of the drools container.
 73 |   |   |       |-- update-vfw-op-policy.sh
 74 |   |   |-- templates                           # Contains templates for the drools deployment descriptors and secrets.
 75 |   |   |   |-- NOTES.txt
 76 |   |   |   |-- configmap.yaml                  # The configuration-map of the drools application running in a POD.
 77 |   |   |   |-- deployment.yaml                 # The deployment descriptor of the drools POD.
 78 |   |   |   |-- secrets.yaml                    # Captures secret keys related to authentication.
 79 |   |   |   |-- service.yaml                    # The deployment descriptor of offered services by drools.
 80 |   |   |-- values.yaml                         # The configurations of the deployment descriptor templates.
 81 |   |-- mariadb                                 # The helm chart for mariadb
 82 |   |   |-- Chart.yaml                          # Captures the meta-information of the mariadb chart. For example, name and namespace.
 83 |   |   |-- requirements.yaml                   # Captures information about dependent charts; which is policy-common in this scenario.
 84 |   |   |-- resources                           # Captures resources required for deploying helm charts.
 85 |   |   |   |-- config
 86 |   |   |       |-- db.sh                       # Startup script for mariadb.
 87 |   |   |-- templates                           # Contains templates for the mariadb deployment descriptors and secrets.
 88 |   |   |   |-- NOTES.txt
 89 |   |   |   |-- configmap.yaml                  # The configuration-map of the mariadb application running in a POD.
 90 |   |   |   |-- deployment.yaml                 # The deployment descriptor of the mariadb POD.
 91 |   |   |   |-- pv.yaml                         # The persistence volume configurations.
 92 |   |   |   |-- pvc.yaml                        # The persistence volume claim configurations.
 93 |   |   |   |-- secrets.yaml                    # Captures secret keys related to authentication.
 94 |   |   |   |-- service.yaml                    # The deployment descriptor of offered services by maridb.
 95 |   |   |-- values.yaml                         # The configurations of the deployment descriptor templates.
 96 |   |-- pdp                                     # The helm chart for pdp.
 97 |   |   |-- Chart.yaml                          # Captures the meta-information of the pdp chart. For example, name and namespace.
 98 |   |   |-- requirements.yaml                   # Captures information about dependent charts; which is policy-common in this scenario.
 99 |   |   |-- resources                           # Captures resources required for deploying helm charts.
100 |   |   |   |-- config
101 |   |   |       |-- log
102 |   |   |       |   |-- xacml-pdp-rest
103 |   |   |       |       |-- logback.xml         # The maven settings file for logging.
104 |   |   |       |-- pe
105 |   |   |           |-- pdp-tweaks.sh
106 |   |   |           |-- pdp.conf                # The configurations of the pdp application.
107 |   |   |           |-- pdplp.conf              # The configurations of a JVM used by pdp.
108 |   |   |-- templates                           # Contains templates for the pdp deployment descriptors and secrets.
109 |   |   |   |-- NOTES.txt
110 |   |   |   |-- configmap.yaml                  # The configuration-map of the pdp application running in a POD.
111 |   |   |   |-- service.yaml                    # The deployment descriptor of offered services by pdp.
112 |   |   |   |-- statefulset.yaml                # The stateful-set descriptor for pdp to support multiple container instances in a POD.
113 |   |   |-- values.yaml                         # The configurations of the deployment descriptor templates.
114 |   |-- policy-brmsgw
115 |   |   |-- Chart.yaml
116 |   |   |-- requirements.yaml
117 |   |   |-- templates
118 |   |   |   |-- NOTES.txt
119 |   |   |   |-- configmap.yaml
120 |   |   |   |-- deployment.yaml
121 |   |   |   |-- secrets.yaml
122 |   |   |   |-- service.yaml
123 |   |   |-- values.yaml                         # The configurations of the deployment descriptor templates.
124 |   |-- policy-common                           # The helm chart that is commonly used across all policy containers.
125 |   |   |-- Chart.yaml                          # Captures the meta-information of the policy-common chart. For example, name and namespace.
126 |   |   |-- requirements.yaml                   # Captures information about dependent charts.
127 |   |   |-- resources                           # Captures resources required for deploying helm charts.
128 |   |   |   |-- config
129 |   |   |       |-- log
130 |   |   |       |   |-- filebeat
131 |   |   |       |       |-- filebeat.yml
132 |   |   |       |-- pe
133 |   |   |       |   |-- base.conf               # The base configurations applicable across many of the policy containers.
134 |   |   |       |   |-- brmsgw-tweaks.sh
135 |   |   |       |   |-- brmsgw.conf             # The configurations of the brmsgw application.
136 |   |   |       |   |-- console.conf            # The configurations of the console application.
137 |   |   |       |   |-- elk.conf                # The configurations of the elastic search application.
138 |   |   |       |   |-- mysql.conf              # The configurations of the mysql application.
139 |   |   |       |   |-- pap-tweaks.sh
140 |   |   |       |   |-- pap.conf                # The configurations of the pap application.
141 |   |   |       |   |-- paplp.conf              # The configurations of a JVM used by PAP.
142 |   |   |       |   |-- pdp-tweaks.sh
143 |   |   |       |   |-- pdp.conf                # The configurations of the pdp application.
144 |   |   |       |   |-- pdplp.conf              # The configurations of a JVM used by pdp.
145 |   |   |       |   |-- push-policies.sh
146 |   |   |       |-- scripts
147 |   |   |           |-- do-start.sh             # The startup script of container.
148 |   |   |-- templates
149 |   |   |   |-- NOTES.txt
150 |   |   |   |-- configmap.yaml                  # The configuration-map applicable across any policy container.
151 |   |   |-- values.yaml                         # The configurations of the deployment descriptor templates.
152 |   |-- policy-mariadb
153 |   |   |-- Chart.yaml
154 |   |   |-- requirements.yaml
155 |   |   |-- resources
156 |   |   |   |-- config
157 |   |   |       |-- db.sh
158 |   |   |-- templates
159 |   |   |   |-- NOTES.txt
160 |   |   |   |-- configmap.yaml
161 |   |   |   |-- deployment.yaml
162 |   |   |   |-- pv.yaml
163 |   |   |   |-- pvc.yaml
164 |   |   |   |-- secrets.yaml
165 |   |   |   |-- service.yaml
166 |   |   |-- values.yaml
167 |   |-- policy-nexus
168 |   |   |-- Chart.yaml
169 |   |   |-- requirements.yaml
170 |   |   |-- templates
171 |   |   |   |-- NOTES.txt
172 |   |   |   |-- deployment.yaml
173 |   |   |   |-- secrets.yaml
174 |   |   |   |-- service.yaml
175 |   |   |-- values.yaml
176 |   |-- policy-pap
177 |   |   |-- Chart.yaml
178 |   |   |-- requirements.yaml
179 |   |   |-- resources
180 |   |   |   |-- config
181 |   |   |       |-- log
182 |   |   |           |-- ep_sdk_app
183 |   |   |           |   |-- logback.xml
184 |   |   |           |-- xacml-pap-rest
185 |   |   |               |-- logback.xml
186 |   |   |-- templates
187 |   |   |   |-- NOTES.txt
188 |   |   |   |-- configmap.yaml
189 |   |   |   |-- deployment.yaml
190 |   |   |   |-- secrets.yaml
191 |   |   |   |-- service.yaml
192 |   |   |-- values.yaml
193 |   |-- policy-pdp
194 |       |-- Chart.yaml
195 |       |-- requirements.yaml
196 |       |-- resources
197 |       |   |-- config
198 |       |       |-- log
199 |       |           |-- xacml-pdp-rest
200 |       |               |-- logback.xml
201 |       |-- templates
202 |       |   |-- NOTES.txt
203 |       |   |-- configmap.yaml
204 |       |   |-- secrets.yaml
205 |       |   |-- service.yaml
206 |       |   |-- statefulset.yaml
207 |       |-- values.yaml

End of Document