vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 16 | apiVersion: extensions/v1beta1 |
| 17 | kind: Deployment |
| 18 | metadata: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 19 | name: {{ include "common.fullname" . }} |
| 20 | namespace: {{ include "common.namespace" . }} |
| 21 | labels: |
| 22 | app: {{ include "common.name" . }} |
| 23 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 24 | release: {{ .Release.Name }} |
| 25 | heritage: {{ .Release.Service }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 26 | spec: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 27 | replicas: {{ .Values.replicaCount }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 28 | selector: |
| 29 | matchLabels: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 30 | app: {{ include "common.name" . }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 31 | template: |
| 32 | metadata: |
| 33 | labels: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 34 | app: {{ include "common.name" . }} |
| 35 | release: {{ .Release.Name }} |
| 36 | name: {{ include "common.name" . }} |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 37 | annotations: |
Harish V Kajur | 8e7cbd2 | 2018-05-07 14:02:46 +0000 | [diff] [blame] | 38 | checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 39 | msb.onap.org/service-info: '[ |
| 40 | { |
| 41 | "serviceName": "_aai-cloudInfrastructure", |
| 42 | "version": "v11", |
| 43 | "url": "/aai/v11/cloud-infrastructure", |
| 44 | "protocol": "REST", |
| 45 | "port": "8447", |
| 46 | "enable_ssl": true, |
| 47 | "lb_policy":"ip_hash", |
| 48 | "visualRange": "1", |
| 49 | "path": "/aai/v11/cloud-infrastructure" |
| 50 | }, |
| 51 | { |
| 52 | "serviceName": "_aai-cloudInfrastructure", |
| 53 | "version": "v12", |
| 54 | "url": "/aai/v12/cloud-infrastructure", |
| 55 | "protocol": "REST", |
| 56 | "port": "8447", |
| 57 | "enable_ssl": true, |
| 58 | "lb_policy":"ip_hash", |
| 59 | "visualRange": "1", |
| 60 | "path": "/aai/v12/cloud-infrastructure" |
| 61 | }, |
| 62 | { |
| 63 | "serviceName": "_aai-cloudInfrastructure", |
| 64 | "version": "v13", |
| 65 | "url": "/aai/v13/cloud-infrastructure", |
| 66 | "protocol": "REST", |
| 67 | "port": "8447", |
| 68 | "enable_ssl": true, |
| 69 | "lb_policy":"ip_hash", |
| 70 | "visualRange": "1", |
| 71 | "path": "/aai/v13/cloud-infrastructure" |
| 72 | }, |
| 73 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 74 | "serviceName": "_aai-cloudInfrastructure", |
| 75 | "version": "v14", |
| 76 | "url": "/aai/v14/cloud-infrastructure", |
| 77 | "protocol": "REST", |
| 78 | "port": "8447", |
| 79 | "enable_ssl": true, |
| 80 | "lb_policy":"ip_hash", |
| 81 | "visualRange": "1", |
| 82 | "path": "/aai/v14/cloud-infrastructure" |
| 83 | }, |
| 84 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 85 | "serviceName": "_aai-business", |
| 86 | "version": "v11", |
| 87 | "url": "/aai/v11/business", |
| 88 | "protocol": "REST", |
| 89 | "port": "8447", |
| 90 | "enable_ssl": true, |
| 91 | "lb_policy":"ip_hash", |
| 92 | "visualRange": "1", |
| 93 | "path": "/aai/v11/business" |
| 94 | }, |
| 95 | { |
| 96 | "serviceName": "_aai-business", |
| 97 | "version": "v12", |
| 98 | "url": "/aai/v12/business", |
| 99 | "protocol": "REST", |
| 100 | "port": "8447", |
| 101 | "enable_ssl": true, |
| 102 | "lb_policy":"ip_hash", |
| 103 | "visualRange": "1", |
| 104 | "path": "/aai/v12/business" |
| 105 | }, |
| 106 | { |
| 107 | "serviceName": "_aai-business", |
| 108 | "version": "v13", |
| 109 | "url": "/aai/v13/business", |
| 110 | "protocol": "REST", |
| 111 | "port": "8447", |
| 112 | "enable_ssl": true, |
| 113 | "lb_policy":"ip_hash", |
| 114 | "visualRange": "1", |
| 115 | "path": "/aai/v13/business" |
| 116 | }, |
| 117 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 118 | "serviceName": "_aai-business", |
| 119 | "version": "v14", |
| 120 | "url": "/aai/v14/business", |
| 121 | "protocol": "REST", |
| 122 | "port": "8447", |
| 123 | "enable_ssl": true, |
| 124 | "lb_policy":"ip_hash", |
| 125 | "visualRange": "1", |
| 126 | "path": "/aai/v14/business" |
| 127 | }, |
| 128 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 129 | "serviceName": "_aai-actions", |
| 130 | "version": "v11", |
| 131 | "url": "/aai/v11/actions", |
| 132 | "protocol": "REST", |
| 133 | "port": "8447", |
| 134 | "enable_ssl": true, |
| 135 | "lb_policy":"ip_hash", |
| 136 | "visualRange": "1", |
| 137 | "path": "/aai/v11/actions" |
| 138 | }, |
| 139 | { |
| 140 | "serviceName": "_aai-actions", |
| 141 | "version": "v12", |
| 142 | "url": "/aai/v12/actions", |
| 143 | "protocol": "REST", |
| 144 | "port": "8447", |
| 145 | "enable_ssl": true, |
| 146 | "lb_policy":"ip_hash", |
| 147 | "visualRange": "1", |
| 148 | "path": "/aai/v12/actions" |
| 149 | }, |
| 150 | { |
| 151 | "serviceName": "_aai-actions", |
| 152 | "version": "v13", |
| 153 | "url": "/aai/v13/actions", |
| 154 | "protocol": "REST", |
| 155 | "port": "8447", |
| 156 | "enable_ssl": true, |
| 157 | "lb_policy":"ip_hash", |
| 158 | "visualRange": "1", |
| 159 | "path": "/aai/v13/actions" |
| 160 | }, |
| 161 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 162 | "serviceName": "_aai-actions", |
| 163 | "version": "v14", |
| 164 | "url": "/aai/v14/actions", |
| 165 | "protocol": "REST", |
| 166 | "port": "8447", |
| 167 | "enable_ssl": true, |
| 168 | "lb_policy":"ip_hash", |
| 169 | "visualRange": "1", |
| 170 | "path": "/aai/v14/actions" |
| 171 | }, |
| 172 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 173 | "serviceName": "_aai-service-design-and-creation", |
| 174 | "version": "v11", |
| 175 | "url": "/aai/v11/service-design-and-creation", |
| 176 | "protocol": "REST", |
| 177 | "port": "8447", |
| 178 | "enable_ssl": true, |
| 179 | "lb_policy":"ip_hash", |
| 180 | "visualRange": "1", |
| 181 | "path": "/aai/v11/service-design-and-creation" |
| 182 | }, |
| 183 | { |
| 184 | "serviceName": "_aai-service-design-and-creation", |
| 185 | "version": "v12", |
| 186 | "url": "/aai/v12/service-design-and-creation", |
| 187 | "protocol": "REST", |
| 188 | "port": "8447", |
| 189 | "enable_ssl": true, |
| 190 | "lb_policy":"ip_hash", |
| 191 | "visualRange": "1", |
| 192 | "path": "/aai/v12/service-design-and-creation" |
| 193 | }, |
| 194 | { |
| 195 | "serviceName": "_aai-service-design-and-creation", |
| 196 | "version": "v13", |
| 197 | "url": "/aai/v13/service-design-and-creation", |
| 198 | "protocol": "REST", |
| 199 | "port": "8447", |
| 200 | "enable_ssl": true, |
| 201 | "lb_policy":"ip_hash", |
| 202 | "visualRange": "1", |
| 203 | "path": "/aai/v13/service-design-and-creation" |
| 204 | }, |
| 205 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 206 | "serviceName": "_aai-service-design-and-creation", |
| 207 | "version": "v14", |
| 208 | "url": "/aai/v14/service-design-and-creation", |
| 209 | "protocol": "REST", |
| 210 | "port": "8447", |
| 211 | "enable_ssl": true, |
| 212 | "lb_policy":"ip_hash", |
| 213 | "visualRange": "1", |
| 214 | "path": "/aai/v14/service-design-and-creation" |
| 215 | }, |
| 216 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 217 | "serviceName": "_aai-network", |
| 218 | "version": "v11", |
| 219 | "url": "/aai/v11/network", |
| 220 | "protocol": "REST", |
| 221 | "port": "8447", |
| 222 | "enable_ssl": true, |
| 223 | "lb_policy":"ip_hash", |
| 224 | "visualRange": "1", |
| 225 | "path": "/aai/v11/network" |
| 226 | }, |
| 227 | { |
| 228 | "serviceName": "_aai-network", |
| 229 | "version": "v12", |
| 230 | "url": "/aai/v12/network", |
| 231 | "protocol": "REST", |
| 232 | "port": "8447", |
| 233 | "enable_ssl": true, |
| 234 | "lb_policy":"ip_hash", |
| 235 | "visualRange": "1", |
| 236 | "path": "/aai/v12/network" |
| 237 | }, |
| 238 | { |
| 239 | "serviceName": "_aai-network", |
| 240 | "version": "v13", |
| 241 | "url": "/aai/v13/network", |
| 242 | "protocol": "REST", |
| 243 | "port": "8447", |
| 244 | "enable_ssl": true, |
| 245 | "lb_policy":"ip_hash", |
| 246 | "visualRange": "1", |
| 247 | "path": "/aai/v13/network" |
| 248 | }, |
| 249 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 250 | "serviceName": "_aai-network", |
| 251 | "version": "v14", |
| 252 | "url": "/aai/v14/network", |
| 253 | "protocol": "REST", |
| 254 | "port": "8447", |
| 255 | "enable_ssl": true, |
| 256 | "lb_policy":"ip_hash", |
| 257 | "visualRange": "1", |
| 258 | "path": "/aai/v14/network" |
| 259 | }, |
| 260 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 261 | "serviceName": "_aai-externalSystem", |
| 262 | "version": "v11", |
| 263 | "url": "/aai/v11/external-system", |
| 264 | "protocol": "REST", |
| 265 | "port": "8447", |
| 266 | "enable_ssl": true, |
| 267 | "lb_policy":"ip_hash", |
| 268 | "visualRange": "1", |
| 269 | "path": "/aai/v11/external-system" |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 270 | }, |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 271 | { |
| 272 | "serviceName": "_aai-externalSystem", |
| 273 | "version": "v12", |
| 274 | "url": "/aai/v12/external-system", |
| 275 | "protocol": "REST", |
| 276 | "port": "8447", |
| 277 | "enable_ssl": true, |
| 278 | "lb_policy":"ip_hash", |
| 279 | "visualRange": "1", |
| 280 | "path": "/aai/v12/external-system" |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 281 | }, |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 282 | { |
| 283 | "serviceName": "_aai-externalSystem", |
| 284 | "version": "v13", |
| 285 | "url": "/aai/v13/external-system", |
| 286 | "protocol": "REST", |
| 287 | "port": "8447", |
| 288 | "enable_ssl": true, |
| 289 | "lb_policy":"ip_hash", |
| 290 | "visualRange": "1", |
| 291 | "path": "/aai/v13/external-system" |
| 292 | }, |
| 293 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 294 | "serviceName": "_aai-externalSystem", |
| 295 | "version": "v14", |
| 296 | "url": "/aai/v14/external-system", |
| 297 | "protocol": "REST", |
| 298 | "port": "8447", |
| 299 | "enable_ssl": true, |
| 300 | "lb_policy":"ip_hash", |
| 301 | "visualRange": "1", |
| 302 | "path": "/aai/v14/external-system" |
| 303 | }, |
| 304 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 305 | "serviceName": "aai-cloudInfrastructure", |
| 306 | "version": "v11", |
| 307 | "url": "/aai/v11/cloud-infrastructure", |
| 308 | "protocol": "REST", |
| 309 | "port": "8447", |
| 310 | "enable_ssl": true, |
| 311 | "lb_policy":"ip_hash", |
| 312 | "visualRange": "1" |
| 313 | }, |
| 314 | { |
| 315 | "serviceName": "aai-cloudInfrastructure", |
| 316 | "version": "v12", |
| 317 | "url": "/aai/v12/cloud-infrastructure", |
| 318 | "protocol": "REST", |
| 319 | "port": "8447", |
| 320 | "enable_ssl": true, |
| 321 | "lb_policy":"ip_hash", |
| 322 | "visualRange": "1" |
| 323 | }, |
| 324 | { |
| 325 | "serviceName": "aai-cloudInfrastructure", |
| 326 | "version": "v13", |
| 327 | "url": "/aai/v13/cloud-infrastructure", |
| 328 | "protocol": "REST", |
| 329 | "port": "8447", |
| 330 | "enable_ssl": true, |
| 331 | "lb_policy":"ip_hash", |
| 332 | "visualRange": "1" |
| 333 | }, |
| 334 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 335 | "serviceName": "aai-cloudInfrastructure", |
| 336 | "version": "v14", |
| 337 | "url": "/aai/v14/cloud-infrastructure", |
| 338 | "protocol": "REST", |
| 339 | "port": "8447", |
| 340 | "enable_ssl": true, |
| 341 | "lb_policy":"ip_hash", |
| 342 | "visualRange": "1" |
| 343 | }, |
| 344 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 345 | "serviceName": "aai-business", |
| 346 | "version": "v11", |
| 347 | "url": "/aai/v11/business", |
| 348 | "protocol": "REST", |
| 349 | "port": "8447", |
| 350 | "enable_ssl": true, |
| 351 | "lb_policy":"ip_hash", |
| 352 | "visualRange": "1" |
| 353 | }, |
| 354 | { |
| 355 | "serviceName": "aai-business", |
| 356 | "version": "v12", |
| 357 | "url": "/aai/v12/business", |
| 358 | "protocol": "REST", |
| 359 | "port": "8447", |
| 360 | "enable_ssl": true, |
| 361 | "lb_policy":"ip_hash", |
| 362 | "visualRange": "1" |
| 363 | }, |
| 364 | { |
| 365 | "serviceName": "aai-business", |
| 366 | "version": "v13", |
| 367 | "url": "/aai/v13/business", |
| 368 | "protocol": "REST", |
| 369 | "port": "8447", |
| 370 | "enable_ssl": true, |
| 371 | "lb_policy":"ip_hash", |
| 372 | "visualRange": "1" |
| 373 | }, |
| 374 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 375 | "serviceName": "aai-business", |
| 376 | "version": "v14", |
| 377 | "url": "/aai/v14/business", |
| 378 | "protocol": "REST", |
| 379 | "port": "8447", |
| 380 | "enable_ssl": true, |
| 381 | "lb_policy":"ip_hash", |
| 382 | "visualRange": "1" |
| 383 | }, |
| 384 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 385 | "serviceName": "aai-actions", |
| 386 | "version": "v11", |
| 387 | "url": "/aai/v11/actions", |
| 388 | "protocol": "REST", |
| 389 | "port": "8447", |
| 390 | "enable_ssl": true, |
| 391 | "lb_policy":"ip_hash", |
| 392 | "visualRange": "1" |
| 393 | }, |
| 394 | { |
| 395 | "serviceName": "aai-actions", |
| 396 | "version": "v12", |
| 397 | "url": "/aai/v12/actions", |
| 398 | "protocol": "REST", |
| 399 | "port": "8447", |
| 400 | "enable_ssl": true, |
| 401 | "lb_policy":"ip_hash", |
| 402 | "visualRange": "1" |
| 403 | }, |
| 404 | { |
| 405 | "serviceName": "aai-actions", |
| 406 | "version": "v13", |
| 407 | "url": "/aai/v13/actions", |
| 408 | "protocol": "REST", |
| 409 | "port": "8447", |
| 410 | "enable_ssl": true, |
| 411 | "lb_policy":"ip_hash", |
| 412 | "visualRange": "1" |
| 413 | }, |
| 414 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 415 | "serviceName": "aai-actions", |
| 416 | "version": "v14", |
| 417 | "url": "/aai/v14/actions", |
| 418 | "protocol": "REST", |
| 419 | "port": "8447", |
| 420 | "enable_ssl": true, |
| 421 | "lb_policy":"ip_hash", |
| 422 | "visualRange": "1" |
| 423 | }, |
| 424 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 425 | "serviceName": "aai-service-design-and-creation", |
| 426 | "version": "v11", |
| 427 | "url": "/aai/v11/service-design-and-creation", |
| 428 | "protocol": "REST", |
| 429 | "port": "8447", |
| 430 | "enable_ssl": true, |
| 431 | "lb_policy":"ip_hash", |
| 432 | "visualRange": "1" |
| 433 | }, |
| 434 | { |
| 435 | "serviceName": "aai-service-design-and-creation", |
| 436 | "version": "v12", |
| 437 | "url": "/aai/v12/service-design-and-creation", |
| 438 | "protocol": "REST", |
| 439 | "port": "8447", |
| 440 | "enable_ssl": true, |
| 441 | "lb_policy":"ip_hash", |
| 442 | "visualRange": "1" |
| 443 | }, |
| 444 | { |
| 445 | "serviceName": "aai-service-design-and-creation", |
| 446 | "version": "v13", |
| 447 | "url": "/aai/v13/service-design-and-creation", |
| 448 | "protocol": "REST", |
| 449 | "port": "8447", |
| 450 | "enable_ssl": true, |
| 451 | "lb_policy":"ip_hash", |
| 452 | "visualRange": "1" |
| 453 | }, |
| 454 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 455 | "serviceName": "aai-service-design-and-creation", |
| 456 | "version": "v14", |
| 457 | "url": "/aai/v14/service-design-and-creation", |
| 458 | "protocol": "REST", |
| 459 | "port": "8447", |
| 460 | "enable_ssl": true, |
| 461 | "lb_policy":"ip_hash", |
| 462 | "visualRange": "1" |
| 463 | }, |
| 464 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 465 | "serviceName": "aai-network", |
| 466 | "version": "v11", |
| 467 | "url": "/aai/v11/network", |
| 468 | "protocol": "REST", |
| 469 | "port": "8447", |
| 470 | "enable_ssl": true, |
| 471 | "lb_policy":"ip_hash", |
| 472 | "visualRange": "1" |
| 473 | }, |
| 474 | { |
| 475 | "serviceName": "aai-network", |
| 476 | "version": "v12", |
| 477 | "url": "/aai/v12/network", |
| 478 | "protocol": "REST", |
| 479 | "port": "8447", |
| 480 | "enable_ssl": true, |
| 481 | "lb_policy":"ip_hash", |
| 482 | "visualRange": "1" |
| 483 | }, |
| 484 | { |
| 485 | "serviceName": "aai-network", |
| 486 | "version": "v13", |
| 487 | "url": "/aai/v13/network", |
| 488 | "protocol": "REST", |
| 489 | "port": "8447", |
| 490 | "enable_ssl": true, |
| 491 | "lb_policy":"ip_hash", |
| 492 | "visualRange": "1" |
| 493 | }, |
| 494 | { |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 495 | "serviceName": "aai-network", |
| 496 | "version": "v14", |
| 497 | "url": "/aai/v14/network", |
| 498 | "protocol": "REST", |
| 499 | "port": "8447", |
| 500 | "enable_ssl": true, |
| 501 | "lb_policy":"ip_hash", |
| 502 | "visualRange": "1" |
| 503 | }, |
| 504 | { |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 505 | "serviceName": "aai-externalSystem", |
| 506 | "version": "v11", |
| 507 | "url": "/aai/v11/external-system", |
| 508 | "protocol": "REST", |
| 509 | "port": "8447", |
| 510 | "enable_ssl": true, |
| 511 | "lb_policy":"ip_hash", |
| 512 | "visualRange": "1" |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 513 | }, |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 514 | { |
| 515 | "serviceName": "aai-externalSystem", |
| 516 | "version": "v12", |
| 517 | "url": "/aai/v12/external-system", |
| 518 | "protocol": "REST", |
| 519 | "port": "8447", |
| 520 | "enable_ssl": true, |
| 521 | "lb_policy":"ip_hash", |
| 522 | "visualRange": "1" |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 523 | }, |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 524 | { |
| 525 | "serviceName": "aai-externalSystem", |
| 526 | "version": "v13", |
| 527 | "url": "/aai/v13/external-system", |
| 528 | "protocol": "REST", |
| 529 | "port": "8447", |
| 530 | "enable_ssl": true, |
| 531 | "lb_policy":"ip_hash", |
| 532 | "visualRange": "1" |
Ondrej Frindrich | d1400ca | 2018-12-03 12:46:16 +0100 | [diff] [blame^] | 533 | }, |
| 534 | { |
| 535 | "serviceName": "aai-externalSystem", |
| 536 | "version": "v14", |
| 537 | "url": "/aai/v14/external-system", |
| 538 | "protocol": "REST", |
| 539 | "port": "8447", |
| 540 | "enable_ssl": true, |
| 541 | "lb_policy":"ip_hash", |
| 542 | "visualRange": "1" |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 543 | } |
AdrianSlavkovsky | 03cc589 | 2018-03-08 09:55:53 +0100 | [diff] [blame] | 544 | ]' |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 545 | spec: |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 546 | hostname: aai-resources |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 547 | {{ if .Values.global.initContainers.enabled }} |
kiranya | 52a5783 | 2017-11-22 12:21:55 +0000 | [diff] [blame] | 548 | initContainers: |
| 549 | - command: |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 550 | {{ if .Values.global.jobs.createSchema.enabled }} |
| 551 | - /root/job_complete.py |
| 552 | args: |
| 553 | - --job-name |
| 554 | - {{ .Release.Name }}-aai-graphadmin-create-db-schema |
| 555 | {{ else }} |
kiranya | 52a5783 | 2017-11-22 12:21:55 +0000 | [diff] [blame] | 556 | - /root/ready.py |
| 557 | args: |
| 558 | - --container-name |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 559 | - aai-cassandra |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 560 | {{ end }} |
kiranya | 52a5783 | 2017-11-22 12:21:55 +0000 | [diff] [blame] | 561 | env: |
| 562 | - name: NAMESPACE |
| 563 | valueFrom: |
| 564 | fieldRef: |
| 565 | apiVersion: v1 |
| 566 | fieldPath: metadata.namespace |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 567 | image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" |
| 568 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 569 | name: {{ include "common.name" . }}-readiness |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 570 | {{ end }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 571 | containers: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 572 | - name: {{ include "common.name" . }} |
BorislavG | df11cd5 | 2018-05-06 12:55:20 +0000 | [diff] [blame] | 573 | image: "{{ include "common.repository" . }}/{{ .Values.image }}" |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 574 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 575 | env: |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 576 | - name: LOCAL_USER_ID |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 577 | value: {{ .Values.global.config.userId | quote }} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 578 | - name: LOCAL_GROUP_ID |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 579 | value: {{ .Values.global.config.groupId | quote }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 580 | volumeMounts: |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 581 | - mountPath: /etc/localtime |
| 582 | name: localtime |
| 583 | readOnly: true |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 584 | - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties |
| 585 | name: {{ include "common.fullname" . }}-db-real-conf |
| 586 | subPath: janusgraph-realtime.properties |
| 587 | - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-cached.properties |
| 588 | name: {{ include "common.fullname" . }}-db-cached-conf |
| 589 | subPath: janusgraph-cached.properties |
| 590 | - mountPath: /opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties |
| 591 | name: {{ include "common.fullname" . }}-aaiconfig-conf |
| 592 | subPath: aaiconfig.properties |
Harish V Kajur | 8e7cbd2 | 2018-05-07 14:02:46 +0000 | [diff] [blame] | 593 | - mountPath: /opt/aai/logroot/AAI-RES |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 594 | name: {{ include "common.fullname" . }}-logs |
| 595 | - mountPath: /opt/app/aai-resources/resources/logback.xml |
| 596 | name: {{ include "common.fullname" . }}-log-conf |
BorislavG | b2b9918 | 2017-10-03 15:40:55 +0300 | [diff] [blame] | 597 | subPath: logback.xml |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 598 | - mountPath: /opt/app/aai-resources/resources/localhost-access-logback.xml |
| 599 | name: {{ include "common.fullname" . }}-localhost-access-log-conf |
| 600 | subPath: localhost-access-logback.xml |
Kajur, Harish (vk250x) | 5386b5a | 2018-10-03 11:41:42 -0400 | [diff] [blame] | 601 | - mountPath: /opt/app/aai-resources/resources/etc/auth/realm.properties |
| 602 | name: {{ include "common.fullname" . }}-realm-conf |
| 603 | subPath: realm.properties |
Pavel Paroulek | 58ab38e | 2018-09-12 21:34:41 +0200 | [diff] [blame] | 604 | - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.keyfile |
| 605 | name: {{ include "common.fullname" . }}-aaf-certs |
| 606 | subPath: org.onap.aai.keyfile |
Pavel Paroulek | 8aaf2cf | 2018-10-16 15:21:06 +0200 | [diff] [blame] | 607 | - mountPath: /opt/app/aai-resources/resources/aaf/bath_config.csv |
| 608 | name: {{ include "common.fullname" . }}-aaf-certs |
| 609 | subPath: bath_config.csv |
Pavel Paroulek | 58ab38e | 2018-09-12 21:34:41 +0200 | [diff] [blame] | 610 | - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.props |
| 611 | name: {{ include "common.fullname" . }}-aaf-properties |
| 612 | subPath: org.onap.aai.props |
| 613 | - mountPath: /opt/app/aai-resources/resources/aaf/org.osaaf.location.props |
| 614 | name: {{ include "common.fullname" . }}-aaf-properties |
| 615 | subPath: org.osaaf.location.props |
| 616 | - mountPath: /opt/app/aai-resources/resources/aaf/permissions.properties |
| 617 | name: {{ include "common.fullname" . }}-aaf-properties |
| 618 | subPath: permissions.properties |
| 619 | - mountPath: /opt/app/aai-resources/resources/cadi.properties |
| 620 | name: {{ include "common.fullname" . }}-aaf-properties |
| 621 | subPath: cadi.properties |
| 622 | - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.p12 |
| 623 | name: {{ include "common.fullname" . }}-aaf-certs |
| 624 | subPath: org.onap.aai.p12 |
| 625 | - mountPath: /opt/app/aai-resources/resources/aaf/truststoreONAPall.jks |
| 626 | name: {{ include "common.fullname" . }}-aaf-certs |
| 627 | subPath: truststoreONAPall.jks |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 628 | - mountPath: /opt/app/aai-resources/resources/application.properties |
| 629 | name: {{ include "common.fullname" . }}-springapp-conf |
| 630 | subPath: application.properties |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 631 | {{ $global := . }} |
| 632 | {{ range $job := .Values.global.config.auth.files }} |
| 633 | - mountPath: /opt/app/aai-resources/resources/etc/auth/{{ . }} |
| 634 | name: {{ include "common.fullname" $global }}-auth-truststore-sec |
| 635 | subPath: {{ . }} |
| 636 | {{ end }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 637 | ports: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 638 | - containerPort: {{ .Values.service.internalPort }} |
| 639 | - containerPort: {{ .Values.service.internalPort2 }} |
| 640 | # disable liveness probe when breakpoints set in debugger |
| 641 | # so K8s doesn't restart unresponsive container |
| 642 | {{ if .Values.liveness.enabled }} |
| 643 | livenessProbe: |
| 644 | tcpSocket: |
| 645 | port: {{ .Values.service.internalPort }} |
| 646 | initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} |
| 647 | periodSeconds: {{ .Values.liveness.periodSeconds }} |
| 648 | {{ end }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 649 | readinessProbe: |
| 650 | tcpSocket: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 651 | port: {{ .Values.service.internalPort }} |
| 652 | initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} |
| 653 | periodSeconds: {{ .Values.readiness.periodSeconds }} |
| 654 | resources: |
Mandeep Khinda | 5e3f36a | 2018-09-24 15:25:42 +0000 | [diff] [blame] | 655 | {{ include "common.resources" . | indent 12 }} |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 656 | {{- if .Values.nodeSelector }} |
| 657 | nodeSelector: |
| 658 | {{ toYaml .Values.nodeSelector | indent 8 }} |
| 659 | {{- end -}} |
| 660 | {{- if .Values.affinity }} |
| 661 | affinity: |
| 662 | {{ toYaml .Values.affinity | indent 8 }} |
| 663 | {{- end }} |
| 664 | |
| 665 | # side car containers |
| 666 | - name: filebeat-onap |
| 667 | image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}" |
| 668 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
BorislavG | b2b9918 | 2017-10-03 15:40:55 +0300 | [diff] [blame] | 669 | volumeMounts: |
| 670 | - mountPath: /usr/share/filebeat/filebeat.yml |
mayankg2703 | f313ba9 | 2018-02-05 09:01:02 +0000 | [diff] [blame] | 671 | subPath: filebeat.yml |
BorislavG | b2b9918 | 2017-10-03 15:40:55 +0300 | [diff] [blame] | 672 | name: filebeat-conf |
| 673 | - mountPath: /var/log/onap |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 674 | name: {{ include "common.fullname" . }}-logs |
BorislavG | b2b9918 | 2017-10-03 15:40:55 +0300 | [diff] [blame] | 675 | - mountPath: /usr/share/filebeat/data |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 676 | name: {{ include "common.fullname" . }}-filebeat |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 677 | |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 678 | volumes: |
yuryn | 8b3bc5a | 2017-09-13 19:21:03 +0300 | [diff] [blame] | 679 | - name: localtime |
| 680 | hostPath: |
| 681 | path: /etc/localtime |
BorislavG | b2b9918 | 2017-10-03 15:40:55 +0300 | [diff] [blame] | 682 | - name: filebeat-conf |
mayankg2703 | f313ba9 | 2018-02-05 09:01:02 +0000 | [diff] [blame] | 683 | configMap: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 684 | name: aai-filebeat |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 685 | - name: {{ include "common.fullname" . }}-logs |
BorislavG | b2b9918 | 2017-10-03 15:40:55 +0300 | [diff] [blame] | 686 | emptyDir: {} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 687 | - name: {{ include "common.fullname" . }}-filebeat |
BorislavG | b2b9918 | 2017-10-03 15:40:55 +0300 | [diff] [blame] | 688 | emptyDir: {} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 689 | - name: {{ include "common.fullname" . }}-log-conf |
BorislavG | b2b9918 | 2017-10-03 15:40:55 +0300 | [diff] [blame] | 690 | configMap: |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 691 | name: {{ include "common.fullname" . }}-log |
| 692 | - name: {{ include "common.fullname" . }}-localhost-access-log-conf |
| 693 | configMap: |
| 694 | name: {{ include "common.fullname" . }}-localhost-access-log-configmap |
| 695 | - name: {{ include "common.fullname" . }}-db-real-conf |
| 696 | configMap: |
| 697 | name: {{ include "common.fullname" . }}-db-real-configmap |
| 698 | - name: {{ include "common.fullname" . }}-db-cached-conf |
| 699 | configMap: |
| 700 | name: {{ include "common.fullname" . }}-db-cached-configmap |
| 701 | - name: {{ include "common.fullname" . }}-aaiconfig-conf |
| 702 | configMap: |
| 703 | name: {{ include "common.fullname" . }}-aaiconfig-configmap |
Pavel Paroulek | 58ab38e | 2018-09-12 21:34:41 +0200 | [diff] [blame] | 704 | - name: {{ include "common.fullname" . }}-aaf-properties |
| 705 | configMap: |
| 706 | name: {{ include "common.fullname" . }}-aaf-props |
| 707 | - name: {{ include "common.fullname" . }}-aaf-certs |
| 708 | secret: |
| 709 | secretName: {{ include "common.fullname" . }}-aaf-keys |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 710 | - name: {{ include "common.fullname" . }}-springapp-conf |
| 711 | configMap: |
| 712 | name: {{ include "common.fullname" . }}-springapp-configmap |
| 713 | - name: {{ include "common.fullname" . }}-realm-conf |
| 714 | configMap: |
| 715 | name: {{ include "common.fullname" . }}-realm-configmap |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 716 | - name: {{ include "common.fullname" . }}-auth-truststore-sec |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 717 | secret: |
Kajur, Harish (vk250x) | 00107b5 | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 718 | secretName: aai-auth-truststore-secret |
| 719 | items: |
| 720 | {{ range $job := .Values.global.config.auth.files }} |
| 721 | - key: {{ . }} |
| 722 | path: {{ . }} |
| 723 | {{ end }} |
vagrant | 1a3a355 | 2018-03-10 23:56:32 +0000 | [diff] [blame] | 724 | restartPolicy: {{ .Values.restartPolicy }} |
Mandeep Khinda | 4b88197 | 2017-08-30 14:24:02 +0000 | [diff] [blame] | 725 | imagePullSecrets: |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 726 | - name: "{{ include "common.namespace" . }}-docker-registry-key" |