Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright (c) 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright (c) 2018 AT&T |
| 3 | # Modifications Copyright (c) 2020 Nokia |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | apiVersion: apps/v1 |
| 18 | kind: Deployment |
| 19 | metadata: |
| 20 | name: {{ include "common.fullname" . }} |
| 21 | namespace: {{ include "common.namespace" . }} |
| 22 | labels: |
| 23 | app: {{ include "common.name" . }} |
| 24 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 25 | release: {{ include "common.release" . }} |
| 26 | heritage: {{ .Release.Service }} |
| 27 | spec: |
| 28 | replicas: {{ .Values.replicaCount }} |
| 29 | selector: |
| 30 | matchLabels: |
| 31 | app: {{ include "common.name" . }} |
| 32 | template: |
| 33 | metadata: |
| 34 | labels: |
| 35 | app: {{ include "common.name" . }} |
| 36 | release: {{ include "common.release" . }} |
| 37 | name: {{ include "common.name" . }} |
| 38 | annotations: |
| 39 | checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} |
| 40 | msb.onap.org/service-info: '[ |
| 41 | { |
| 42 | "serviceName": "_aai-cloudInfrastructure", |
| 43 | "version": "v11", |
| 44 | "url": "/aai/v11/cloud-infrastructure", |
| 45 | "protocol": "REST", |
| 46 | "port": "8447", |
| 47 | "enable_ssl": true, |
| 48 | "lb_policy":"ip_hash", |
| 49 | "visualRange": "1", |
| 50 | "path": "/aai/v11/cloud-infrastructure" |
| 51 | }, |
| 52 | { |
| 53 | "serviceName": "_aai-cloudInfrastructure", |
| 54 | "version": "v12", |
| 55 | "url": "/aai/v12/cloud-infrastructure", |
| 56 | "protocol": "REST", |
| 57 | "port": "8447", |
| 58 | "enable_ssl": true, |
| 59 | "lb_policy":"ip_hash", |
| 60 | "visualRange": "1", |
| 61 | "path": "/aai/v12/cloud-infrastructure" |
| 62 | }, |
| 63 | { |
| 64 | "serviceName": "_aai-cloudInfrastructure", |
| 65 | "version": "v13", |
| 66 | "url": "/aai/v13/cloud-infrastructure", |
| 67 | "protocol": "REST", |
| 68 | "port": "8447", |
| 69 | "enable_ssl": true, |
| 70 | "lb_policy":"ip_hash", |
| 71 | "visualRange": "1", |
| 72 | "path": "/aai/v13/cloud-infrastructure" |
| 73 | }, |
| 74 | { |
| 75 | "serviceName": "_aai-cloudInfrastructure", |
| 76 | "version": "v14", |
| 77 | "url": "/aai/v14/cloud-infrastructure", |
| 78 | "protocol": "REST", |
| 79 | "port": "8447", |
| 80 | "enable_ssl": true, |
| 81 | "lb_policy":"ip_hash", |
| 82 | "visualRange": "1", |
| 83 | "path": "/aai/v14/cloud-infrastructure" |
| 84 | }, |
| 85 | { |
| 86 | "serviceName": "_aai-cloudInfrastructure", |
| 87 | "version": "v15", |
| 88 | "url": "/aai/v15/cloud-infrastructure", |
| 89 | "protocol": "REST", |
| 90 | "port": "8447", |
| 91 | "enable_ssl": true, |
| 92 | "lb_policy":"ip_hash", |
| 93 | "visualRange": "1", |
| 94 | "path": "/aai/v15/cloud-infrastructure" |
| 95 | }, |
| 96 | { |
| 97 | "serviceName": "_aai-cloudInfrastructure", |
| 98 | "version": "v16", |
| 99 | "url": "/aai/v16/cloud-infrastructure", |
| 100 | "protocol": "REST", |
| 101 | "port": "8447", |
| 102 | "enable_ssl": true, |
| 103 | "lb_policy":"ip_hash", |
| 104 | "visualRange": "1", |
| 105 | "path": "/aai/v16/cloud-infrastructure" |
| 106 | }, |
| 107 | { |
| 108 | "serviceName": "_aai-cloudInfrastructure", |
| 109 | "version": "v17", |
| 110 | "url": "/aai/v17/cloud-infrastructure", |
| 111 | "protocol": "REST", |
| 112 | "port": "8447", |
| 113 | "enable_ssl": true, |
| 114 | "lb_policy":"ip_hash", |
| 115 | "visualRange": "1", |
| 116 | "path": "/aai/v17/cloud-infrastructure" |
| 117 | }, |
| 118 | { |
| 119 | "serviceName": "_aai-cloudInfrastructure", |
| 120 | "version": "v18", |
| 121 | "url": "/aai/v18/cloud-infrastructure", |
| 122 | "protocol": "REST", |
| 123 | "port": "8447", |
| 124 | "enable_ssl": true, |
| 125 | "lb_policy":"ip_hash", |
| 126 | "visualRange": "1", |
| 127 | "path": "/aai/v18/cloud-infrastructure" |
| 128 | }, |
| 129 | { |
| 130 | "serviceName": "_aai-cloudInfrastructure", |
| 131 | "version": "v19", |
| 132 | "url": "/aai/v19/cloud-infrastructure", |
| 133 | "protocol": "REST", |
| 134 | "port": "8447", |
| 135 | "enable_ssl": true, |
| 136 | "lb_policy":"ip_hash", |
| 137 | "visualRange": "1", |
| 138 | "path": "/aai/v19/cloud-infrastructure" |
| 139 | }, |
| 140 | { |
| 141 | "serviceName": "_aai-business", |
| 142 | "version": "v11", |
| 143 | "url": "/aai/v11/business", |
| 144 | "protocol": "REST", |
| 145 | "port": "8447", |
| 146 | "enable_ssl": true, |
| 147 | "lb_policy":"ip_hash", |
| 148 | "visualRange": "1", |
| 149 | "path": "/aai/v11/business" |
| 150 | }, |
| 151 | { |
| 152 | "serviceName": "_aai-business", |
| 153 | "version": "v12", |
| 154 | "url": "/aai/v12/business", |
| 155 | "protocol": "REST", |
| 156 | "port": "8447", |
| 157 | "enable_ssl": true, |
| 158 | "lb_policy":"ip_hash", |
| 159 | "visualRange": "1", |
| 160 | "path": "/aai/v12/business" |
| 161 | }, |
| 162 | { |
| 163 | "serviceName": "_aai-business", |
| 164 | "version": "v13", |
| 165 | "url": "/aai/v13/business", |
| 166 | "protocol": "REST", |
| 167 | "port": "8447", |
| 168 | "enable_ssl": true, |
| 169 | "lb_policy":"ip_hash", |
| 170 | "visualRange": "1", |
| 171 | "path": "/aai/v13/business" |
| 172 | }, |
| 173 | { |
| 174 | "serviceName": "_aai-business", |
| 175 | "version": "v14", |
| 176 | "url": "/aai/v14/business", |
| 177 | "protocol": "REST", |
| 178 | "port": "8447", |
| 179 | "enable_ssl": true, |
| 180 | "lb_policy":"ip_hash", |
| 181 | "visualRange": "1", |
| 182 | "path": "/aai/v14/business" |
| 183 | }, |
| 184 | { |
| 185 | "serviceName": "_aai-business", |
| 186 | "version": "v15", |
| 187 | "url": "/aai/v15/business", |
| 188 | "protocol": "REST", |
| 189 | "port": "8447", |
| 190 | "enable_ssl": true, |
| 191 | "lb_policy":"ip_hash", |
| 192 | "visualRange": "1", |
| 193 | "path": "/aai/v15/business" |
| 194 | }, |
| 195 | { |
| 196 | "serviceName": "_aai-business", |
| 197 | "version": "v16", |
| 198 | "url": "/aai/v16/business", |
| 199 | "protocol": "REST", |
| 200 | "port": "8447", |
| 201 | "enable_ssl": true, |
| 202 | "lb_policy":"ip_hash", |
| 203 | "visualRange": "1", |
| 204 | "path": "/aai/v16/business" |
| 205 | }, |
| 206 | { |
| 207 | "serviceName": "_aai-business", |
| 208 | "version": "v17", |
| 209 | "url": "/aai/v17/business", |
| 210 | "protocol": "REST", |
| 211 | "port": "8447", |
| 212 | "enable_ssl": true, |
| 213 | "lb_policy":"ip_hash", |
| 214 | "visualRange": "1", |
| 215 | "path": "/aai/v17/business" |
| 216 | }, |
| 217 | { |
| 218 | "serviceName": "_aai-business", |
| 219 | "version": "v18", |
| 220 | "url": "/aai/v18/business", |
| 221 | "protocol": "REST", |
| 222 | "port": "8447", |
| 223 | "enable_ssl": true, |
| 224 | "lb_policy":"ip_hash", |
| 225 | "visualRange": "1", |
| 226 | "path": "/aai/v18/business" |
| 227 | }, |
| 228 | { |
| 229 | "serviceName": "_aai-business", |
| 230 | "version": "v19", |
| 231 | "url": "/aai/v19/business", |
| 232 | "protocol": "REST", |
| 233 | "port": "8447", |
| 234 | "enable_ssl": true, |
| 235 | "lb_policy":"ip_hash", |
| 236 | "visualRange": "1", |
| 237 | "path": "/aai/v19/business" |
| 238 | }, |
| 239 | { |
| 240 | "serviceName": "_aai-actions", |
| 241 | "version": "v11", |
| 242 | "url": "/aai/v11/actions", |
| 243 | "protocol": "REST", |
| 244 | "port": "8447", |
| 245 | "enable_ssl": true, |
| 246 | "lb_policy":"ip_hash", |
| 247 | "visualRange": "1", |
| 248 | "path": "/aai/v11/actions" |
| 249 | }, |
| 250 | { |
| 251 | "serviceName": "_aai-actions", |
| 252 | "version": "v12", |
| 253 | "url": "/aai/v12/actions", |
| 254 | "protocol": "REST", |
| 255 | "port": "8447", |
| 256 | "enable_ssl": true, |
| 257 | "lb_policy":"ip_hash", |
| 258 | "visualRange": "1", |
| 259 | "path": "/aai/v12/actions" |
| 260 | }, |
| 261 | { |
| 262 | "serviceName": "_aai-actions", |
| 263 | "version": "v13", |
| 264 | "url": "/aai/v13/actions", |
| 265 | "protocol": "REST", |
| 266 | "port": "8447", |
| 267 | "enable_ssl": true, |
| 268 | "lb_policy":"ip_hash", |
| 269 | "visualRange": "1", |
| 270 | "path": "/aai/v13/actions" |
| 271 | }, |
| 272 | { |
| 273 | "serviceName": "_aai-actions", |
| 274 | "version": "v14", |
| 275 | "url": "/aai/v14/actions", |
| 276 | "protocol": "REST", |
| 277 | "port": "8447", |
| 278 | "enable_ssl": true, |
| 279 | "lb_policy":"ip_hash", |
| 280 | "visualRange": "1", |
| 281 | "path": "/aai/v14/actions" |
| 282 | }, |
| 283 | { |
| 284 | "serviceName": "_aai-actions", |
| 285 | "version": "v15", |
| 286 | "url": "/aai/v15/actions", |
| 287 | "protocol": "REST", |
| 288 | "port": "8447", |
| 289 | "enable_ssl": true, |
| 290 | "lb_policy":"ip_hash", |
| 291 | "visualRange": "1", |
| 292 | "path": "/aai/v15/actions" |
| 293 | }, |
| 294 | { |
| 295 | "serviceName": "_aai-actions", |
| 296 | "version": "v16", |
| 297 | "url": "/aai/v16/actions", |
| 298 | "protocol": "REST", |
| 299 | "port": "8447", |
| 300 | "enable_ssl": true, |
| 301 | "lb_policy":"ip_hash", |
| 302 | "visualRange": "1", |
| 303 | "path": "/aai/v16/actions" |
| 304 | }, |
| 305 | { |
| 306 | "serviceName": "_aai-actions", |
| 307 | "version": "v17", |
| 308 | "url": "/aai/v17/actions", |
| 309 | "protocol": "REST", |
| 310 | "port": "8447", |
| 311 | "enable_ssl": true, |
| 312 | "lb_policy":"ip_hash", |
| 313 | "visualRange": "1", |
| 314 | "path": "/aai/v17/actions" |
| 315 | }, |
| 316 | { |
| 317 | "serviceName": "_aai-actions", |
| 318 | "version": "v18", |
| 319 | "url": "/aai/v18/actions", |
| 320 | "protocol": "REST", |
| 321 | "port": "8447", |
| 322 | "enable_ssl": true, |
| 323 | "lb_policy":"ip_hash", |
| 324 | "visualRange": "1", |
| 325 | "path": "/aai/v18/actions" |
| 326 | }, |
| 327 | { |
| 328 | "serviceName": "_aai-actions", |
| 329 | "version": "v19", |
| 330 | "url": "/aai/v19/actions", |
| 331 | "protocol": "REST", |
| 332 | "port": "8447", |
| 333 | "enable_ssl": true, |
| 334 | "lb_policy":"ip_hash", |
| 335 | "visualRange": "1", |
| 336 | "path": "/aai/v19/actions" |
| 337 | }, |
| 338 | { |
| 339 | "serviceName": "_aai-service-design-and-creation", |
| 340 | "version": "v11", |
| 341 | "url": "/aai/v11/service-design-and-creation", |
| 342 | "protocol": "REST", |
| 343 | "port": "8447", |
| 344 | "enable_ssl": true, |
| 345 | "lb_policy":"ip_hash", |
| 346 | "visualRange": "1", |
| 347 | "path": "/aai/v11/service-design-and-creation" |
| 348 | }, |
| 349 | { |
| 350 | "serviceName": "_aai-service-design-and-creation", |
| 351 | "version": "v12", |
| 352 | "url": "/aai/v12/service-design-and-creation", |
| 353 | "protocol": "REST", |
| 354 | "port": "8447", |
| 355 | "enable_ssl": true, |
| 356 | "lb_policy":"ip_hash", |
| 357 | "visualRange": "1", |
| 358 | "path": "/aai/v12/service-design-and-creation" |
| 359 | }, |
| 360 | { |
| 361 | "serviceName": "_aai-service-design-and-creation", |
| 362 | "version": "v13", |
| 363 | "url": "/aai/v13/service-design-and-creation", |
| 364 | "protocol": "REST", |
| 365 | "port": "8447", |
| 366 | "enable_ssl": true, |
| 367 | "lb_policy":"ip_hash", |
| 368 | "visualRange": "1", |
| 369 | "path": "/aai/v13/service-design-and-creation" |
| 370 | }, |
| 371 | { |
| 372 | "serviceName": "_aai-service-design-and-creation", |
| 373 | "version": "v14", |
| 374 | "url": "/aai/v14/service-design-and-creation", |
| 375 | "protocol": "REST", |
| 376 | "port": "8447", |
| 377 | "enable_ssl": true, |
| 378 | "lb_policy":"ip_hash", |
| 379 | "visualRange": "1", |
| 380 | "path": "/aai/v14/service-design-and-creation" |
| 381 | }, |
| 382 | { |
| 383 | "serviceName": "_aai-service-design-and-creation", |
| 384 | "version": "v15", |
| 385 | "url": "/aai/v15/service-design-and-creation", |
| 386 | "protocol": "REST", |
| 387 | "port": "8447", |
| 388 | "enable_ssl": true, |
| 389 | "lb_policy":"ip_hash", |
| 390 | "visualRange": "1", |
| 391 | "path": "/aai/v15/service-design-and-creation" |
| 392 | }, |
| 393 | { |
| 394 | "serviceName": "_aai-service-design-and-creation", |
| 395 | "version": "v16", |
| 396 | "url": "/aai/v16/service-design-and-creation", |
| 397 | "protocol": "REST", |
| 398 | "port": "8447", |
| 399 | "enable_ssl": true, |
| 400 | "lb_policy":"ip_hash", |
| 401 | "visualRange": "1", |
| 402 | "path": "/aai/v16/service-design-and-creation" |
| 403 | }, |
| 404 | { |
| 405 | "serviceName": "_aai-service-design-and-creation", |
| 406 | "version": "v17", |
| 407 | "url": "/aai/v17/service-design-and-creation", |
| 408 | "protocol": "REST", |
| 409 | "port": "8447", |
| 410 | "enable_ssl": true, |
| 411 | "lb_policy":"ip_hash", |
| 412 | "visualRange": "1", |
| 413 | "path": "/aai/v17/service-design-and-creation" |
| 414 | }, |
| 415 | { |
| 416 | "serviceName": "_aai-service-design-and-creation", |
| 417 | "version": "v18", |
| 418 | "url": "/aai/v18/service-design-and-creation", |
| 419 | "protocol": "REST", |
| 420 | "port": "8447", |
| 421 | "enable_ssl": true, |
| 422 | "lb_policy":"ip_hash", |
| 423 | "visualRange": "1", |
| 424 | "path": "/aai/v18/service-design-and-creation" |
| 425 | }, |
| 426 | { |
| 427 | "serviceName": "_aai-service-design-and-creation", |
| 428 | "version": "v19", |
| 429 | "url": "/aai/v19/service-design-and-creation", |
| 430 | "protocol": "REST", |
| 431 | "port": "8447", |
| 432 | "enable_ssl": true, |
| 433 | "lb_policy":"ip_hash", |
| 434 | "visualRange": "1", |
| 435 | "path": "/aai/v19/service-design-and-creation" |
| 436 | }, |
| 437 | { |
| 438 | "serviceName": "_aai-network", |
| 439 | "version": "v11", |
| 440 | "url": "/aai/v11/network", |
| 441 | "protocol": "REST", |
| 442 | "port": "8447", |
| 443 | "enable_ssl": true, |
| 444 | "lb_policy":"ip_hash", |
| 445 | "visualRange": "1", |
| 446 | "path": "/aai/v11/network" |
| 447 | }, |
| 448 | { |
| 449 | "serviceName": "_aai-network", |
| 450 | "version": "v12", |
| 451 | "url": "/aai/v12/network", |
| 452 | "protocol": "REST", |
| 453 | "port": "8447", |
| 454 | "enable_ssl": true, |
| 455 | "lb_policy":"ip_hash", |
| 456 | "visualRange": "1", |
| 457 | "path": "/aai/v12/network" |
| 458 | }, |
| 459 | { |
| 460 | "serviceName": "_aai-network", |
| 461 | "version": "v13", |
| 462 | "url": "/aai/v13/network", |
| 463 | "protocol": "REST", |
| 464 | "port": "8447", |
| 465 | "enable_ssl": true, |
| 466 | "lb_policy":"ip_hash", |
| 467 | "visualRange": "1", |
| 468 | "path": "/aai/v13/network" |
| 469 | }, |
| 470 | { |
| 471 | "serviceName": "_aai-network", |
| 472 | "version": "v14", |
| 473 | "url": "/aai/v14/network", |
| 474 | "protocol": "REST", |
| 475 | "port": "8447", |
| 476 | "enable_ssl": true, |
| 477 | "lb_policy":"ip_hash", |
| 478 | "visualRange": "1", |
| 479 | "path": "/aai/v14/network" |
| 480 | }, |
| 481 | { |
| 482 | "serviceName": "_aai-network", |
| 483 | "version": "v15", |
| 484 | "url": "/aai/v15/network", |
| 485 | "protocol": "REST", |
| 486 | "port": "8447", |
| 487 | "enable_ssl": true, |
| 488 | "lb_policy":"ip_hash", |
| 489 | "visualRange": "1", |
| 490 | "path": "/aai/v15/network" |
| 491 | }, |
| 492 | { |
| 493 | "serviceName": "_aai-network", |
| 494 | "version": "v16", |
| 495 | "url": "/aai/v16/network", |
| 496 | "protocol": "REST", |
| 497 | "port": "8447", |
| 498 | "enable_ssl": true, |
| 499 | "lb_policy":"ip_hash", |
| 500 | "visualRange": "1", |
| 501 | "path": "/aai/v16/network" |
| 502 | }, |
| 503 | { |
| 504 | "serviceName": "_aai-network", |
| 505 | "version": "v17", |
| 506 | "url": "/aai/v17/network", |
| 507 | "protocol": "REST", |
| 508 | "port": "8447", |
| 509 | "enable_ssl": true, |
| 510 | "lb_policy":"ip_hash", |
| 511 | "visualRange": "1", |
| 512 | "path": "/aai/v17/network" |
| 513 | }, |
| 514 | { |
| 515 | "serviceName": "_aai-network", |
| 516 | "version": "v18", |
| 517 | "url": "/aai/v18/network", |
| 518 | "protocol": "REST", |
| 519 | "port": "8447", |
| 520 | "enable_ssl": true, |
| 521 | "lb_policy":"ip_hash", |
| 522 | "visualRange": "1", |
| 523 | "path": "/aai/v18/network" |
| 524 | }, |
| 525 | { |
| 526 | "serviceName": "_aai-network", |
| 527 | "version": "v19", |
| 528 | "url": "/aai/v19/network", |
| 529 | "protocol": "REST", |
| 530 | "port": "8447", |
| 531 | "enable_ssl": true, |
| 532 | "lb_policy":"ip_hash", |
| 533 | "visualRange": "1", |
| 534 | "path": "/aai/v19/network" |
| 535 | }, |
| 536 | { |
| 537 | "serviceName": "_aai-externalSystem", |
| 538 | "version": "v11", |
| 539 | "url": "/aai/v11/external-system", |
| 540 | "protocol": "REST", |
| 541 | "port": "8447", |
| 542 | "enable_ssl": true, |
| 543 | "lb_policy":"ip_hash", |
| 544 | "visualRange": "1", |
| 545 | "path": "/aai/v11/external-system" |
| 546 | }, |
| 547 | { |
| 548 | "serviceName": "_aai-externalSystem", |
| 549 | "version": "v12", |
| 550 | "url": "/aai/v12/external-system", |
| 551 | "protocol": "REST", |
| 552 | "port": "8447", |
| 553 | "enable_ssl": true, |
| 554 | "lb_policy":"ip_hash", |
| 555 | "visualRange": "1", |
| 556 | "path": "/aai/v12/external-system" |
| 557 | }, |
| 558 | { |
| 559 | "serviceName": "_aai-externalSystem", |
| 560 | "version": "v13", |
| 561 | "url": "/aai/v13/external-system", |
| 562 | "protocol": "REST", |
| 563 | "port": "8447", |
| 564 | "enable_ssl": true, |
| 565 | "lb_policy":"ip_hash", |
| 566 | "visualRange": "1", |
| 567 | "path": "/aai/v13/external-system" |
| 568 | }, |
| 569 | { |
| 570 | "serviceName": "_aai-externalSystem", |
| 571 | "version": "v14", |
| 572 | "url": "/aai/v14/external-system", |
| 573 | "protocol": "REST", |
| 574 | "port": "8447", |
| 575 | "enable_ssl": true, |
| 576 | "lb_policy":"ip_hash", |
| 577 | "visualRange": "1", |
| 578 | "path": "/aai/v14/external-system" |
| 579 | }, |
| 580 | { |
| 581 | "serviceName": "_aai-externalSystem", |
| 582 | "version": "v15", |
| 583 | "url": "/aai/v15/external-system", |
| 584 | "protocol": "REST", |
| 585 | "port": "8447", |
| 586 | "enable_ssl": true, |
| 587 | "lb_policy":"ip_hash", |
| 588 | "visualRange": "1", |
| 589 | "path": "/aai/v15/external-system" |
| 590 | }, |
| 591 | { |
| 592 | "serviceName": "_aai-externalSystem", |
| 593 | "version": "v16", |
| 594 | "url": "/aai/v16/external-system", |
| 595 | "protocol": "REST", |
| 596 | "port": "8447", |
| 597 | "enable_ssl": true, |
| 598 | "lb_policy":"ip_hash", |
| 599 | "visualRange": "1", |
| 600 | "path": "/aai/v16/external-system" |
| 601 | }, |
| 602 | { |
| 603 | "serviceName": "_aai-externalSystem", |
| 604 | "version": "v17", |
| 605 | "url": "/aai/v17/external-system", |
| 606 | "protocol": "REST", |
| 607 | "port": "8447", |
| 608 | "enable_ssl": true, |
| 609 | "lb_policy":"ip_hash", |
| 610 | "visualRange": "1", |
| 611 | "path": "/aai/v17/external-system" |
| 612 | }, |
| 613 | { |
| 614 | "serviceName": "_aai-externalSystem", |
| 615 | "version": "v18", |
| 616 | "url": "/aai/v18/external-system", |
| 617 | "protocol": "REST", |
| 618 | "port": "8447", |
| 619 | "enable_ssl": true, |
| 620 | "lb_policy":"ip_hash", |
| 621 | "visualRange": "1", |
| 622 | "path": "/aai/v18/external-system" |
| 623 | }, |
| 624 | { |
| 625 | "serviceName": "_aai-externalSystem", |
| 626 | "version": "v19", |
| 627 | "url": "/aai/v19/external-system", |
| 628 | "protocol": "REST", |
| 629 | "port": "8447", |
| 630 | "enable_ssl": true, |
| 631 | "lb_policy":"ip_hash", |
| 632 | "visualRange": "1", |
| 633 | "path": "/aai/v19/external-system" |
| 634 | }, |
| 635 | { |
| 636 | "serviceName": "aai-cloudInfrastructure", |
| 637 | "version": "v11", |
| 638 | "url": "/aai/v11/cloud-infrastructure", |
| 639 | "protocol": "REST", |
| 640 | "port": "8447", |
| 641 | "enable_ssl": true, |
| 642 | "lb_policy":"ip_hash", |
| 643 | "visualRange": "1" |
| 644 | }, |
| 645 | { |
| 646 | "serviceName": "aai-cloudInfrastructure", |
| 647 | "version": "v12", |
| 648 | "url": "/aai/v12/cloud-infrastructure", |
| 649 | "protocol": "REST", |
| 650 | "port": "8447", |
| 651 | "enable_ssl": true, |
| 652 | "lb_policy":"ip_hash", |
| 653 | "visualRange": "1" |
| 654 | }, |
| 655 | { |
| 656 | "serviceName": "aai-cloudInfrastructure", |
| 657 | "version": "v13", |
| 658 | "url": "/aai/v13/cloud-infrastructure", |
| 659 | "protocol": "REST", |
| 660 | "port": "8447", |
| 661 | "enable_ssl": true, |
| 662 | "lb_policy":"ip_hash", |
| 663 | "visualRange": "1" |
| 664 | }, |
| 665 | { |
| 666 | "serviceName": "aai-cloudInfrastructure", |
| 667 | "version": "v14", |
| 668 | "url": "/aai/v14/cloud-infrastructure", |
| 669 | "protocol": "REST", |
| 670 | "port": "8447", |
| 671 | "enable_ssl": true, |
| 672 | "lb_policy":"ip_hash", |
| 673 | "visualRange": "1" |
| 674 | }, |
| 675 | { |
| 676 | "serviceName": "aai-cloudInfrastructure", |
| 677 | "version": "v15", |
| 678 | "url": "/aai/v15/cloud-infrastructure", |
| 679 | "protocol": "REST", |
| 680 | "port": "8447", |
| 681 | "enable_ssl": true, |
| 682 | "lb_policy":"ip_hash", |
| 683 | "visualRange": "1" |
| 684 | }, |
| 685 | { |
| 686 | "serviceName": "aai-cloudInfrastructure", |
| 687 | "version": "v16", |
| 688 | "url": "/aai/v16/cloud-infrastructure", |
| 689 | "protocol": "REST", |
| 690 | "port": "8447", |
| 691 | "enable_ssl": true, |
| 692 | "lb_policy":"ip_hash", |
| 693 | "visualRange": "1" |
| 694 | }, |
| 695 | { |
| 696 | "serviceName": "aai-cloudInfrastructure", |
| 697 | "version": "v17", |
| 698 | "url": "/aai/v17/cloud-infrastructure", |
| 699 | "protocol": "REST", |
| 700 | "port": "8447", |
| 701 | "enable_ssl": true, |
| 702 | "lb_policy":"ip_hash", |
| 703 | "visualRange": "1" |
| 704 | }, |
| 705 | { |
| 706 | "serviceName": "aai-cloudInfrastructure", |
| 707 | "version": "v18", |
| 708 | "url": "/aai/v18/cloud-infrastructure", |
| 709 | "protocol": "REST", |
| 710 | "port": "8447", |
| 711 | "enable_ssl": true, |
| 712 | "lb_policy":"ip_hash", |
| 713 | "visualRange": "1" |
| 714 | }, |
| 715 | { |
| 716 | "serviceName": "aai-cloudInfrastructure", |
| 717 | "version": "v19", |
| 718 | "url": "/aai/v19/cloud-infrastructure", |
| 719 | "protocol": "REST", |
| 720 | "port": "8447", |
| 721 | "enable_ssl": true, |
| 722 | "lb_policy":"ip_hash", |
| 723 | "visualRange": "1" |
| 724 | }, |
| 725 | { |
| 726 | "serviceName": "aai-business", |
| 727 | "version": "v11", |
| 728 | "url": "/aai/v11/business", |
| 729 | "protocol": "REST", |
| 730 | "port": "8447", |
| 731 | "enable_ssl": true, |
| 732 | "lb_policy":"ip_hash", |
| 733 | "visualRange": "1" |
| 734 | }, |
| 735 | { |
| 736 | "serviceName": "aai-business", |
| 737 | "version": "v12", |
| 738 | "url": "/aai/v12/business", |
| 739 | "protocol": "REST", |
| 740 | "port": "8447", |
| 741 | "enable_ssl": true, |
| 742 | "lb_policy":"ip_hash", |
| 743 | "visualRange": "1" |
| 744 | }, |
| 745 | { |
| 746 | "serviceName": "aai-business", |
| 747 | "version": "v13", |
| 748 | "url": "/aai/v13/business", |
| 749 | "protocol": "REST", |
| 750 | "port": "8447", |
| 751 | "enable_ssl": true, |
| 752 | "lb_policy":"ip_hash", |
| 753 | "visualRange": "1" |
| 754 | }, |
| 755 | { |
| 756 | "serviceName": "aai-business", |
| 757 | "version": "v14", |
| 758 | "url": "/aai/v14/business", |
| 759 | "protocol": "REST", |
| 760 | "port": "8447", |
| 761 | "enable_ssl": true, |
| 762 | "lb_policy":"ip_hash", |
| 763 | "visualRange": "1" |
| 764 | }, |
| 765 | { |
| 766 | "serviceName": "aai-business", |
| 767 | "version": "v15", |
| 768 | "url": "/aai/v15/business", |
| 769 | "protocol": "REST", |
| 770 | "port": "8447", |
| 771 | "enable_ssl": true, |
| 772 | "lb_policy":"ip_hash", |
| 773 | "visualRange": "1" |
| 774 | }, |
| 775 | { |
| 776 | "serviceName": "aai-business", |
| 777 | "version": "v16", |
| 778 | "url": "/aai/v16/business", |
| 779 | "protocol": "REST", |
| 780 | "port": "8447", |
| 781 | "enable_ssl": true, |
| 782 | "lb_policy":"ip_hash", |
| 783 | "visualRange": "1" |
| 784 | }, |
| 785 | { |
| 786 | "serviceName": "aai-business", |
| 787 | "version": "v17", |
| 788 | "url": "/aai/v17/business", |
| 789 | "protocol": "REST", |
| 790 | "port": "8447", |
| 791 | "enable_ssl": true, |
| 792 | "lb_policy":"ip_hash", |
| 793 | "visualRange": "1" |
| 794 | }, |
| 795 | { |
| 796 | "serviceName": "aai-business", |
| 797 | "version": "v18", |
| 798 | "url": "/aai/v18/business", |
| 799 | "protocol": "REST", |
| 800 | "port": "8447", |
| 801 | "enable_ssl": true, |
| 802 | "lb_policy":"ip_hash", |
| 803 | "visualRange": "1" |
| 804 | }, |
| 805 | { |
| 806 | "serviceName": "aai-business", |
| 807 | "version": "v19", |
| 808 | "url": "/aai/v19/business", |
| 809 | "protocol": "REST", |
| 810 | "port": "8447", |
| 811 | "enable_ssl": true, |
| 812 | "lb_policy":"ip_hash", |
| 813 | "visualRange": "1" |
| 814 | }, |
| 815 | { |
| 816 | "serviceName": "aai-actions", |
| 817 | "version": "v11", |
| 818 | "url": "/aai/v11/actions", |
| 819 | "protocol": "REST", |
| 820 | "port": "8447", |
| 821 | "enable_ssl": true, |
| 822 | "lb_policy":"ip_hash", |
| 823 | "visualRange": "1" |
| 824 | }, |
| 825 | { |
| 826 | "serviceName": "aai-actions", |
| 827 | "version": "v12", |
| 828 | "url": "/aai/v12/actions", |
| 829 | "protocol": "REST", |
| 830 | "port": "8447", |
| 831 | "enable_ssl": true, |
| 832 | "lb_policy":"ip_hash", |
| 833 | "visualRange": "1" |
| 834 | }, |
| 835 | { |
| 836 | "serviceName": "aai-actions", |
| 837 | "version": "v13", |
| 838 | "url": "/aai/v13/actions", |
| 839 | "protocol": "REST", |
| 840 | "port": "8447", |
| 841 | "enable_ssl": true, |
| 842 | "lb_policy":"ip_hash", |
| 843 | "visualRange": "1" |
| 844 | }, |
| 845 | { |
| 846 | "serviceName": "aai-actions", |
| 847 | "version": "v14", |
| 848 | "url": "/aai/v14/actions", |
| 849 | "protocol": "REST", |
| 850 | "port": "8447", |
| 851 | "enable_ssl": true, |
| 852 | "lb_policy":"ip_hash", |
| 853 | "visualRange": "1" |
| 854 | }, |
| 855 | { |
| 856 | "serviceName": "aai-actions", |
| 857 | "version": "v15", |
| 858 | "url": "/aai/v15/actions", |
| 859 | "protocol": "REST", |
| 860 | "port": "8447", |
| 861 | "enable_ssl": true, |
| 862 | "lb_policy":"ip_hash", |
| 863 | "visualRange": "1" |
| 864 | }, |
| 865 | { |
| 866 | "serviceName": "aai-actions", |
| 867 | "version": "v16", |
| 868 | "url": "/aai/v16/actions", |
| 869 | "protocol": "REST", |
| 870 | "port": "8447", |
| 871 | "enable_ssl": true, |
| 872 | "lb_policy":"ip_hash", |
| 873 | "visualRange": "1" |
| 874 | }, |
| 875 | { |
| 876 | "serviceName": "aai-actions", |
| 877 | "version": "v17", |
| 878 | "url": "/aai/v17/actions", |
| 879 | "protocol": "REST", |
| 880 | "port": "8447", |
| 881 | "enable_ssl": true, |
| 882 | "lb_policy":"ip_hash", |
| 883 | "visualRange": "1" |
| 884 | }, |
| 885 | { |
| 886 | "serviceName": "aai-actions", |
| 887 | "version": "v18", |
| 888 | "url": "/aai/v18/actions", |
| 889 | "protocol": "REST", |
| 890 | "port": "8447", |
| 891 | "enable_ssl": true, |
| 892 | "lb_policy":"ip_hash", |
| 893 | "visualRange": "1" |
| 894 | }, |
| 895 | { |
| 896 | "serviceName": "aai-actions", |
| 897 | "version": "v19", |
| 898 | "url": "/aai/v19/actions", |
| 899 | "protocol": "REST", |
| 900 | "port": "8447", |
| 901 | "enable_ssl": true, |
| 902 | "lb_policy":"ip_hash", |
| 903 | "visualRange": "1" |
| 904 | }, |
| 905 | { |
| 906 | "serviceName": "aai-service-design-and-creation", |
| 907 | "version": "v11", |
| 908 | "url": "/aai/v11/service-design-and-creation", |
| 909 | "protocol": "REST", |
| 910 | "port": "8447", |
| 911 | "enable_ssl": true, |
| 912 | "lb_policy":"ip_hash", |
| 913 | "visualRange": "1" |
| 914 | }, |
| 915 | { |
| 916 | "serviceName": "aai-service-design-and-creation", |
| 917 | "version": "v12", |
| 918 | "url": "/aai/v12/service-design-and-creation", |
| 919 | "protocol": "REST", |
| 920 | "port": "8447", |
| 921 | "enable_ssl": true, |
| 922 | "lb_policy":"ip_hash", |
| 923 | "visualRange": "1" |
| 924 | }, |
| 925 | { |
| 926 | "serviceName": "aai-service-design-and-creation", |
| 927 | "version": "v13", |
| 928 | "url": "/aai/v13/service-design-and-creation", |
| 929 | "protocol": "REST", |
| 930 | "port": "8447", |
| 931 | "enable_ssl": true, |
| 932 | "lb_policy":"ip_hash", |
| 933 | "visualRange": "1" |
| 934 | }, |
| 935 | { |
| 936 | "serviceName": "aai-service-design-and-creation", |
| 937 | "version": "v14", |
| 938 | "url": "/aai/v14/service-design-and-creation", |
| 939 | "protocol": "REST", |
| 940 | "port": "8447", |
| 941 | "enable_ssl": true, |
| 942 | "lb_policy":"ip_hash", |
| 943 | "visualRange": "1" |
| 944 | }, |
| 945 | { |
| 946 | "serviceName": "aai-service-design-and-creation", |
| 947 | "version": "v15", |
| 948 | "url": "/aai/v15/service-design-and-creation", |
| 949 | "protocol": "REST", |
| 950 | "port": "8447", |
| 951 | "enable_ssl": true, |
| 952 | "lb_policy":"ip_hash", |
| 953 | "visualRange": "1" |
| 954 | }, |
| 955 | { |
| 956 | "serviceName": "aai-service-design-and-creation", |
| 957 | "version": "v16", |
| 958 | "url": "/aai/v16/service-design-and-creation", |
| 959 | "protocol": "REST", |
| 960 | "port": "8447", |
| 961 | "enable_ssl": true, |
| 962 | "lb_policy":"ip_hash", |
| 963 | "visualRange": "1" |
| 964 | }, |
| 965 | { |
| 966 | "serviceName": "aai-service-design-and-creation", |
| 967 | "version": "v17", |
| 968 | "url": "/aai/v17/service-design-and-creation", |
| 969 | "protocol": "REST", |
| 970 | "port": "8447", |
| 971 | "enable_ssl": true, |
| 972 | "lb_policy":"ip_hash", |
| 973 | "visualRange": "1" |
| 974 | }, |
| 975 | { |
| 976 | "serviceName": "aai-service-design-and-creation", |
| 977 | "version": "v18", |
| 978 | "url": "/aai/v18/service-design-and-creation", |
| 979 | "protocol": "REST", |
| 980 | "port": "8447", |
| 981 | "enable_ssl": true, |
| 982 | "lb_policy":"ip_hash", |
| 983 | "visualRange": "1" |
| 984 | }, |
| 985 | { |
| 986 | "serviceName": "aai-service-design-and-creation", |
| 987 | "version": "v19", |
| 988 | "url": "/aai/v19/service-design-and-creation", |
| 989 | "protocol": "REST", |
| 990 | "port": "8447", |
| 991 | "enable_ssl": true, |
| 992 | "lb_policy":"ip_hash", |
| 993 | "visualRange": "1" |
| 994 | }, |
| 995 | { |
| 996 | "serviceName": "aai-network", |
| 997 | "version": "v11", |
| 998 | "url": "/aai/v11/network", |
| 999 | "protocol": "REST", |
| 1000 | "port": "8447", |
| 1001 | "enable_ssl": true, |
| 1002 | "lb_policy":"ip_hash", |
| 1003 | "visualRange": "1" |
| 1004 | }, |
| 1005 | { |
| 1006 | "serviceName": "aai-network", |
| 1007 | "version": "v12", |
| 1008 | "url": "/aai/v12/network", |
| 1009 | "protocol": "REST", |
| 1010 | "port": "8447", |
| 1011 | "enable_ssl": true, |
| 1012 | "lb_policy":"ip_hash", |
| 1013 | "visualRange": "1" |
| 1014 | }, |
| 1015 | { |
| 1016 | "serviceName": "aai-network", |
| 1017 | "version": "v13", |
| 1018 | "url": "/aai/v13/network", |
| 1019 | "protocol": "REST", |
| 1020 | "port": "8447", |
| 1021 | "enable_ssl": true, |
| 1022 | "lb_policy":"ip_hash", |
| 1023 | "visualRange": "1" |
| 1024 | }, |
| 1025 | { |
| 1026 | "serviceName": "aai-network", |
| 1027 | "version": "v14", |
| 1028 | "url": "/aai/v14/network", |
| 1029 | "protocol": "REST", |
| 1030 | "port": "8447", |
| 1031 | "enable_ssl": true, |
| 1032 | "lb_policy":"ip_hash", |
| 1033 | "visualRange": "1" |
| 1034 | }, |
| 1035 | { |
| 1036 | "serviceName": "aai-network", |
| 1037 | "version": "v15", |
| 1038 | "url": "/aai/v15/network", |
| 1039 | "protocol": "REST", |
| 1040 | "port": "8447", |
| 1041 | "enable_ssl": true, |
| 1042 | "lb_policy":"ip_hash", |
| 1043 | "visualRange": "1" |
| 1044 | }, |
| 1045 | { |
| 1046 | "serviceName": "aai-network", |
| 1047 | "version": "v16", |
| 1048 | "url": "/aai/v16/network", |
| 1049 | "protocol": "REST", |
| 1050 | "port": "8447", |
| 1051 | "enable_ssl": true, |
| 1052 | "lb_policy":"ip_hash", |
| 1053 | "visualRange": "1" |
| 1054 | }, |
| 1055 | { |
| 1056 | "serviceName": "aai-network", |
| 1057 | "version": "v17", |
| 1058 | "url": "/aai/v17/network", |
| 1059 | "protocol": "REST", |
| 1060 | "port": "8447", |
| 1061 | "enable_ssl": true, |
| 1062 | "lb_policy":"ip_hash", |
| 1063 | "visualRange": "1" |
| 1064 | }, |
| 1065 | { |
| 1066 | "serviceName": "aai-network", |
| 1067 | "version": "v18", |
| 1068 | "url": "/aai/v18/network", |
| 1069 | "protocol": "REST", |
| 1070 | "port": "8447", |
| 1071 | "enable_ssl": true, |
| 1072 | "lb_policy":"ip_hash", |
| 1073 | "visualRange": "1" |
| 1074 | }, |
| 1075 | { |
| 1076 | "serviceName": "aai-network", |
| 1077 | "version": "v19", |
| 1078 | "url": "/aai/v19/network", |
| 1079 | "protocol": "REST", |
| 1080 | "port": "8447", |
| 1081 | "enable_ssl": true, |
| 1082 | "lb_policy":"ip_hash", |
| 1083 | "visualRange": "1" |
| 1084 | }, |
| 1085 | { |
| 1086 | "serviceName": "aai-externalSystem", |
| 1087 | "version": "v11", |
| 1088 | "url": "/aai/v11/external-system", |
| 1089 | "protocol": "REST", |
| 1090 | "port": "8447", |
| 1091 | "enable_ssl": true, |
| 1092 | "lb_policy":"ip_hash", |
| 1093 | "visualRange": "1" |
| 1094 | }, |
| 1095 | { |
| 1096 | "serviceName": "aai-externalSystem", |
| 1097 | "version": "v12", |
| 1098 | "url": "/aai/v12/external-system", |
| 1099 | "protocol": "REST", |
| 1100 | "port": "8447", |
| 1101 | "enable_ssl": true, |
| 1102 | "lb_policy":"ip_hash", |
| 1103 | "visualRange": "1" |
| 1104 | }, |
| 1105 | { |
| 1106 | "serviceName": "aai-externalSystem", |
| 1107 | "version": "v13", |
| 1108 | "url": "/aai/v13/external-system", |
| 1109 | "protocol": "REST", |
| 1110 | "port": "8447", |
| 1111 | "enable_ssl": true, |
| 1112 | "lb_policy":"ip_hash", |
| 1113 | "visualRange": "1" |
| 1114 | }, |
| 1115 | { |
| 1116 | "serviceName": "aai-externalSystem", |
| 1117 | "version": "v14", |
| 1118 | "url": "/aai/v14/external-system", |
| 1119 | "protocol": "REST", |
| 1120 | "port": "8447", |
| 1121 | "enable_ssl": true, |
| 1122 | "lb_policy":"ip_hash", |
| 1123 | "visualRange": "1" |
| 1124 | }, |
| 1125 | { |
| 1126 | "serviceName": "aai-externalSystem", |
| 1127 | "version": "v15", |
| 1128 | "url": "/aai/v15/external-system", |
| 1129 | "protocol": "REST", |
| 1130 | "port": "8447", |
| 1131 | "enable_ssl": true, |
| 1132 | "lb_policy":"ip_hash", |
| 1133 | "visualRange": "1" |
| 1134 | }, |
| 1135 | { |
| 1136 | "serviceName": "aai-externalSystem", |
| 1137 | "version": "v16", |
| 1138 | "url": "/aai/v16/external-system", |
| 1139 | "protocol": "REST", |
| 1140 | "port": "8447", |
| 1141 | "enable_ssl": true, |
| 1142 | "lb_policy":"ip_hash", |
| 1143 | "visualRange": "1" |
| 1144 | }, |
| 1145 | { |
| 1146 | "serviceName": "aai-externalSystem", |
| 1147 | "version": "v17", |
| 1148 | "url": "/aai/v17/external-system", |
| 1149 | "protocol": "REST", |
| 1150 | "port": "8447", |
| 1151 | "enable_ssl": true, |
| 1152 | "lb_policy":"ip_hash", |
| 1153 | "visualRange": "1" |
| 1154 | }, |
| 1155 | { |
| 1156 | "serviceName": "aai-externalSystem", |
| 1157 | "version": "v18", |
| 1158 | "url": "/aai/v18/external-system", |
| 1159 | "protocol": "REST", |
| 1160 | "port": "8447", |
| 1161 | "enable_ssl": true, |
| 1162 | "lb_policy":"ip_hash", |
| 1163 | "visualRange": "1" |
| 1164 | }, |
| 1165 | { |
| 1166 | "serviceName": "aai-externalSystem", |
| 1167 | "version": "v19", |
| 1168 | "url": "/aai/v19/external-system", |
| 1169 | "protocol": "REST", |
| 1170 | "port": "8447", |
| 1171 | "enable_ssl": true, |
| 1172 | "lb_policy":"ip_hash", |
| 1173 | "visualRange": "1" |
| 1174 | } |
| 1175 | ]' |
| 1176 | spec: |
| 1177 | hostname: aai-resources |
| 1178 | {{ if .Values.global.initContainers.enabled }} |
| 1179 | {{ if .Values.global.installSidecarSecurity }} |
| 1180 | hostAliases: |
| 1181 | - ip: {{ .Values.global.aaf.serverIp }} |
| 1182 | hostnames: |
| 1183 | - {{ .Values.global.aaf.serverHostname }} |
| 1184 | {{ end }} |
| 1185 | initContainers: |
| 1186 | - command: |
| 1187 | {{ if .Values.global.jobs.migration.enabled }} |
| 1188 | - /app/ready.py |
| 1189 | args: |
| 1190 | - --job-name |
| 1191 | - {{ include "common.release" . }}-aai-graphadmin-migration |
| 1192 | {{ else if .Values.global.jobs.createSchema.enabled }} |
| 1193 | - /app/ready.py |
| 1194 | args: |
| 1195 | - --job-name |
| 1196 | - {{ include "common.release" . }}-aai-graphadmin-create-db-schema |
| 1197 | {{ else }} |
| 1198 | - /app/ready.py |
| 1199 | args: |
| 1200 | - --container-name |
| 1201 | {{- if .Values.global.cassandra.localCluster }} |
| 1202 | - aai-cassandra |
| 1203 | {{- else }} |
| 1204 | - cassandra |
| 1205 | {{- end }} |
| 1206 | - --container-name |
| 1207 | - aai-schema-service |
| 1208 | {{ end }} |
| 1209 | env: |
| 1210 | - name: NAMESPACE |
| 1211 | valueFrom: |
| 1212 | fieldRef: |
| 1213 | apiVersion: v1 |
| 1214 | fieldPath: metadata.namespace |
| 1215 | image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}" |
| 1216 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 1217 | name: {{ include "common.name" . }}-readiness |
| 1218 | {{ if .Values.global.installSidecarSecurity }} |
| 1219 | - name: {{ .Values.global.tproxyConfig.name }} |
| 1220 | image: "{{ include "common.repository" . }}/{{ .Values.global.tproxyConfig.image }}" |
| 1221 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 1222 | securityContext: |
| 1223 | privileged: true |
| 1224 | {{ end }} |
| 1225 | {{ end }} |
| 1226 | containers: |
| 1227 | - name: {{ include "common.name" . }} |
| 1228 | image: "{{ include "common.repository" . }}/{{ .Values.image }}" |
| 1229 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 1230 | env: |
| 1231 | - name: LOCAL_USER_ID |
| 1232 | value: {{ .Values.global.config.userId | quote }} |
| 1233 | - name: LOCAL_GROUP_ID |
| 1234 | value: {{ .Values.global.config.groupId | quote }} |
| 1235 | volumeMounts: |
| 1236 | - mountPath: /etc/localtime |
| 1237 | name: localtime |
| 1238 | readOnly: true |
| 1239 | - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties |
| 1240 | name: {{ include "common.fullname" . }}-config |
| 1241 | subPath: janusgraph-realtime.properties |
| 1242 | - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-cached.properties |
| 1243 | name: {{ include "common.fullname" . }}-config |
| 1244 | subPath: janusgraph-cached.properties |
| 1245 | - mountPath: /opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties |
| 1246 | name: {{ include "common.fullname" . }}-config |
| 1247 | subPath: aaiconfig.properties |
| 1248 | - mountPath: /opt/aai/logroot/AAI-RES |
| 1249 | name: {{ include "common.fullname" . }}-logs |
| 1250 | - mountPath: /opt/app/aai-resources/resources/logback.xml |
| 1251 | name: {{ include "common.fullname" . }}-config |
| 1252 | subPath: logback.xml |
| 1253 | - mountPath: /opt/app/aai-resources/resources/localhost-access-logback.xml |
| 1254 | name: {{ include "common.fullname" . }}-config |
| 1255 | subPath: localhost-access-logback.xml |
| 1256 | - mountPath: /opt/app/aai-resources/resources/etc/auth/realm.properties |
| 1257 | name: {{ include "common.fullname" . }}-config |
| 1258 | subPath: realm.properties |
| 1259 | {{ if .Values.global.installSidecarSecurity }} |
| 1260 | - mountPath: /opt/app/aai-resources/resources/etc/auth/aai_policy.json |
| 1261 | name: {{ include "common.fullname" . }}-aai-policy |
| 1262 | subPath: aai_policy.json |
| 1263 | {{ end }} |
| 1264 | - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.keyfile |
| 1265 | name: {{ include "common.fullname" . }}-aaf-certs |
| 1266 | subPath: org.onap.aai.keyfile |
| 1267 | - mountPath: /opt/app/aai-resources/resources/aaf/bath_config.csv |
| 1268 | name: {{ include "common.fullname" . }}-aaf-certs |
| 1269 | subPath: bath_config.csv |
| 1270 | - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.props |
| 1271 | name: {{ include "common.fullname" . }}-aaf-properties |
| 1272 | subPath: org.onap.aai.props |
| 1273 | - mountPath: /opt/app/aai-resources/resources/aaf/org.osaaf.location.props |
| 1274 | name: {{ include "common.fullname" . }}-aaf-properties |
| 1275 | subPath: org.osaaf.location.props |
| 1276 | - mountPath: /opt/app/aai-resources/resources/aaf/permissions.properties |
| 1277 | name: {{ include "common.fullname" . }}-aaf-properties |
| 1278 | subPath: permissions.properties |
| 1279 | - mountPath: /opt/app/aai-resources/resources/cadi.properties |
| 1280 | name: {{ include "common.fullname" . }}-aaf-properties |
| 1281 | subPath: cadi.properties |
| 1282 | - mountPath: /opt/app/aai-resources/resources/aaf/org.onap.aai.p12 |
| 1283 | name: {{ include "common.fullname" . }}-aaf-certs |
| 1284 | subPath: org.onap.aai.p12 |
| 1285 | - mountPath: /opt/app/aai-resources/resources/aaf/truststoreONAPall.jks |
| 1286 | name: aai-common-aai-auth-mount |
| 1287 | subPath: truststoreONAPall.jks |
| 1288 | - mountPath: /opt/app/aai-resources/resources/application.properties |
| 1289 | name: {{ include "common.fullname" . }}-config |
| 1290 | subPath: application.properties |
| 1291 | - mountPath: /opt/app/aai-resources/resources/application-keycloak.properties |
| 1292 | name: {{ include "common.fullname" . }}-config |
| 1293 | subPath: application-keycloak.properties |
| 1294 | {{ $global := . }} |
| 1295 | {{ range $job := .Values.global.config.auth.files }} |
| 1296 | - mountPath: /opt/app/aai-resources/resources/etc/auth/{{ . }} |
| 1297 | name: {{ include "common.fullname" $global }}-auth-truststore-sec |
| 1298 | subPath: {{ . }} |
| 1299 | {{ end }} |
| 1300 | ports: |
| 1301 | - containerPort: {{ .Values.service.internalPort }} |
| 1302 | - containerPort: {{ .Values.service.internalPort2 }} |
| 1303 | # disable liveness probe when breakpoints set in debugger |
| 1304 | # so K8s doesn't restart unresponsive container |
| 1305 | {{ if .Values.liveness.enabled }} |
| 1306 | livenessProbe: |
| 1307 | tcpSocket: |
| 1308 | port: {{ .Values.service.internalPort }} |
| 1309 | initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} |
| 1310 | periodSeconds: {{ .Values.liveness.periodSeconds }} |
| 1311 | {{ end }} |
| 1312 | readinessProbe: |
| 1313 | tcpSocket: |
| 1314 | port: {{ .Values.service.internalPort }} |
| 1315 | initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} |
| 1316 | periodSeconds: {{ .Values.readiness.periodSeconds }} |
| 1317 | resources: |
| 1318 | {{ include "common.resources" . }} |
| 1319 | {{- if .Values.nodeSelector }} |
| 1320 | nodeSelector: |
| 1321 | {{ toYaml .Values.nodeSelector | indent 8 }} |
| 1322 | {{- end -}} |
| 1323 | {{- if .Values.affinity }} |
| 1324 | affinity: |
| 1325 | {{ toYaml .Values.affinity | indent 8 }} |
| 1326 | {{- end }} |
| 1327 | |
| 1328 | # side car containers |
| 1329 | - name: filebeat-onap |
| 1330 | image: "{{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}" |
| 1331 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 1332 | volumeMounts: |
| 1333 | - mountPath: /usr/share/filebeat/filebeat.yml |
| 1334 | subPath: filebeat.yml |
| 1335 | name: filebeat-conf |
| 1336 | - mountPath: /var/log/onap |
| 1337 | name: {{ include "common.fullname" . }}-logs |
| 1338 | - mountPath: /usr/share/filebeat/data |
| 1339 | name: {{ include "common.fullname" . }}-filebeat |
| 1340 | resources: |
| 1341 | {{ include "common.resources" . }} |
| 1342 | {{ if .Values.global.installSidecarSecurity }} |
| 1343 | - name: {{ .Values.global.rproxy.name }} |
| 1344 | image: "{{ include "common.repository" . }}/{{ .Values.global.rproxy.image }}" |
| 1345 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 1346 | env: |
| 1347 | - name: CONFIG_HOME |
| 1348 | value: "/opt/app/rproxy/config" |
| 1349 | - name: KEY_STORE_PASSWORD |
| 1350 | value: {{ .Values.sidecar.keyStorePassword }} |
| 1351 | - name: spring_profiles_active |
| 1352 | value: {{ .Values.global.rproxy.activeSpringProfiles }} |
| 1353 | volumeMounts: |
| 1354 | - name: {{ include "common.fullname" . }}-rproxy-config |
| 1355 | mountPath: /opt/app/rproxy/config/forward-proxy.properties |
| 1356 | subPath: forward-proxy.properties |
| 1357 | - name: {{ include "common.fullname" . }}-rproxy-config |
| 1358 | mountPath: /opt/app/rproxy/config/primary-service.properties |
| 1359 | subPath: primary-service.properties |
| 1360 | - name: {{ include "common.fullname" . }}-rproxy-config |
| 1361 | mountPath: /opt/app/rproxy/config/reverse-proxy.properties |
| 1362 | subPath: reverse-proxy.properties |
| 1363 | - name: {{ include "common.fullname" . }}-rproxy-config |
| 1364 | mountPath: /opt/app/rproxy/config/cadi.properties |
| 1365 | subPath: cadi.properties |
| 1366 | - name: {{ include "common.fullname" . }}-rproxy-log-config |
| 1367 | mountPath: /opt/app/rproxy/config/logback-spring.xml |
| 1368 | subPath: logback-spring.xml |
| 1369 | - name: {{ include "common.fullname" . }}-rproxy-uri-auth-config |
| 1370 | mountPath: /opt/app/rproxy/config/auth/uri-authorization.json |
| 1371 | subPath: uri-authorization.json |
| 1372 | - name: {{ include "common.fullname" . }}-rproxy-auth-config |
| 1373 | mountPath: /opt/app/rproxy/config/auth/tomcat_keystore |
| 1374 | subPath: tomcat_keystore |
| 1375 | - name: {{ include "common.fullname" . }}-rproxy-auth-config |
| 1376 | mountPath: /opt/app/rproxy/config/auth/client-cert.p12 |
| 1377 | subPath: client-cert.p12 |
| 1378 | - name: {{ include "common.fullname" . }}-rproxy-auth-config |
| 1379 | mountPath: /opt/app/rproxy/config/auth/aaf_truststore.jks |
| 1380 | subPath: aaf_truststore.jks |
| 1381 | - name: {{ include "common.fullname" . }}-rproxy-security-config |
| 1382 | mountPath: /opt/app/rproxy/config/security/keyfile |
| 1383 | subPath: keyfile |
| 1384 | - name: {{ include "common.fullname" . }}-rproxy-auth-config |
| 1385 | mountPath: /opt/app/rproxy/config/auth/org.onap.aai.p12 |
| 1386 | subPath: org.onap.aai.p12 |
| 1387 | ports: |
| 1388 | - containerPort: {{ .Values.global.rproxy.port }} |
| 1389 | |
| 1390 | - name: {{ .Values.global.fproxy.name }} |
| 1391 | image: "{{ include "common.repository" . }}/{{ .Values.global.fproxy.image }}" |
| 1392 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 1393 | env: |
| 1394 | - name: CONFIG_HOME |
| 1395 | value: "/opt/app/fproxy/config" |
| 1396 | - name: KEY_STORE_PASSWORD |
| 1397 | value: {{ .Values.sidecar.keyStorePassword }} |
| 1398 | - name: TRUST_STORE_PASSWORD |
| 1399 | value: {{ .Values.sidecar.trustStorePassword }} |
| 1400 | - name: spring_profiles_active |
| 1401 | value: {{ .Values.global.fproxy.activeSpringProfiles }} |
| 1402 | volumeMounts: |
| 1403 | - name: {{ include "common.fullname" . }}-fproxy-config |
| 1404 | mountPath: /opt/app/fproxy/config/fproxy.properties |
| 1405 | subPath: fproxy.properties |
| 1406 | - name: {{ include "common.fullname" . }}-fproxy-log-config |
| 1407 | mountPath: /opt/app/fproxy/config/logback-spring.xml |
| 1408 | subPath: logback-spring.xml |
| 1409 | - name: {{ include "common.fullname" . }}-fproxy-auth-config |
| 1410 | mountPath: /opt/app/fproxy/config/auth/fproxy_truststore |
| 1411 | subPath: fproxy_truststore |
| 1412 | - name: {{ include "common.fullname" . }}-fproxy-auth-config |
| 1413 | mountPath: /opt/app/fproxy/config/auth/tomcat_keystore |
| 1414 | subPath: tomcat_keystore |
| 1415 | - name: {{ include "common.fullname" . }}-fproxy-auth-config |
| 1416 | mountPath: /opt/app/fproxy/config/auth/client-cert.p12 |
| 1417 | subPath: client-cert.p12 |
| 1418 | ports: |
| 1419 | - containerPort: {{ .Values.global.fproxy.port }} |
| 1420 | {{ end }} |
| 1421 | |
| 1422 | volumes: |
| 1423 | - name: aai-common-aai-auth-mount |
| 1424 | secret: |
| 1425 | secretName: aai-common-aai-auth |
| 1426 | - name: localtime |
| 1427 | hostPath: |
| 1428 | path: /etc/localtime |
| 1429 | - name: filebeat-conf |
| 1430 | configMap: |
| 1431 | name: aai-filebeat |
| 1432 | - name: {{ include "common.fullname" . }}-logs |
| 1433 | emptyDir: {} |
| 1434 | - name: {{ include "common.fullname" . }}-filebeat |
| 1435 | emptyDir: {} |
| 1436 | - name: {{ include "common.fullname" . }}-config |
| 1437 | configMap: |
| 1438 | name: {{ include "common.fullname" . }}-configmap |
| 1439 | - name: {{ include "common.fullname" . }}-aaf-properties |
| 1440 | configMap: |
| 1441 | name: {{ include "common.fullname" . }}-aaf-props |
| 1442 | - name: {{ include "common.fullname" . }}-aaf-certs |
| 1443 | secret: |
| 1444 | secretName: {{ include "common.fullname" . }}-aaf-keys |
| 1445 | - name: {{ include "common.fullname" . }}-auth-truststore-sec |
| 1446 | secret: |
| 1447 | secretName: aai-common-truststore |
| 1448 | items: |
| 1449 | {{ range $job := .Values.global.config.auth.files }} |
| 1450 | - key: {{ . }} |
| 1451 | path: {{ . }} |
| 1452 | {{ end }} |
| 1453 | {{ if .Values.global.installSidecarSecurity }} |
| 1454 | - name: {{ include "common.fullname" . }}-aai-policy |
| 1455 | configMap: |
| 1456 | name: {{ include "common.fullname" . }}-aai-policy-configmap |
| 1457 | - name: {{ include "common.fullname" . }}-rproxy-config |
| 1458 | configMap: |
| 1459 | name: {{ include "common.fullname" . }}-rproxy-config |
| 1460 | - name: {{ include "common.fullname" . }}-rproxy-log-config |
| 1461 | configMap: |
| 1462 | name: {{ include "common.fullname" . }}-rproxy-log-config |
| 1463 | - name: {{ include "common.fullname" . }}-rproxy-uri-auth-config |
| 1464 | configMap: |
| 1465 | name: {{ include "common.fullname" . }}-rproxy-uri-auth-config |
| 1466 | - name: {{ include "common.fullname" . }}-rproxy-auth-config |
| 1467 | secret: |
| 1468 | secretName: {{ include "common.fullname" . }}-rproxy-auth-config |
| 1469 | - name: {{ include "common.fullname" . }}-rproxy-security-config |
| 1470 | secret: |
| 1471 | secretName: {{ include "common.fullname" . }}-rproxy-security-config |
| 1472 | - name: {{ include "common.fullname" . }}-fproxy-config |
| 1473 | configMap: |
| 1474 | name: {{ include "common.fullname" . }}-fproxy-config |
| 1475 | - name: {{ include "common.fullname" . }}-fproxy-log-config |
| 1476 | configMap: |
| 1477 | name: {{ include "common.fullname" . }}-fproxy-log-config |
| 1478 | - name: {{ include "common.fullname" . }}-fproxy-auth-config |
| 1479 | secret: |
| 1480 | secretName: {{ include "common.fullname" . }}-fproxy-auth-config |
| 1481 | {{ end }} |
| 1482 | restartPolicy: {{ .Values.restartPolicy }} |
| 1483 | imagePullSecrets: |
| 1484 | - name: "{{ include "common.namespace" . }}-docker-registry-key" |