github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/prometheus-community/kube-prometheus-stack/crds/crd-alertmanagerconfigs.yaml (about) 1 # https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.63.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml 2 --- 3 apiVersion: apiextensions.k8s.io/v1 4 kind: CustomResourceDefinition 5 metadata: 6 annotations: 7 controller-gen.kubebuilder.io/version: v0.11.1 8 creationTimestamp: null 9 name: alertmanagerconfigs.monitoring.coreos.com 10 spec: 11 group: monitoring.coreos.com 12 names: 13 categories: 14 - prometheus-operator 15 kind: AlertmanagerConfig 16 listKind: AlertmanagerConfigList 17 plural: alertmanagerconfigs 18 shortNames: 19 - amcfg 20 singular: alertmanagerconfig 21 scope: Namespaced 22 versions: 23 - name: v1alpha1 24 schema: 25 openAPIV3Schema: 26 description: AlertmanagerConfig defines a namespaced AlertmanagerConfig to 27 be aggregated across multiple namespaces configuring one Alertmanager cluster. 28 properties: 29 apiVersion: 30 description: 'APIVersion defines the versioned schema of this representation 31 of an object. Servers should convert recognized schemas to the latest 32 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 33 type: string 34 kind: 35 description: 'Kind is a string value representing the REST resource this 36 object represents. Servers may infer this from the endpoint the client 37 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 38 type: string 39 metadata: 40 type: object 41 spec: 42 description: AlertmanagerConfigSpec is a specification of the desired 43 behavior of the Alertmanager configuration. By definition, the Alertmanager 44 configuration only applies to alerts for which the `namespace` label 45 is equal to the namespace of the AlertmanagerConfig resource. 46 properties: 47 inhibitRules: 48 description: List of inhibition rules. The rules will only apply to 49 alerts matching the resource's namespace. 50 items: 51 description: InhibitRule defines an inhibition rule that allows 52 to mute alerts when other alerts are already firing. See https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule 53 properties: 54 equal: 55 description: Labels that must have an equal value in the source 56 and target alert for the inhibition to take effect. 57 items: 58 type: string 59 type: array 60 sourceMatch: 61 description: Matchers for which one or more alerts have to exist 62 for the inhibition to take effect. The operator enforces that 63 the alert matches the resource's namespace. 64 items: 65 description: Matcher defines how to match on alert's labels. 66 properties: 67 matchType: 68 description: Match operation available with AlertManager 69 >= v0.22.0 and takes precedence over Regex (deprecated) 70 if non-empty. 71 enum: 72 - '!=' 73 - = 74 - =~ 75 - '!~' 76 type: string 77 name: 78 description: Label to match. 79 minLength: 1 80 type: string 81 regex: 82 description: Whether to match on equality (false) or regular-expression 83 (true). Deprecated as of AlertManager >= v0.22.0 where 84 a user should use MatchType instead. 85 type: boolean 86 value: 87 description: Label value to match. 88 type: string 89 required: 90 - name 91 type: object 92 type: array 93 targetMatch: 94 description: Matchers that have to be fulfilled in the alerts 95 to be muted. The operator enforces that the alert matches 96 the resource's namespace. 97 items: 98 description: Matcher defines how to match on alert's labels. 99 properties: 100 matchType: 101 description: Match operation available with AlertManager 102 >= v0.22.0 and takes precedence over Regex (deprecated) 103 if non-empty. 104 enum: 105 - '!=' 106 - = 107 - =~ 108 - '!~' 109 type: string 110 name: 111 description: Label to match. 112 minLength: 1 113 type: string 114 regex: 115 description: Whether to match on equality (false) or regular-expression 116 (true). Deprecated as of AlertManager >= v0.22.0 where 117 a user should use MatchType instead. 118 type: boolean 119 value: 120 description: Label value to match. 121 type: string 122 required: 123 - name 124 type: object 125 type: array 126 type: object 127 type: array 128 muteTimeIntervals: 129 description: List of MuteTimeInterval specifying when the routes should 130 be muted. 131 items: 132 description: MuteTimeInterval specifies the periods in time when 133 notifications will be muted 134 properties: 135 name: 136 description: Name of the time interval 137 type: string 138 timeIntervals: 139 description: TimeIntervals is a list of TimeInterval 140 items: 141 description: TimeInterval describes intervals of time 142 properties: 143 daysOfMonth: 144 description: DaysOfMonth is a list of DayOfMonthRange 145 items: 146 description: DayOfMonthRange is an inclusive range of 147 days of the month beginning at 1 148 properties: 149 end: 150 description: End of the inclusive range 151 maximum: 31 152 minimum: -31 153 type: integer 154 start: 155 description: Start of the inclusive range 156 maximum: 31 157 minimum: -31 158 type: integer 159 type: object 160 type: array 161 months: 162 description: Months is a list of MonthRange 163 items: 164 description: MonthRange is an inclusive range of months 165 of the year beginning in January Months can be specified 166 by name (e.g 'January') by numerical month (e.g '1') 167 or as an inclusive range (e.g 'January:March', '1:3', 168 '1:March') 169 pattern: ^((?i)january|february|march|april|may|june|july|august|september|october|november|december|[1-12])(?:((:((?i)january|february|march|april|may|june|july|august|september|october|november|december|[1-12]))$)|$) 170 type: string 171 type: array 172 times: 173 description: Times is a list of TimeRange 174 items: 175 description: TimeRange defines a start and end time 176 in 24hr format 177 properties: 178 endTime: 179 description: EndTime is the end time in 24hr format. 180 pattern: ^((([01][0-9])|(2[0-3])):[0-5][0-9])$|(^24:00$) 181 type: string 182 startTime: 183 description: StartTime is the start time in 24hr 184 format. 185 pattern: ^((([01][0-9])|(2[0-3])):[0-5][0-9])$|(^24:00$) 186 type: string 187 type: object 188 type: array 189 weekdays: 190 description: Weekdays is a list of WeekdayRange 191 items: 192 description: WeekdayRange is an inclusive range of days 193 of the week beginning on Sunday Days can be specified 194 by name (e.g 'Sunday') or as an inclusive range (e.g 195 'Monday:Friday') 196 pattern: ^((?i)sun|mon|tues|wednes|thurs|fri|satur)day(?:((:(sun|mon|tues|wednes|thurs|fri|satur)day)$)|$) 197 type: string 198 type: array 199 years: 200 description: Years is a list of YearRange 201 items: 202 description: YearRange is an inclusive range of years 203 pattern: ^2\d{3}(?::2\d{3}|$) 204 type: string 205 type: array 206 type: object 207 type: array 208 type: object 209 type: array 210 receivers: 211 description: List of receivers. 212 items: 213 description: Receiver defines one or more notification integrations. 214 properties: 215 emailConfigs: 216 description: List of Email configurations. 217 items: 218 description: EmailConfig configures notifications via Email. 219 properties: 220 authIdentity: 221 description: The identity to use for authentication. 222 type: string 223 authPassword: 224 description: The secret's key that contains the password 225 to use for authentication. The secret needs to be in 226 the same namespace as the AlertmanagerConfig object 227 and accessible by the Prometheus Operator. 228 properties: 229 key: 230 description: The key of the secret to select from. Must 231 be a valid secret key. 232 type: string 233 name: 234 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 235 TODO: Add other useful fields. apiVersion, kind, 236 uid?' 237 type: string 238 optional: 239 description: Specify whether the Secret or its key 240 must be defined 241 type: boolean 242 required: 243 - key 244 type: object 245 authSecret: 246 description: The secret's key that contains the CRAM-MD5 247 secret. The secret needs to be in the same namespace 248 as the AlertmanagerConfig object and accessible by the 249 Prometheus Operator. 250 properties: 251 key: 252 description: The key of the secret to select from. Must 253 be a valid secret key. 254 type: string 255 name: 256 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 257 TODO: Add other useful fields. apiVersion, kind, 258 uid?' 259 type: string 260 optional: 261 description: Specify whether the Secret or its key 262 must be defined 263 type: boolean 264 required: 265 - key 266 type: object 267 authUsername: 268 description: The username to use for authentication. 269 type: string 270 from: 271 description: The sender address. 272 type: string 273 headers: 274 description: Further headers email header key/value pairs. 275 Overrides any headers previously set by the notification 276 implementation. 277 items: 278 description: KeyValue defines a (key, value) tuple. 279 properties: 280 key: 281 description: Key of the tuple. 282 minLength: 1 283 type: string 284 value: 285 description: Value of the tuple. 286 type: string 287 required: 288 - key 289 - value 290 type: object 291 type: array 292 hello: 293 description: The hostname to identify to the SMTP server. 294 type: string 295 html: 296 description: The HTML body of the email notification. 297 type: string 298 requireTLS: 299 description: The SMTP TLS requirement. Note that Go does 300 not support unencrypted connections to remote SMTP endpoints. 301 type: boolean 302 sendResolved: 303 description: Whether or not to notify about resolved alerts. 304 type: boolean 305 smarthost: 306 description: The SMTP host and port through which emails 307 are sent. E.g. example.com:25 308 type: string 309 text: 310 description: The text body of the email notification. 311 type: string 312 tlsConfig: 313 description: TLS configuration 314 properties: 315 ca: 316 description: Certificate authority used when verifying 317 server certificates. 318 properties: 319 configMap: 320 description: ConfigMap containing data to use 321 for the targets. 322 properties: 323 key: 324 description: The key to select. 325 type: string 326 name: 327 description: 'Name of the referent. More info: 328 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 329 TODO: Add other useful fields. apiVersion, 330 kind, uid?' 331 type: string 332 optional: 333 description: Specify whether the ConfigMap 334 or its key must be defined 335 type: boolean 336 required: 337 - key 338 type: object 339 x-kubernetes-map-type: atomic 340 secret: 341 description: Secret containing data to use for 342 the targets. 343 properties: 344 key: 345 description: The key of the secret to select 346 from. Must be a valid secret key. 347 type: string 348 name: 349 description: 'Name of the referent. More info: 350 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 351 TODO: Add other useful fields. apiVersion, 352 kind, uid?' 353 type: string 354 optional: 355 description: Specify whether the Secret or 356 its key must be defined 357 type: boolean 358 required: 359 - key 360 type: object 361 x-kubernetes-map-type: atomic 362 type: object 363 cert: 364 description: Client certificate to present when doing 365 client-authentication. 366 properties: 367 configMap: 368 description: ConfigMap containing data to use 369 for the targets. 370 properties: 371 key: 372 description: The key to select. 373 type: string 374 name: 375 description: 'Name of the referent. More info: 376 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 377 TODO: Add other useful fields. apiVersion, 378 kind, uid?' 379 type: string 380 optional: 381 description: Specify whether the ConfigMap 382 or its key must be defined 383 type: boolean 384 required: 385 - key 386 type: object 387 x-kubernetes-map-type: atomic 388 secret: 389 description: Secret containing data to use for 390 the targets. 391 properties: 392 key: 393 description: The key of the secret to select 394 from. Must be a valid secret key. 395 type: string 396 name: 397 description: 'Name of the referent. More info: 398 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 399 TODO: Add other useful fields. apiVersion, 400 kind, uid?' 401 type: string 402 optional: 403 description: Specify whether the Secret or 404 its key must be defined 405 type: boolean 406 required: 407 - key 408 type: object 409 x-kubernetes-map-type: atomic 410 type: object 411 insecureSkipVerify: 412 description: Disable target certificate validation. 413 type: boolean 414 keySecret: 415 description: Secret containing the client key file 416 for the targets. 417 properties: 418 key: 419 description: The key of the secret to select from. Must 420 be a valid secret key. 421 type: string 422 name: 423 description: 'Name of the referent. More info: 424 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 425 TODO: Add other useful fields. apiVersion, kind, 426 uid?' 427 type: string 428 optional: 429 description: Specify whether the Secret or its 430 key must be defined 431 type: boolean 432 required: 433 - key 434 type: object 435 x-kubernetes-map-type: atomic 436 serverName: 437 description: Used to verify the hostname for the targets. 438 type: string 439 type: object 440 to: 441 description: The email address to send notifications to. 442 type: string 443 type: object 444 type: array 445 name: 446 description: Name of the receiver. Must be unique across all 447 items from the list. 448 minLength: 1 449 type: string 450 opsgenieConfigs: 451 description: List of OpsGenie configurations. 452 items: 453 description: OpsGenieConfig configures notifications via OpsGenie. 454 See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config 455 properties: 456 actions: 457 description: Comma separated list of actions that will 458 be available for the alert. 459 type: string 460 apiKey: 461 description: The secret's key that contains the OpsGenie 462 API key. The secret needs to be in the same namespace 463 as the AlertmanagerConfig object and accessible by the 464 Prometheus Operator. 465 properties: 466 key: 467 description: The key of the secret to select from. Must 468 be a valid secret key. 469 type: string 470 name: 471 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 472 TODO: Add other useful fields. apiVersion, kind, 473 uid?' 474 type: string 475 optional: 476 description: Specify whether the Secret or its key 477 must be defined 478 type: boolean 479 required: 480 - key 481 type: object 482 apiURL: 483 description: The URL to send OpsGenie API requests to. 484 type: string 485 description: 486 description: Description of the incident. 487 type: string 488 details: 489 description: A set of arbitrary key/value pairs that provide 490 further detail about the incident. 491 items: 492 description: KeyValue defines a (key, value) tuple. 493 properties: 494 key: 495 description: Key of the tuple. 496 minLength: 1 497 type: string 498 value: 499 description: Value of the tuple. 500 type: string 501 required: 502 - key 503 - value 504 type: object 505 type: array 506 entity: 507 description: Optional field that can be used to specify 508 which domain alert is related to. 509 type: string 510 httpConfig: 511 description: HTTP client configuration. 512 properties: 513 authorization: 514 description: Authorization header configuration for 515 the client. This is mutually exclusive with BasicAuth 516 and is only available starting from Alertmanager 517 v0.22+. 518 properties: 519 credentials: 520 description: The secret's key that contains the 521 credentials of the request 522 properties: 523 key: 524 description: The key of the secret to select 525 from. Must be a valid secret key. 526 type: string 527 name: 528 description: 'Name of the referent. More info: 529 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 530 TODO: Add other useful fields. apiVersion, 531 kind, uid?' 532 type: string 533 optional: 534 description: Specify whether the Secret or 535 its key must be defined 536 type: boolean 537 required: 538 - key 539 type: object 540 x-kubernetes-map-type: atomic 541 type: 542 description: Set the authentication type. Defaults 543 to Bearer, Basic will cause an error 544 type: string 545 type: object 546 basicAuth: 547 description: BasicAuth for the client. This is mutually 548 exclusive with Authorization. If both are defined, 549 BasicAuth takes precedence. 550 properties: 551 password: 552 description: The secret in the service monitor 553 namespace that contains the password for authentication. 554 properties: 555 key: 556 description: The key of the secret to select 557 from. Must be a valid secret key. 558 type: string 559 name: 560 description: 'Name of the referent. More info: 561 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 562 TODO: Add other useful fields. apiVersion, 563 kind, uid?' 564 type: string 565 optional: 566 description: Specify whether the Secret or 567 its key must be defined 568 type: boolean 569 required: 570 - key 571 type: object 572 x-kubernetes-map-type: atomic 573 username: 574 description: The secret in the service monitor 575 namespace that contains the username for authentication. 576 properties: 577 key: 578 description: The key of the secret to select 579 from. Must be a valid secret key. 580 type: string 581 name: 582 description: 'Name of the referent. More info: 583 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 584 TODO: Add other useful fields. apiVersion, 585 kind, uid?' 586 type: string 587 optional: 588 description: Specify whether the Secret or 589 its key must be defined 590 type: boolean 591 required: 592 - key 593 type: object 594 x-kubernetes-map-type: atomic 595 type: object 596 bearerTokenSecret: 597 description: The secret's key that contains the bearer 598 token to be used by the client for authentication. 599 The secret needs to be in the same namespace as 600 the AlertmanagerConfig object and accessible by 601 the Prometheus Operator. 602 properties: 603 key: 604 description: The key of the secret to select from. Must 605 be a valid secret key. 606 type: string 607 name: 608 description: 'Name of the referent. More info: 609 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 610 TODO: Add other useful fields. apiVersion, kind, 611 uid?' 612 type: string 613 optional: 614 description: Specify whether the Secret or its 615 key must be defined 616 type: boolean 617 required: 618 - key 619 type: object 620 followRedirects: 621 description: FollowRedirects specifies whether the 622 client should follow HTTP 3xx redirects. 623 type: boolean 624 oauth2: 625 description: OAuth2 client credentials used to fetch 626 a token for the targets. 627 properties: 628 clientId: 629 description: The secret or configmap containing 630 the OAuth2 client id 631 properties: 632 configMap: 633 description: ConfigMap containing data to 634 use for the targets. 635 properties: 636 key: 637 description: The key to select. 638 type: string 639 name: 640 description: 'Name of the referent. More 641 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 642 TODO: Add other useful fields. apiVersion, 643 kind, uid?' 644 type: string 645 optional: 646 description: Specify whether the ConfigMap 647 or its key must be defined 648 type: boolean 649 required: 650 - key 651 type: object 652 x-kubernetes-map-type: atomic 653 secret: 654 description: Secret containing data to use 655 for the targets. 656 properties: 657 key: 658 description: The key of the secret to 659 select from. Must be a valid secret 660 key. 661 type: string 662 name: 663 description: 'Name of the referent. More 664 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 665 TODO: Add other useful fields. apiVersion, 666 kind, uid?' 667 type: string 668 optional: 669 description: Specify whether the Secret 670 or its key must be defined 671 type: boolean 672 required: 673 - key 674 type: object 675 x-kubernetes-map-type: atomic 676 type: object 677 clientSecret: 678 description: The secret containing the OAuth2 679 client secret 680 properties: 681 key: 682 description: The key of the secret to select 683 from. Must be a valid secret key. 684 type: string 685 name: 686 description: 'Name of the referent. More info: 687 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 688 TODO: Add other useful fields. apiVersion, 689 kind, uid?' 690 type: string 691 optional: 692 description: Specify whether the Secret or 693 its key must be defined 694 type: boolean 695 required: 696 - key 697 type: object 698 x-kubernetes-map-type: atomic 699 endpointParams: 700 additionalProperties: 701 type: string 702 description: Parameters to append to the token 703 URL 704 type: object 705 scopes: 706 description: OAuth2 scopes used for the token 707 request 708 items: 709 type: string 710 type: array 711 tokenUrl: 712 description: The URL to fetch the token from 713 minLength: 1 714 type: string 715 required: 716 - clientId 717 - clientSecret 718 - tokenUrl 719 type: object 720 proxyURL: 721 description: Optional proxy URL. 722 type: string 723 tlsConfig: 724 description: TLS configuration for the client. 725 properties: 726 ca: 727 description: Certificate authority used when verifying 728 server certificates. 729 properties: 730 configMap: 731 description: ConfigMap containing data to 732 use for the targets. 733 properties: 734 key: 735 description: The key to select. 736 type: string 737 name: 738 description: 'Name of the referent. More 739 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 740 TODO: Add other useful fields. apiVersion, 741 kind, uid?' 742 type: string 743 optional: 744 description: Specify whether the ConfigMap 745 or its key must be defined 746 type: boolean 747 required: 748 - key 749 type: object 750 x-kubernetes-map-type: atomic 751 secret: 752 description: Secret containing data to use 753 for the targets. 754 properties: 755 key: 756 description: The key of the secret to 757 select from. Must be a valid secret 758 key. 759 type: string 760 name: 761 description: 'Name of the referent. More 762 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 763 TODO: Add other useful fields. apiVersion, 764 kind, uid?' 765 type: string 766 optional: 767 description: Specify whether the Secret 768 or its key must be defined 769 type: boolean 770 required: 771 - key 772 type: object 773 x-kubernetes-map-type: atomic 774 type: object 775 cert: 776 description: Client certificate to present when 777 doing client-authentication. 778 properties: 779 configMap: 780 description: ConfigMap containing data to 781 use for the targets. 782 properties: 783 key: 784 description: The key to select. 785 type: string 786 name: 787 description: 'Name of the referent. More 788 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 789 TODO: Add other useful fields. apiVersion, 790 kind, uid?' 791 type: string 792 optional: 793 description: Specify whether the ConfigMap 794 or its key must be defined 795 type: boolean 796 required: 797 - key 798 type: object 799 x-kubernetes-map-type: atomic 800 secret: 801 description: Secret containing data to use 802 for the targets. 803 properties: 804 key: 805 description: The key of the secret to 806 select from. Must be a valid secret 807 key. 808 type: string 809 name: 810 description: 'Name of the referent. More 811 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 812 TODO: Add other useful fields. apiVersion, 813 kind, uid?' 814 type: string 815 optional: 816 description: Specify whether the Secret 817 or its key must be defined 818 type: boolean 819 required: 820 - key 821 type: object 822 x-kubernetes-map-type: atomic 823 type: object 824 insecureSkipVerify: 825 description: Disable target certificate validation. 826 type: boolean 827 keySecret: 828 description: Secret containing the client key 829 file for the targets. 830 properties: 831 key: 832 description: The key of the secret to select 833 from. Must be a valid secret key. 834 type: string 835 name: 836 description: 'Name of the referent. More info: 837 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 838 TODO: Add other useful fields. apiVersion, 839 kind, uid?' 840 type: string 841 optional: 842 description: Specify whether the Secret or 843 its key must be defined 844 type: boolean 845 required: 846 - key 847 type: object 848 x-kubernetes-map-type: atomic 849 serverName: 850 description: Used to verify the hostname for the 851 targets. 852 type: string 853 type: object 854 type: object 855 message: 856 description: Alert text limited to 130 characters. 857 type: string 858 note: 859 description: Additional alert note. 860 type: string 861 priority: 862 description: Priority level of alert. Possible values 863 are P1, P2, P3, P4, and P5. 864 type: string 865 responders: 866 description: List of responders responsible for notifications. 867 items: 868 description: OpsGenieConfigResponder defines a responder 869 to an incident. One of `id`, `name` or `username` 870 has to be defined. 871 properties: 872 id: 873 description: ID of the responder. 874 type: string 875 name: 876 description: Name of the responder. 877 type: string 878 type: 879 description: Type of responder. 880 enum: 881 - team 882 - teams 883 - user 884 - escalation 885 - schedule 886 minLength: 1 887 type: string 888 username: 889 description: Username of the responder. 890 type: string 891 required: 892 - type 893 type: object 894 type: array 895 sendResolved: 896 description: Whether or not to notify about resolved alerts. 897 type: boolean 898 source: 899 description: Backlink to the sender of the notification. 900 type: string 901 tags: 902 description: Comma separated list of tags attached to 903 the notifications. 904 type: string 905 updateAlerts: 906 description: Whether to update message and description 907 of the alert in OpsGenie if it already exists By default, 908 the alert is never updated in OpsGenie, the new message 909 only appears in activity log. 910 type: boolean 911 type: object 912 type: array 913 pagerdutyConfigs: 914 description: List of PagerDuty configurations. 915 items: 916 description: PagerDutyConfig configures notifications via 917 PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config 918 properties: 919 class: 920 description: The class/type of the event. 921 type: string 922 client: 923 description: Client identification. 924 type: string 925 clientURL: 926 description: Backlink to the sender of notification. 927 type: string 928 component: 929 description: The part or component of the affected system 930 that is broken. 931 type: string 932 description: 933 description: Description of the incident. 934 type: string 935 details: 936 description: Arbitrary key/value pairs that provide further 937 detail about the incident. 938 items: 939 description: KeyValue defines a (key, value) tuple. 940 properties: 941 key: 942 description: Key of the tuple. 943 minLength: 1 944 type: string 945 value: 946 description: Value of the tuple. 947 type: string 948 required: 949 - key 950 - value 951 type: object 952 type: array 953 group: 954 description: A cluster or grouping of sources. 955 type: string 956 httpConfig: 957 description: HTTP client configuration. 958 properties: 959 authorization: 960 description: Authorization header configuration for 961 the client. This is mutually exclusive with BasicAuth 962 and is only available starting from Alertmanager 963 v0.22+. 964 properties: 965 credentials: 966 description: The secret's key that contains the 967 credentials of the request 968 properties: 969 key: 970 description: The key of the secret to select 971 from. Must be a valid secret key. 972 type: string 973 name: 974 description: 'Name of the referent. More info: 975 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 976 TODO: Add other useful fields. apiVersion, 977 kind, uid?' 978 type: string 979 optional: 980 description: Specify whether the Secret or 981 its key must be defined 982 type: boolean 983 required: 984 - key 985 type: object 986 x-kubernetes-map-type: atomic 987 type: 988 description: Set the authentication type. Defaults 989 to Bearer, Basic will cause an error 990 type: string 991 type: object 992 basicAuth: 993 description: BasicAuth for the client. This is mutually 994 exclusive with Authorization. If both are defined, 995 BasicAuth takes precedence. 996 properties: 997 password: 998 description: The secret in the service monitor 999 namespace that contains the password for authentication. 1000 properties: 1001 key: 1002 description: The key of the secret to select 1003 from. Must be a valid secret key. 1004 type: string 1005 name: 1006 description: 'Name of the referent. More info: 1007 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1008 TODO: Add other useful fields. apiVersion, 1009 kind, uid?' 1010 type: string 1011 optional: 1012 description: Specify whether the Secret or 1013 its key must be defined 1014 type: boolean 1015 required: 1016 - key 1017 type: object 1018 x-kubernetes-map-type: atomic 1019 username: 1020 description: The secret in the service monitor 1021 namespace that contains the username for authentication. 1022 properties: 1023 key: 1024 description: The key of the secret to select 1025 from. Must be a valid secret key. 1026 type: string 1027 name: 1028 description: 'Name of the referent. More info: 1029 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1030 TODO: Add other useful fields. apiVersion, 1031 kind, uid?' 1032 type: string 1033 optional: 1034 description: Specify whether the Secret or 1035 its key must be defined 1036 type: boolean 1037 required: 1038 - key 1039 type: object 1040 x-kubernetes-map-type: atomic 1041 type: object 1042 bearerTokenSecret: 1043 description: The secret's key that contains the bearer 1044 token to be used by the client for authentication. 1045 The secret needs to be in the same namespace as 1046 the AlertmanagerConfig object and accessible by 1047 the Prometheus Operator. 1048 properties: 1049 key: 1050 description: The key of the secret to select from. Must 1051 be a valid secret key. 1052 type: string 1053 name: 1054 description: 'Name of the referent. More info: 1055 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1056 TODO: Add other useful fields. apiVersion, kind, 1057 uid?' 1058 type: string 1059 optional: 1060 description: Specify whether the Secret or its 1061 key must be defined 1062 type: boolean 1063 required: 1064 - key 1065 type: object 1066 followRedirects: 1067 description: FollowRedirects specifies whether the 1068 client should follow HTTP 3xx redirects. 1069 type: boolean 1070 oauth2: 1071 description: OAuth2 client credentials used to fetch 1072 a token for the targets. 1073 properties: 1074 clientId: 1075 description: The secret or configmap containing 1076 the OAuth2 client id 1077 properties: 1078 configMap: 1079 description: ConfigMap containing data to 1080 use for the targets. 1081 properties: 1082 key: 1083 description: The key to select. 1084 type: string 1085 name: 1086 description: 'Name of the referent. More 1087 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1088 TODO: Add other useful fields. apiVersion, 1089 kind, uid?' 1090 type: string 1091 optional: 1092 description: Specify whether the ConfigMap 1093 or its key must be defined 1094 type: boolean 1095 required: 1096 - key 1097 type: object 1098 x-kubernetes-map-type: atomic 1099 secret: 1100 description: Secret containing data to use 1101 for the targets. 1102 properties: 1103 key: 1104 description: The key of the secret to 1105 select from. Must be a valid secret 1106 key. 1107 type: string 1108 name: 1109 description: 'Name of the referent. More 1110 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1111 TODO: Add other useful fields. apiVersion, 1112 kind, uid?' 1113 type: string 1114 optional: 1115 description: Specify whether the Secret 1116 or its key must be defined 1117 type: boolean 1118 required: 1119 - key 1120 type: object 1121 x-kubernetes-map-type: atomic 1122 type: object 1123 clientSecret: 1124 description: The secret containing the OAuth2 1125 client secret 1126 properties: 1127 key: 1128 description: The key of the secret to select 1129 from. Must be a valid secret key. 1130 type: string 1131 name: 1132 description: 'Name of the referent. More info: 1133 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1134 TODO: Add other useful fields. apiVersion, 1135 kind, uid?' 1136 type: string 1137 optional: 1138 description: Specify whether the Secret or 1139 its key must be defined 1140 type: boolean 1141 required: 1142 - key 1143 type: object 1144 x-kubernetes-map-type: atomic 1145 endpointParams: 1146 additionalProperties: 1147 type: string 1148 description: Parameters to append to the token 1149 URL 1150 type: object 1151 scopes: 1152 description: OAuth2 scopes used for the token 1153 request 1154 items: 1155 type: string 1156 type: array 1157 tokenUrl: 1158 description: The URL to fetch the token from 1159 minLength: 1 1160 type: string 1161 required: 1162 - clientId 1163 - clientSecret 1164 - tokenUrl 1165 type: object 1166 proxyURL: 1167 description: Optional proxy URL. 1168 type: string 1169 tlsConfig: 1170 description: TLS configuration for the client. 1171 properties: 1172 ca: 1173 description: Certificate authority used when verifying 1174 server certificates. 1175 properties: 1176 configMap: 1177 description: ConfigMap containing data to 1178 use for the targets. 1179 properties: 1180 key: 1181 description: The key to select. 1182 type: string 1183 name: 1184 description: 'Name of the referent. More 1185 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1186 TODO: Add other useful fields. apiVersion, 1187 kind, uid?' 1188 type: string 1189 optional: 1190 description: Specify whether the ConfigMap 1191 or its key must be defined 1192 type: boolean 1193 required: 1194 - key 1195 type: object 1196 x-kubernetes-map-type: atomic 1197 secret: 1198 description: Secret containing data to use 1199 for the targets. 1200 properties: 1201 key: 1202 description: The key of the secret to 1203 select from. Must be a valid secret 1204 key. 1205 type: string 1206 name: 1207 description: 'Name of the referent. More 1208 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1209 TODO: Add other useful fields. apiVersion, 1210 kind, uid?' 1211 type: string 1212 optional: 1213 description: Specify whether the Secret 1214 or its key must be defined 1215 type: boolean 1216 required: 1217 - key 1218 type: object 1219 x-kubernetes-map-type: atomic 1220 type: object 1221 cert: 1222 description: Client certificate to present when 1223 doing client-authentication. 1224 properties: 1225 configMap: 1226 description: ConfigMap containing data to 1227 use for the targets. 1228 properties: 1229 key: 1230 description: The key to select. 1231 type: string 1232 name: 1233 description: 'Name of the referent. More 1234 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1235 TODO: Add other useful fields. apiVersion, 1236 kind, uid?' 1237 type: string 1238 optional: 1239 description: Specify whether the ConfigMap 1240 or its key must be defined 1241 type: boolean 1242 required: 1243 - key 1244 type: object 1245 x-kubernetes-map-type: atomic 1246 secret: 1247 description: Secret containing data to use 1248 for the targets. 1249 properties: 1250 key: 1251 description: The key of the secret to 1252 select from. Must be a valid secret 1253 key. 1254 type: string 1255 name: 1256 description: 'Name of the referent. More 1257 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1258 TODO: Add other useful fields. apiVersion, 1259 kind, uid?' 1260 type: string 1261 optional: 1262 description: Specify whether the Secret 1263 or its key must be defined 1264 type: boolean 1265 required: 1266 - key 1267 type: object 1268 x-kubernetes-map-type: atomic 1269 type: object 1270 insecureSkipVerify: 1271 description: Disable target certificate validation. 1272 type: boolean 1273 keySecret: 1274 description: Secret containing the client key 1275 file for the targets. 1276 properties: 1277 key: 1278 description: The key of the secret to select 1279 from. Must be a valid secret key. 1280 type: string 1281 name: 1282 description: 'Name of the referent. More info: 1283 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1284 TODO: Add other useful fields. apiVersion, 1285 kind, uid?' 1286 type: string 1287 optional: 1288 description: Specify whether the Secret or 1289 its key must be defined 1290 type: boolean 1291 required: 1292 - key 1293 type: object 1294 x-kubernetes-map-type: atomic 1295 serverName: 1296 description: Used to verify the hostname for the 1297 targets. 1298 type: string 1299 type: object 1300 type: object 1301 pagerDutyImageConfigs: 1302 description: A list of image details to attach that provide 1303 further detail about an incident. 1304 items: 1305 description: PagerDutyImageConfig attaches images to 1306 an incident 1307 properties: 1308 alt: 1309 description: Alt is the optional alternative text 1310 for the image. 1311 type: string 1312 href: 1313 description: Optional URL; makes the image a clickable 1314 link. 1315 type: string 1316 src: 1317 description: Src of the image being attached to 1318 the incident 1319 type: string 1320 type: object 1321 type: array 1322 pagerDutyLinkConfigs: 1323 description: A list of link details to attach that provide 1324 further detail about an incident. 1325 items: 1326 description: PagerDutyLinkConfig attaches text links 1327 to an incident 1328 properties: 1329 alt: 1330 description: Text that describes the purpose of 1331 the link, and can be used as the link's text. 1332 type: string 1333 href: 1334 description: Href is the URL of the link to be attached 1335 type: string 1336 type: object 1337 type: array 1338 routingKey: 1339 description: The secret's key that contains the PagerDuty 1340 integration key (when using Events API v2). Either this 1341 field or `serviceKey` needs to be defined. The secret 1342 needs to be in the same namespace as the AlertmanagerConfig 1343 object and accessible by the Prometheus Operator. 1344 properties: 1345 key: 1346 description: The key of the secret to select from. Must 1347 be a valid secret key. 1348 type: string 1349 name: 1350 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1351 TODO: Add other useful fields. apiVersion, kind, 1352 uid?' 1353 type: string 1354 optional: 1355 description: Specify whether the Secret or its key 1356 must be defined 1357 type: boolean 1358 required: 1359 - key 1360 type: object 1361 sendResolved: 1362 description: Whether or not to notify about resolved alerts. 1363 type: boolean 1364 serviceKey: 1365 description: The secret's key that contains the PagerDuty 1366 service key (when using integration type "Prometheus"). 1367 Either this field or `routingKey` needs to be defined. 1368 The secret needs to be in the same namespace as the 1369 AlertmanagerConfig object and accessible by the Prometheus 1370 Operator. 1371 properties: 1372 key: 1373 description: The key of the secret to select from. Must 1374 be a valid secret key. 1375 type: string 1376 name: 1377 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1378 TODO: Add other useful fields. apiVersion, kind, 1379 uid?' 1380 type: string 1381 optional: 1382 description: Specify whether the Secret or its key 1383 must be defined 1384 type: boolean 1385 required: 1386 - key 1387 type: object 1388 severity: 1389 description: Severity of the incident. 1390 type: string 1391 url: 1392 description: The URL to send requests to. 1393 type: string 1394 type: object 1395 type: array 1396 pushoverConfigs: 1397 description: List of Pushover configurations. 1398 items: 1399 description: PushoverConfig configures notifications via Pushover. 1400 See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config 1401 properties: 1402 expire: 1403 description: How long your notification will continue 1404 to be retried for, unless the user acknowledges the 1405 notification. 1406 pattern: ^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$ 1407 type: string 1408 html: 1409 description: Whether notification message is HTML or plain 1410 text. 1411 type: boolean 1412 httpConfig: 1413 description: HTTP client configuration. 1414 properties: 1415 authorization: 1416 description: Authorization header configuration for 1417 the client. This is mutually exclusive with BasicAuth 1418 and is only available starting from Alertmanager 1419 v0.22+. 1420 properties: 1421 credentials: 1422 description: The secret's key that contains the 1423 credentials of the request 1424 properties: 1425 key: 1426 description: The key of the secret to select 1427 from. Must be a valid secret key. 1428 type: string 1429 name: 1430 description: 'Name of the referent. More info: 1431 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1432 TODO: Add other useful fields. apiVersion, 1433 kind, uid?' 1434 type: string 1435 optional: 1436 description: Specify whether the Secret or 1437 its key must be defined 1438 type: boolean 1439 required: 1440 - key 1441 type: object 1442 x-kubernetes-map-type: atomic 1443 type: 1444 description: Set the authentication type. Defaults 1445 to Bearer, Basic will cause an error 1446 type: string 1447 type: object 1448 basicAuth: 1449 description: BasicAuth for the client. This is mutually 1450 exclusive with Authorization. If both are defined, 1451 BasicAuth takes precedence. 1452 properties: 1453 password: 1454 description: The secret in the service monitor 1455 namespace that contains the password for authentication. 1456 properties: 1457 key: 1458 description: The key of the secret to select 1459 from. Must be a valid secret key. 1460 type: string 1461 name: 1462 description: 'Name of the referent. More info: 1463 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1464 TODO: Add other useful fields. apiVersion, 1465 kind, uid?' 1466 type: string 1467 optional: 1468 description: Specify whether the Secret or 1469 its key must be defined 1470 type: boolean 1471 required: 1472 - key 1473 type: object 1474 x-kubernetes-map-type: atomic 1475 username: 1476 description: The secret in the service monitor 1477 namespace that contains the username for authentication. 1478 properties: 1479 key: 1480 description: The key of the secret to select 1481 from. Must be a valid secret key. 1482 type: string 1483 name: 1484 description: 'Name of the referent. More info: 1485 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1486 TODO: Add other useful fields. apiVersion, 1487 kind, uid?' 1488 type: string 1489 optional: 1490 description: Specify whether the Secret or 1491 its key must be defined 1492 type: boolean 1493 required: 1494 - key 1495 type: object 1496 x-kubernetes-map-type: atomic 1497 type: object 1498 bearerTokenSecret: 1499 description: The secret's key that contains the bearer 1500 token to be used by the client for authentication. 1501 The secret needs to be in the same namespace as 1502 the AlertmanagerConfig object and accessible by 1503 the Prometheus Operator. 1504 properties: 1505 key: 1506 description: The key of the secret to select from. Must 1507 be a valid secret key. 1508 type: string 1509 name: 1510 description: 'Name of the referent. More info: 1511 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1512 TODO: Add other useful fields. apiVersion, kind, 1513 uid?' 1514 type: string 1515 optional: 1516 description: Specify whether the Secret or its 1517 key must be defined 1518 type: boolean 1519 required: 1520 - key 1521 type: object 1522 followRedirects: 1523 description: FollowRedirects specifies whether the 1524 client should follow HTTP 3xx redirects. 1525 type: boolean 1526 oauth2: 1527 description: OAuth2 client credentials used to fetch 1528 a token for the targets. 1529 properties: 1530 clientId: 1531 description: The secret or configmap containing 1532 the OAuth2 client id 1533 properties: 1534 configMap: 1535 description: ConfigMap containing data to 1536 use for the targets. 1537 properties: 1538 key: 1539 description: The key to select. 1540 type: string 1541 name: 1542 description: 'Name of the referent. More 1543 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1544 TODO: Add other useful fields. apiVersion, 1545 kind, uid?' 1546 type: string 1547 optional: 1548 description: Specify whether the ConfigMap 1549 or its key must be defined 1550 type: boolean 1551 required: 1552 - key 1553 type: object 1554 x-kubernetes-map-type: atomic 1555 secret: 1556 description: Secret containing data to use 1557 for the targets. 1558 properties: 1559 key: 1560 description: The key of the secret to 1561 select from. Must be a valid secret 1562 key. 1563 type: string 1564 name: 1565 description: 'Name of the referent. More 1566 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1567 TODO: Add other useful fields. apiVersion, 1568 kind, uid?' 1569 type: string 1570 optional: 1571 description: Specify whether the Secret 1572 or its key must be defined 1573 type: boolean 1574 required: 1575 - key 1576 type: object 1577 x-kubernetes-map-type: atomic 1578 type: object 1579 clientSecret: 1580 description: The secret containing the OAuth2 1581 client secret 1582 properties: 1583 key: 1584 description: The key of the secret to select 1585 from. Must be a valid secret key. 1586 type: string 1587 name: 1588 description: 'Name of the referent. More info: 1589 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1590 TODO: Add other useful fields. apiVersion, 1591 kind, uid?' 1592 type: string 1593 optional: 1594 description: Specify whether the Secret or 1595 its key must be defined 1596 type: boolean 1597 required: 1598 - key 1599 type: object 1600 x-kubernetes-map-type: atomic 1601 endpointParams: 1602 additionalProperties: 1603 type: string 1604 description: Parameters to append to the token 1605 URL 1606 type: object 1607 scopes: 1608 description: OAuth2 scopes used for the token 1609 request 1610 items: 1611 type: string 1612 type: array 1613 tokenUrl: 1614 description: The URL to fetch the token from 1615 minLength: 1 1616 type: string 1617 required: 1618 - clientId 1619 - clientSecret 1620 - tokenUrl 1621 type: object 1622 proxyURL: 1623 description: Optional proxy URL. 1624 type: string 1625 tlsConfig: 1626 description: TLS configuration for the client. 1627 properties: 1628 ca: 1629 description: Certificate authority used when verifying 1630 server certificates. 1631 properties: 1632 configMap: 1633 description: ConfigMap containing data to 1634 use for the targets. 1635 properties: 1636 key: 1637 description: The key to select. 1638 type: string 1639 name: 1640 description: 'Name of the referent. More 1641 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1642 TODO: Add other useful fields. apiVersion, 1643 kind, uid?' 1644 type: string 1645 optional: 1646 description: Specify whether the ConfigMap 1647 or its key must be defined 1648 type: boolean 1649 required: 1650 - key 1651 type: object 1652 x-kubernetes-map-type: atomic 1653 secret: 1654 description: Secret containing data to use 1655 for the targets. 1656 properties: 1657 key: 1658 description: The key of the secret to 1659 select from. Must be a valid secret 1660 key. 1661 type: string 1662 name: 1663 description: 'Name of the referent. More 1664 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1665 TODO: Add other useful fields. apiVersion, 1666 kind, uid?' 1667 type: string 1668 optional: 1669 description: Specify whether the Secret 1670 or its key must be defined 1671 type: boolean 1672 required: 1673 - key 1674 type: object 1675 x-kubernetes-map-type: atomic 1676 type: object 1677 cert: 1678 description: Client certificate to present when 1679 doing client-authentication. 1680 properties: 1681 configMap: 1682 description: ConfigMap containing data to 1683 use for the targets. 1684 properties: 1685 key: 1686 description: The key to select. 1687 type: string 1688 name: 1689 description: 'Name of the referent. More 1690 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1691 TODO: Add other useful fields. apiVersion, 1692 kind, uid?' 1693 type: string 1694 optional: 1695 description: Specify whether the ConfigMap 1696 or its key must be defined 1697 type: boolean 1698 required: 1699 - key 1700 type: object 1701 x-kubernetes-map-type: atomic 1702 secret: 1703 description: Secret containing data to use 1704 for the targets. 1705 properties: 1706 key: 1707 description: The key of the secret to 1708 select from. Must be a valid secret 1709 key. 1710 type: string 1711 name: 1712 description: 'Name of the referent. More 1713 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1714 TODO: Add other useful fields. apiVersion, 1715 kind, uid?' 1716 type: string 1717 optional: 1718 description: Specify whether the Secret 1719 or its key must be defined 1720 type: boolean 1721 required: 1722 - key 1723 type: object 1724 x-kubernetes-map-type: atomic 1725 type: object 1726 insecureSkipVerify: 1727 description: Disable target certificate validation. 1728 type: boolean 1729 keySecret: 1730 description: Secret containing the client key 1731 file for the targets. 1732 properties: 1733 key: 1734 description: The key of the secret to select 1735 from. Must be a valid secret key. 1736 type: string 1737 name: 1738 description: 'Name of the referent. More info: 1739 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1740 TODO: Add other useful fields. apiVersion, 1741 kind, uid?' 1742 type: string 1743 optional: 1744 description: Specify whether the Secret or 1745 its key must be defined 1746 type: boolean 1747 required: 1748 - key 1749 type: object 1750 x-kubernetes-map-type: atomic 1751 serverName: 1752 description: Used to verify the hostname for the 1753 targets. 1754 type: string 1755 type: object 1756 type: object 1757 message: 1758 description: Notification message. 1759 type: string 1760 priority: 1761 description: Priority, see https://pushover.net/api#priority 1762 type: string 1763 retry: 1764 description: How often the Pushover servers will send 1765 the same notification to the user. Must be at least 1766 30 seconds. 1767 pattern: ^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$ 1768 type: string 1769 sendResolved: 1770 description: Whether or not to notify about resolved alerts. 1771 type: boolean 1772 sound: 1773 description: The name of one of the sounds supported by 1774 device clients to override the user's default sound 1775 choice 1776 type: string 1777 title: 1778 description: Notification title. 1779 type: string 1780 token: 1781 description: The secret's key that contains the registered 1782 application's API token, see https://pushover.net/apps. 1783 The secret needs to be in the same namespace as the 1784 AlertmanagerConfig object and accessible by the Prometheus 1785 Operator. 1786 properties: 1787 key: 1788 description: The key of the secret to select from. Must 1789 be a valid secret key. 1790 type: string 1791 name: 1792 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1793 TODO: Add other useful fields. apiVersion, kind, 1794 uid?' 1795 type: string 1796 optional: 1797 description: Specify whether the Secret or its key 1798 must be defined 1799 type: boolean 1800 required: 1801 - key 1802 type: object 1803 url: 1804 description: A supplementary URL shown alongside the message. 1805 type: string 1806 urlTitle: 1807 description: A title for supplementary URL, otherwise 1808 just the URL is shown 1809 type: string 1810 userKey: 1811 description: The secret's key that contains the recipient 1812 user's user key. The secret needs to be in the same 1813 namespace as the AlertmanagerConfig object and accessible 1814 by the Prometheus Operator. 1815 properties: 1816 key: 1817 description: The key of the secret to select from. Must 1818 be a valid secret key. 1819 type: string 1820 name: 1821 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1822 TODO: Add other useful fields. apiVersion, kind, 1823 uid?' 1824 type: string 1825 optional: 1826 description: Specify whether the Secret or its key 1827 must be defined 1828 type: boolean 1829 required: 1830 - key 1831 type: object 1832 type: object 1833 type: array 1834 slackConfigs: 1835 description: List of Slack configurations. 1836 items: 1837 description: SlackConfig configures notifications via Slack. 1838 See https://prometheus.io/docs/alerting/latest/configuration/#slack_config 1839 properties: 1840 actions: 1841 description: A list of Slack actions that are sent with 1842 each notification. 1843 items: 1844 description: SlackAction configures a single Slack action 1845 that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields 1846 and https://api.slack.com/docs/message-buttons for 1847 more information. 1848 properties: 1849 confirm: 1850 description: SlackConfirmationField protect users 1851 from destructive actions or particularly distinguished 1852 decisions by asking them to confirm their button 1853 click one more time. See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields 1854 for more information. 1855 properties: 1856 dismissText: 1857 type: string 1858 okText: 1859 type: string 1860 text: 1861 minLength: 1 1862 type: string 1863 title: 1864 type: string 1865 required: 1866 - text 1867 type: object 1868 name: 1869 type: string 1870 style: 1871 type: string 1872 text: 1873 minLength: 1 1874 type: string 1875 type: 1876 minLength: 1 1877 type: string 1878 url: 1879 type: string 1880 value: 1881 type: string 1882 required: 1883 - text 1884 - type 1885 type: object 1886 type: array 1887 apiURL: 1888 description: The secret's key that contains the Slack 1889 webhook URL. The secret needs to be in the same namespace 1890 as the AlertmanagerConfig object and accessible by the 1891 Prometheus Operator. 1892 properties: 1893 key: 1894 description: The key of the secret to select from. Must 1895 be a valid secret key. 1896 type: string 1897 name: 1898 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1899 TODO: Add other useful fields. apiVersion, kind, 1900 uid?' 1901 type: string 1902 optional: 1903 description: Specify whether the Secret or its key 1904 must be defined 1905 type: boolean 1906 required: 1907 - key 1908 type: object 1909 callbackId: 1910 type: string 1911 channel: 1912 description: The channel or user to send notifications 1913 to. 1914 type: string 1915 color: 1916 type: string 1917 fallback: 1918 type: string 1919 fields: 1920 description: A list of Slack fields that are sent with 1921 each notification. 1922 items: 1923 description: SlackField configures a single Slack field 1924 that is sent with each notification. Each field must 1925 contain a title, value, and optionally, a boolean 1926 value to indicate if the field is short enough to 1927 be displayed next to other fields designated as short. 1928 See https://api.slack.com/docs/message-attachments#fields 1929 for more information. 1930 properties: 1931 short: 1932 type: boolean 1933 title: 1934 minLength: 1 1935 type: string 1936 value: 1937 minLength: 1 1938 type: string 1939 required: 1940 - title 1941 - value 1942 type: object 1943 type: array 1944 footer: 1945 type: string 1946 httpConfig: 1947 description: HTTP client configuration. 1948 properties: 1949 authorization: 1950 description: Authorization header configuration for 1951 the client. This is mutually exclusive with BasicAuth 1952 and is only available starting from Alertmanager 1953 v0.22+. 1954 properties: 1955 credentials: 1956 description: The secret's key that contains the 1957 credentials of the request 1958 properties: 1959 key: 1960 description: The key of the secret to select 1961 from. Must be a valid secret key. 1962 type: string 1963 name: 1964 description: 'Name of the referent. More info: 1965 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1966 TODO: Add other useful fields. apiVersion, 1967 kind, uid?' 1968 type: string 1969 optional: 1970 description: Specify whether the Secret or 1971 its key must be defined 1972 type: boolean 1973 required: 1974 - key 1975 type: object 1976 x-kubernetes-map-type: atomic 1977 type: 1978 description: Set the authentication type. Defaults 1979 to Bearer, Basic will cause an error 1980 type: string 1981 type: object 1982 basicAuth: 1983 description: BasicAuth for the client. This is mutually 1984 exclusive with Authorization. If both are defined, 1985 BasicAuth takes precedence. 1986 properties: 1987 password: 1988 description: The secret in the service monitor 1989 namespace that contains the password for authentication. 1990 properties: 1991 key: 1992 description: The key of the secret to select 1993 from. Must be a valid secret key. 1994 type: string 1995 name: 1996 description: 'Name of the referent. More info: 1997 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 1998 TODO: Add other useful fields. apiVersion, 1999 kind, uid?' 2000 type: string 2001 optional: 2002 description: Specify whether the Secret or 2003 its key must be defined 2004 type: boolean 2005 required: 2006 - key 2007 type: object 2008 x-kubernetes-map-type: atomic 2009 username: 2010 description: The secret in the service monitor 2011 namespace that contains the username for authentication. 2012 properties: 2013 key: 2014 description: The key of the secret to select 2015 from. Must be a valid secret key. 2016 type: string 2017 name: 2018 description: 'Name of the referent. More info: 2019 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2020 TODO: Add other useful fields. apiVersion, 2021 kind, uid?' 2022 type: string 2023 optional: 2024 description: Specify whether the Secret or 2025 its key must be defined 2026 type: boolean 2027 required: 2028 - key 2029 type: object 2030 x-kubernetes-map-type: atomic 2031 type: object 2032 bearerTokenSecret: 2033 description: The secret's key that contains the bearer 2034 token to be used by the client for authentication. 2035 The secret needs to be in the same namespace as 2036 the AlertmanagerConfig object and accessible by 2037 the Prometheus Operator. 2038 properties: 2039 key: 2040 description: The key of the secret to select from. Must 2041 be a valid secret key. 2042 type: string 2043 name: 2044 description: 'Name of the referent. More info: 2045 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2046 TODO: Add other useful fields. apiVersion, kind, 2047 uid?' 2048 type: string 2049 optional: 2050 description: Specify whether the Secret or its 2051 key must be defined 2052 type: boolean 2053 required: 2054 - key 2055 type: object 2056 followRedirects: 2057 description: FollowRedirects specifies whether the 2058 client should follow HTTP 3xx redirects. 2059 type: boolean 2060 oauth2: 2061 description: OAuth2 client credentials used to fetch 2062 a token for the targets. 2063 properties: 2064 clientId: 2065 description: The secret or configmap containing 2066 the OAuth2 client id 2067 properties: 2068 configMap: 2069 description: ConfigMap containing data to 2070 use for the targets. 2071 properties: 2072 key: 2073 description: The key to select. 2074 type: string 2075 name: 2076 description: 'Name of the referent. More 2077 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2078 TODO: Add other useful fields. apiVersion, 2079 kind, uid?' 2080 type: string 2081 optional: 2082 description: Specify whether the ConfigMap 2083 or its key must be defined 2084 type: boolean 2085 required: 2086 - key 2087 type: object 2088 x-kubernetes-map-type: atomic 2089 secret: 2090 description: Secret containing data to use 2091 for the targets. 2092 properties: 2093 key: 2094 description: The key of the secret to 2095 select from. Must be a valid secret 2096 key. 2097 type: string 2098 name: 2099 description: 'Name of the referent. More 2100 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2101 TODO: Add other useful fields. apiVersion, 2102 kind, uid?' 2103 type: string 2104 optional: 2105 description: Specify whether the Secret 2106 or its key must be defined 2107 type: boolean 2108 required: 2109 - key 2110 type: object 2111 x-kubernetes-map-type: atomic 2112 type: object 2113 clientSecret: 2114 description: The secret containing the OAuth2 2115 client secret 2116 properties: 2117 key: 2118 description: The key of the secret to select 2119 from. Must be a valid secret key. 2120 type: string 2121 name: 2122 description: 'Name of the referent. More info: 2123 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2124 TODO: Add other useful fields. apiVersion, 2125 kind, uid?' 2126 type: string 2127 optional: 2128 description: Specify whether the Secret or 2129 its key must be defined 2130 type: boolean 2131 required: 2132 - key 2133 type: object 2134 x-kubernetes-map-type: atomic 2135 endpointParams: 2136 additionalProperties: 2137 type: string 2138 description: Parameters to append to the token 2139 URL 2140 type: object 2141 scopes: 2142 description: OAuth2 scopes used for the token 2143 request 2144 items: 2145 type: string 2146 type: array 2147 tokenUrl: 2148 description: The URL to fetch the token from 2149 minLength: 1 2150 type: string 2151 required: 2152 - clientId 2153 - clientSecret 2154 - tokenUrl 2155 type: object 2156 proxyURL: 2157 description: Optional proxy URL. 2158 type: string 2159 tlsConfig: 2160 description: TLS configuration for the client. 2161 properties: 2162 ca: 2163 description: Certificate authority used when verifying 2164 server certificates. 2165 properties: 2166 configMap: 2167 description: ConfigMap containing data to 2168 use for the targets. 2169 properties: 2170 key: 2171 description: The key to select. 2172 type: string 2173 name: 2174 description: 'Name of the referent. More 2175 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2176 TODO: Add other useful fields. apiVersion, 2177 kind, uid?' 2178 type: string 2179 optional: 2180 description: Specify whether the ConfigMap 2181 or its key must be defined 2182 type: boolean 2183 required: 2184 - key 2185 type: object 2186 x-kubernetes-map-type: atomic 2187 secret: 2188 description: Secret containing data to use 2189 for the targets. 2190 properties: 2191 key: 2192 description: The key of the secret to 2193 select from. Must be a valid secret 2194 key. 2195 type: string 2196 name: 2197 description: 'Name of the referent. More 2198 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2199 TODO: Add other useful fields. apiVersion, 2200 kind, uid?' 2201 type: string 2202 optional: 2203 description: Specify whether the Secret 2204 or its key must be defined 2205 type: boolean 2206 required: 2207 - key 2208 type: object 2209 x-kubernetes-map-type: atomic 2210 type: object 2211 cert: 2212 description: Client certificate to present when 2213 doing client-authentication. 2214 properties: 2215 configMap: 2216 description: ConfigMap containing data to 2217 use for the targets. 2218 properties: 2219 key: 2220 description: The key to select. 2221 type: string 2222 name: 2223 description: 'Name of the referent. More 2224 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2225 TODO: Add other useful fields. apiVersion, 2226 kind, uid?' 2227 type: string 2228 optional: 2229 description: Specify whether the ConfigMap 2230 or its key must be defined 2231 type: boolean 2232 required: 2233 - key 2234 type: object 2235 x-kubernetes-map-type: atomic 2236 secret: 2237 description: Secret containing data to use 2238 for the targets. 2239 properties: 2240 key: 2241 description: The key of the secret to 2242 select from. Must be a valid secret 2243 key. 2244 type: string 2245 name: 2246 description: 'Name of the referent. More 2247 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2248 TODO: Add other useful fields. apiVersion, 2249 kind, uid?' 2250 type: string 2251 optional: 2252 description: Specify whether the Secret 2253 or its key must be defined 2254 type: boolean 2255 required: 2256 - key 2257 type: object 2258 x-kubernetes-map-type: atomic 2259 type: object 2260 insecureSkipVerify: 2261 description: Disable target certificate validation. 2262 type: boolean 2263 keySecret: 2264 description: Secret containing the client key 2265 file for the targets. 2266 properties: 2267 key: 2268 description: The key of the secret to select 2269 from. Must be a valid secret key. 2270 type: string 2271 name: 2272 description: 'Name of the referent. More info: 2273 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2274 TODO: Add other useful fields. apiVersion, 2275 kind, uid?' 2276 type: string 2277 optional: 2278 description: Specify whether the Secret or 2279 its key must be defined 2280 type: boolean 2281 required: 2282 - key 2283 type: object 2284 x-kubernetes-map-type: atomic 2285 serverName: 2286 description: Used to verify the hostname for the 2287 targets. 2288 type: string 2289 type: object 2290 type: object 2291 iconEmoji: 2292 type: string 2293 iconURL: 2294 type: string 2295 imageURL: 2296 type: string 2297 linkNames: 2298 type: boolean 2299 mrkdwnIn: 2300 items: 2301 type: string 2302 type: array 2303 pretext: 2304 type: string 2305 sendResolved: 2306 description: Whether or not to notify about resolved alerts. 2307 type: boolean 2308 shortFields: 2309 type: boolean 2310 text: 2311 type: string 2312 thumbURL: 2313 type: string 2314 title: 2315 type: string 2316 titleLink: 2317 type: string 2318 username: 2319 type: string 2320 type: object 2321 type: array 2322 snsConfigs: 2323 description: List of SNS configurations 2324 items: 2325 description: SNSConfig configures notifications via AWS SNS. 2326 See https://prometheus.io/docs/alerting/latest/configuration/#sns_configs 2327 properties: 2328 apiURL: 2329 description: The SNS API URL i.e. https://sns.us-east-2.amazonaws.com. 2330 If not specified, the SNS API URL from the SNS SDK will 2331 be used. 2332 type: string 2333 attributes: 2334 additionalProperties: 2335 type: string 2336 description: SNS message attributes. 2337 type: object 2338 httpConfig: 2339 description: HTTP client configuration. 2340 properties: 2341 authorization: 2342 description: Authorization header configuration for 2343 the client. This is mutually exclusive with BasicAuth 2344 and is only available starting from Alertmanager 2345 v0.22+. 2346 properties: 2347 credentials: 2348 description: The secret's key that contains the 2349 credentials of the request 2350 properties: 2351 key: 2352 description: The key of the secret to select 2353 from. Must be a valid secret key. 2354 type: string 2355 name: 2356 description: 'Name of the referent. More info: 2357 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2358 TODO: Add other useful fields. apiVersion, 2359 kind, uid?' 2360 type: string 2361 optional: 2362 description: Specify whether the Secret or 2363 its key must be defined 2364 type: boolean 2365 required: 2366 - key 2367 type: object 2368 x-kubernetes-map-type: atomic 2369 type: 2370 description: Set the authentication type. Defaults 2371 to Bearer, Basic will cause an error 2372 type: string 2373 type: object 2374 basicAuth: 2375 description: BasicAuth for the client. This is mutually 2376 exclusive with Authorization. If both are defined, 2377 BasicAuth takes precedence. 2378 properties: 2379 password: 2380 description: The secret in the service monitor 2381 namespace that contains the password for authentication. 2382 properties: 2383 key: 2384 description: The key of the secret to select 2385 from. Must be a valid secret key. 2386 type: string 2387 name: 2388 description: 'Name of the referent. More info: 2389 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2390 TODO: Add other useful fields. apiVersion, 2391 kind, uid?' 2392 type: string 2393 optional: 2394 description: Specify whether the Secret or 2395 its key must be defined 2396 type: boolean 2397 required: 2398 - key 2399 type: object 2400 x-kubernetes-map-type: atomic 2401 username: 2402 description: The secret in the service monitor 2403 namespace that contains the username for authentication. 2404 properties: 2405 key: 2406 description: The key of the secret to select 2407 from. Must be a valid secret key. 2408 type: string 2409 name: 2410 description: 'Name of the referent. More info: 2411 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2412 TODO: Add other useful fields. apiVersion, 2413 kind, uid?' 2414 type: string 2415 optional: 2416 description: Specify whether the Secret or 2417 its key must be defined 2418 type: boolean 2419 required: 2420 - key 2421 type: object 2422 x-kubernetes-map-type: atomic 2423 type: object 2424 bearerTokenSecret: 2425 description: The secret's key that contains the bearer 2426 token to be used by the client for authentication. 2427 The secret needs to be in the same namespace as 2428 the AlertmanagerConfig object and accessible by 2429 the Prometheus Operator. 2430 properties: 2431 key: 2432 description: The key of the secret to select from. Must 2433 be a valid secret key. 2434 type: string 2435 name: 2436 description: 'Name of the referent. More info: 2437 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2438 TODO: Add other useful fields. apiVersion, kind, 2439 uid?' 2440 type: string 2441 optional: 2442 description: Specify whether the Secret or its 2443 key must be defined 2444 type: boolean 2445 required: 2446 - key 2447 type: object 2448 followRedirects: 2449 description: FollowRedirects specifies whether the 2450 client should follow HTTP 3xx redirects. 2451 type: boolean 2452 oauth2: 2453 description: OAuth2 client credentials used to fetch 2454 a token for the targets. 2455 properties: 2456 clientId: 2457 description: The secret or configmap containing 2458 the OAuth2 client id 2459 properties: 2460 configMap: 2461 description: ConfigMap containing data to 2462 use for the targets. 2463 properties: 2464 key: 2465 description: The key to select. 2466 type: string 2467 name: 2468 description: 'Name of the referent. More 2469 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2470 TODO: Add other useful fields. apiVersion, 2471 kind, uid?' 2472 type: string 2473 optional: 2474 description: Specify whether the ConfigMap 2475 or its key must be defined 2476 type: boolean 2477 required: 2478 - key 2479 type: object 2480 x-kubernetes-map-type: atomic 2481 secret: 2482 description: Secret containing data to use 2483 for the targets. 2484 properties: 2485 key: 2486 description: The key of the secret to 2487 select from. Must be a valid secret 2488 key. 2489 type: string 2490 name: 2491 description: 'Name of the referent. More 2492 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2493 TODO: Add other useful fields. apiVersion, 2494 kind, uid?' 2495 type: string 2496 optional: 2497 description: Specify whether the Secret 2498 or its key must be defined 2499 type: boolean 2500 required: 2501 - key 2502 type: object 2503 x-kubernetes-map-type: atomic 2504 type: object 2505 clientSecret: 2506 description: The secret containing the OAuth2 2507 client secret 2508 properties: 2509 key: 2510 description: The key of the secret to select 2511 from. Must be a valid secret key. 2512 type: string 2513 name: 2514 description: 'Name of the referent. More info: 2515 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2516 TODO: Add other useful fields. apiVersion, 2517 kind, uid?' 2518 type: string 2519 optional: 2520 description: Specify whether the Secret or 2521 its key must be defined 2522 type: boolean 2523 required: 2524 - key 2525 type: object 2526 x-kubernetes-map-type: atomic 2527 endpointParams: 2528 additionalProperties: 2529 type: string 2530 description: Parameters to append to the token 2531 URL 2532 type: object 2533 scopes: 2534 description: OAuth2 scopes used for the token 2535 request 2536 items: 2537 type: string 2538 type: array 2539 tokenUrl: 2540 description: The URL to fetch the token from 2541 minLength: 1 2542 type: string 2543 required: 2544 - clientId 2545 - clientSecret 2546 - tokenUrl 2547 type: object 2548 proxyURL: 2549 description: Optional proxy URL. 2550 type: string 2551 tlsConfig: 2552 description: TLS configuration for the client. 2553 properties: 2554 ca: 2555 description: Certificate authority used when verifying 2556 server certificates. 2557 properties: 2558 configMap: 2559 description: ConfigMap containing data to 2560 use for the targets. 2561 properties: 2562 key: 2563 description: The key to select. 2564 type: string 2565 name: 2566 description: 'Name of the referent. More 2567 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2568 TODO: Add other useful fields. apiVersion, 2569 kind, uid?' 2570 type: string 2571 optional: 2572 description: Specify whether the ConfigMap 2573 or its key must be defined 2574 type: boolean 2575 required: 2576 - key 2577 type: object 2578 x-kubernetes-map-type: atomic 2579 secret: 2580 description: Secret containing data to use 2581 for the targets. 2582 properties: 2583 key: 2584 description: The key of the secret to 2585 select from. Must be a valid secret 2586 key. 2587 type: string 2588 name: 2589 description: 'Name of the referent. More 2590 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2591 TODO: Add other useful fields. apiVersion, 2592 kind, uid?' 2593 type: string 2594 optional: 2595 description: Specify whether the Secret 2596 or its key must be defined 2597 type: boolean 2598 required: 2599 - key 2600 type: object 2601 x-kubernetes-map-type: atomic 2602 type: object 2603 cert: 2604 description: Client certificate to present when 2605 doing client-authentication. 2606 properties: 2607 configMap: 2608 description: ConfigMap containing data to 2609 use for the targets. 2610 properties: 2611 key: 2612 description: The key to select. 2613 type: string 2614 name: 2615 description: 'Name of the referent. More 2616 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2617 TODO: Add other useful fields. apiVersion, 2618 kind, uid?' 2619 type: string 2620 optional: 2621 description: Specify whether the ConfigMap 2622 or its key must be defined 2623 type: boolean 2624 required: 2625 - key 2626 type: object 2627 x-kubernetes-map-type: atomic 2628 secret: 2629 description: Secret containing data to use 2630 for the targets. 2631 properties: 2632 key: 2633 description: The key of the secret to 2634 select from. Must be a valid secret 2635 key. 2636 type: string 2637 name: 2638 description: 'Name of the referent. More 2639 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2640 TODO: Add other useful fields. apiVersion, 2641 kind, uid?' 2642 type: string 2643 optional: 2644 description: Specify whether the Secret 2645 or its key must be defined 2646 type: boolean 2647 required: 2648 - key 2649 type: object 2650 x-kubernetes-map-type: atomic 2651 type: object 2652 insecureSkipVerify: 2653 description: Disable target certificate validation. 2654 type: boolean 2655 keySecret: 2656 description: Secret containing the client key 2657 file for the targets. 2658 properties: 2659 key: 2660 description: The key of the secret to select 2661 from. Must be a valid secret key. 2662 type: string 2663 name: 2664 description: 'Name of the referent. More info: 2665 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2666 TODO: Add other useful fields. apiVersion, 2667 kind, uid?' 2668 type: string 2669 optional: 2670 description: Specify whether the Secret or 2671 its key must be defined 2672 type: boolean 2673 required: 2674 - key 2675 type: object 2676 x-kubernetes-map-type: atomic 2677 serverName: 2678 description: Used to verify the hostname for the 2679 targets. 2680 type: string 2681 type: object 2682 type: object 2683 message: 2684 description: The message content of the SNS notification. 2685 type: string 2686 phoneNumber: 2687 description: Phone number if message is delivered via 2688 SMS in E.164 format. If you don't specify this value, 2689 you must specify a value for the TopicARN or TargetARN. 2690 type: string 2691 sendResolved: 2692 description: Whether or not to notify about resolved alerts. 2693 type: boolean 2694 sigv4: 2695 description: Configures AWS's Signature Verification 4 2696 signing process to sign requests. 2697 properties: 2698 accessKey: 2699 description: AccessKey is the AWS API key. If blank, 2700 the environment variable `AWS_ACCESS_KEY_ID` is 2701 used. 2702 properties: 2703 key: 2704 description: The key of the secret to select from. Must 2705 be a valid secret key. 2706 type: string 2707 name: 2708 description: 'Name of the referent. More info: 2709 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2710 TODO: Add other useful fields. apiVersion, kind, 2711 uid?' 2712 type: string 2713 optional: 2714 description: Specify whether the Secret or its 2715 key must be defined 2716 type: boolean 2717 required: 2718 - key 2719 type: object 2720 x-kubernetes-map-type: atomic 2721 profile: 2722 description: Profile is the named AWS profile used 2723 to authenticate. 2724 type: string 2725 region: 2726 description: Region is the AWS region. If blank, the 2727 region from the default credentials chain used. 2728 type: string 2729 roleArn: 2730 description: RoleArn is the named AWS profile used 2731 to authenticate. 2732 type: string 2733 secretKey: 2734 description: SecretKey is the AWS API secret. If blank, 2735 the environment variable `AWS_SECRET_ACCESS_KEY` 2736 is used. 2737 properties: 2738 key: 2739 description: The key of the secret to select from. Must 2740 be a valid secret key. 2741 type: string 2742 name: 2743 description: 'Name of the referent. More info: 2744 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2745 TODO: Add other useful fields. apiVersion, kind, 2746 uid?' 2747 type: string 2748 optional: 2749 description: Specify whether the Secret or its 2750 key must be defined 2751 type: boolean 2752 required: 2753 - key 2754 type: object 2755 x-kubernetes-map-type: atomic 2756 type: object 2757 subject: 2758 description: Subject line when the message is delivered 2759 to email endpoints. 2760 type: string 2761 targetARN: 2762 description: The mobile platform endpoint ARN if message 2763 is delivered via mobile notifications. If you don't 2764 specify this value, you must specify a value for the 2765 topic_arn or PhoneNumber. 2766 type: string 2767 topicARN: 2768 description: SNS topic ARN, i.e. arn:aws:sns:us-east-2:698519295917:My-Topic 2769 If you don't specify this value, you must specify a 2770 value for the PhoneNumber or TargetARN. 2771 type: string 2772 type: object 2773 type: array 2774 telegramConfigs: 2775 description: List of Telegram configurations. 2776 items: 2777 description: TelegramConfig configures notifications via Telegram. 2778 See https://prometheus.io/docs/alerting/latest/configuration/#telegram_config 2779 properties: 2780 apiURL: 2781 description: The Telegram API URL i.e. https://api.telegram.org. 2782 If not specified, default API URL will be used. 2783 type: string 2784 botToken: 2785 description: Telegram bot token The secret needs to be 2786 in the same namespace as the AlertmanagerConfig object 2787 and accessible by the Prometheus Operator. 2788 properties: 2789 key: 2790 description: The key of the secret to select from. Must 2791 be a valid secret key. 2792 type: string 2793 name: 2794 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2795 TODO: Add other useful fields. apiVersion, kind, 2796 uid?' 2797 type: string 2798 optional: 2799 description: Specify whether the Secret or its key 2800 must be defined 2801 type: boolean 2802 required: 2803 - key 2804 type: object 2805 chatID: 2806 description: The Telegram chat ID. 2807 format: int64 2808 type: integer 2809 disableNotifications: 2810 description: Disable telegram notifications 2811 type: boolean 2812 httpConfig: 2813 description: HTTP client configuration. 2814 properties: 2815 authorization: 2816 description: Authorization header configuration for 2817 the client. This is mutually exclusive with BasicAuth 2818 and is only available starting from Alertmanager 2819 v0.22+. 2820 properties: 2821 credentials: 2822 description: The secret's key that contains the 2823 credentials of the request 2824 properties: 2825 key: 2826 description: The key of the secret to select 2827 from. Must be a valid secret key. 2828 type: string 2829 name: 2830 description: 'Name of the referent. More info: 2831 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2832 TODO: Add other useful fields. apiVersion, 2833 kind, uid?' 2834 type: string 2835 optional: 2836 description: Specify whether the Secret or 2837 its key must be defined 2838 type: boolean 2839 required: 2840 - key 2841 type: object 2842 x-kubernetes-map-type: atomic 2843 type: 2844 description: Set the authentication type. Defaults 2845 to Bearer, Basic will cause an error 2846 type: string 2847 type: object 2848 basicAuth: 2849 description: BasicAuth for the client. This is mutually 2850 exclusive with Authorization. If both are defined, 2851 BasicAuth takes precedence. 2852 properties: 2853 password: 2854 description: The secret in the service monitor 2855 namespace that contains the password for authentication. 2856 properties: 2857 key: 2858 description: The key of the secret to select 2859 from. Must be a valid secret key. 2860 type: string 2861 name: 2862 description: 'Name of the referent. More info: 2863 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2864 TODO: Add other useful fields. apiVersion, 2865 kind, uid?' 2866 type: string 2867 optional: 2868 description: Specify whether the Secret or 2869 its key must be defined 2870 type: boolean 2871 required: 2872 - key 2873 type: object 2874 x-kubernetes-map-type: atomic 2875 username: 2876 description: The secret in the service monitor 2877 namespace that contains the username for authentication. 2878 properties: 2879 key: 2880 description: The key of the secret to select 2881 from. Must be a valid secret key. 2882 type: string 2883 name: 2884 description: 'Name of the referent. More info: 2885 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2886 TODO: Add other useful fields. apiVersion, 2887 kind, uid?' 2888 type: string 2889 optional: 2890 description: Specify whether the Secret or 2891 its key must be defined 2892 type: boolean 2893 required: 2894 - key 2895 type: object 2896 x-kubernetes-map-type: atomic 2897 type: object 2898 bearerTokenSecret: 2899 description: The secret's key that contains the bearer 2900 token to be used by the client for authentication. 2901 The secret needs to be in the same namespace as 2902 the AlertmanagerConfig object and accessible by 2903 the Prometheus Operator. 2904 properties: 2905 key: 2906 description: The key of the secret to select from. Must 2907 be a valid secret key. 2908 type: string 2909 name: 2910 description: 'Name of the referent. More info: 2911 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2912 TODO: Add other useful fields. apiVersion, kind, 2913 uid?' 2914 type: string 2915 optional: 2916 description: Specify whether the Secret or its 2917 key must be defined 2918 type: boolean 2919 required: 2920 - key 2921 type: object 2922 followRedirects: 2923 description: FollowRedirects specifies whether the 2924 client should follow HTTP 3xx redirects. 2925 type: boolean 2926 oauth2: 2927 description: OAuth2 client credentials used to fetch 2928 a token for the targets. 2929 properties: 2930 clientId: 2931 description: The secret or configmap containing 2932 the OAuth2 client id 2933 properties: 2934 configMap: 2935 description: ConfigMap containing data to 2936 use for the targets. 2937 properties: 2938 key: 2939 description: The key to select. 2940 type: string 2941 name: 2942 description: 'Name of the referent. More 2943 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2944 TODO: Add other useful fields. apiVersion, 2945 kind, uid?' 2946 type: string 2947 optional: 2948 description: Specify whether the ConfigMap 2949 or its key must be defined 2950 type: boolean 2951 required: 2952 - key 2953 type: object 2954 x-kubernetes-map-type: atomic 2955 secret: 2956 description: Secret containing data to use 2957 for the targets. 2958 properties: 2959 key: 2960 description: The key of the secret to 2961 select from. Must be a valid secret 2962 key. 2963 type: string 2964 name: 2965 description: 'Name of the referent. More 2966 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2967 TODO: Add other useful fields. apiVersion, 2968 kind, uid?' 2969 type: string 2970 optional: 2971 description: Specify whether the Secret 2972 or its key must be defined 2973 type: boolean 2974 required: 2975 - key 2976 type: object 2977 x-kubernetes-map-type: atomic 2978 type: object 2979 clientSecret: 2980 description: The secret containing the OAuth2 2981 client secret 2982 properties: 2983 key: 2984 description: The key of the secret to select 2985 from. Must be a valid secret key. 2986 type: string 2987 name: 2988 description: 'Name of the referent. More info: 2989 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 2990 TODO: Add other useful fields. apiVersion, 2991 kind, uid?' 2992 type: string 2993 optional: 2994 description: Specify whether the Secret or 2995 its key must be defined 2996 type: boolean 2997 required: 2998 - key 2999 type: object 3000 x-kubernetes-map-type: atomic 3001 endpointParams: 3002 additionalProperties: 3003 type: string 3004 description: Parameters to append to the token 3005 URL 3006 type: object 3007 scopes: 3008 description: OAuth2 scopes used for the token 3009 request 3010 items: 3011 type: string 3012 type: array 3013 tokenUrl: 3014 description: The URL to fetch the token from 3015 minLength: 1 3016 type: string 3017 required: 3018 - clientId 3019 - clientSecret 3020 - tokenUrl 3021 type: object 3022 proxyURL: 3023 description: Optional proxy URL. 3024 type: string 3025 tlsConfig: 3026 description: TLS configuration for the client. 3027 properties: 3028 ca: 3029 description: Certificate authority used when verifying 3030 server certificates. 3031 properties: 3032 configMap: 3033 description: ConfigMap containing data to 3034 use for the targets. 3035 properties: 3036 key: 3037 description: The key to select. 3038 type: string 3039 name: 3040 description: 'Name of the referent. More 3041 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3042 TODO: Add other useful fields. apiVersion, 3043 kind, uid?' 3044 type: string 3045 optional: 3046 description: Specify whether the ConfigMap 3047 or its key must be defined 3048 type: boolean 3049 required: 3050 - key 3051 type: object 3052 x-kubernetes-map-type: atomic 3053 secret: 3054 description: Secret containing data to use 3055 for the targets. 3056 properties: 3057 key: 3058 description: The key of the secret to 3059 select from. Must be a valid secret 3060 key. 3061 type: string 3062 name: 3063 description: 'Name of the referent. More 3064 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3065 TODO: Add other useful fields. apiVersion, 3066 kind, uid?' 3067 type: string 3068 optional: 3069 description: Specify whether the Secret 3070 or its key must be defined 3071 type: boolean 3072 required: 3073 - key 3074 type: object 3075 x-kubernetes-map-type: atomic 3076 type: object 3077 cert: 3078 description: Client certificate to present when 3079 doing client-authentication. 3080 properties: 3081 configMap: 3082 description: ConfigMap containing data to 3083 use for the targets. 3084 properties: 3085 key: 3086 description: The key to select. 3087 type: string 3088 name: 3089 description: 'Name of the referent. More 3090 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3091 TODO: Add other useful fields. apiVersion, 3092 kind, uid?' 3093 type: string 3094 optional: 3095 description: Specify whether the ConfigMap 3096 or its key must be defined 3097 type: boolean 3098 required: 3099 - key 3100 type: object 3101 x-kubernetes-map-type: atomic 3102 secret: 3103 description: Secret containing data to use 3104 for the targets. 3105 properties: 3106 key: 3107 description: The key of the secret to 3108 select from. Must be a valid secret 3109 key. 3110 type: string 3111 name: 3112 description: 'Name of the referent. More 3113 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3114 TODO: Add other useful fields. apiVersion, 3115 kind, uid?' 3116 type: string 3117 optional: 3118 description: Specify whether the Secret 3119 or its key must be defined 3120 type: boolean 3121 required: 3122 - key 3123 type: object 3124 x-kubernetes-map-type: atomic 3125 type: object 3126 insecureSkipVerify: 3127 description: Disable target certificate validation. 3128 type: boolean 3129 keySecret: 3130 description: Secret containing the client key 3131 file for the targets. 3132 properties: 3133 key: 3134 description: The key of the secret to select 3135 from. Must be a valid secret key. 3136 type: string 3137 name: 3138 description: 'Name of the referent. More info: 3139 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3140 TODO: Add other useful fields. apiVersion, 3141 kind, uid?' 3142 type: string 3143 optional: 3144 description: Specify whether the Secret or 3145 its key must be defined 3146 type: boolean 3147 required: 3148 - key 3149 type: object 3150 x-kubernetes-map-type: atomic 3151 serverName: 3152 description: Used to verify the hostname for the 3153 targets. 3154 type: string 3155 type: object 3156 type: object 3157 message: 3158 description: Message template 3159 type: string 3160 parseMode: 3161 description: Parse mode for telegram message 3162 enum: 3163 - MarkdownV2 3164 - Markdown 3165 - HTML 3166 type: string 3167 sendResolved: 3168 description: Whether to notify about resolved alerts. 3169 type: boolean 3170 type: object 3171 type: array 3172 victoropsConfigs: 3173 description: List of VictorOps configurations. 3174 items: 3175 description: VictorOpsConfig configures notifications via 3176 VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config 3177 properties: 3178 apiKey: 3179 description: The secret's key that contains the API key 3180 to use when talking to the VictorOps API. The secret 3181 needs to be in the same namespace as the AlertmanagerConfig 3182 object and accessible by the Prometheus Operator. 3183 properties: 3184 key: 3185 description: The key of the secret to select from. Must 3186 be a valid secret key. 3187 type: string 3188 name: 3189 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3190 TODO: Add other useful fields. apiVersion, kind, 3191 uid?' 3192 type: string 3193 optional: 3194 description: Specify whether the Secret or its key 3195 must be defined 3196 type: boolean 3197 required: 3198 - key 3199 type: object 3200 apiUrl: 3201 description: The VictorOps API URL. 3202 type: string 3203 customFields: 3204 description: Additional custom fields for notification. 3205 items: 3206 description: KeyValue defines a (key, value) tuple. 3207 properties: 3208 key: 3209 description: Key of the tuple. 3210 minLength: 1 3211 type: string 3212 value: 3213 description: Value of the tuple. 3214 type: string 3215 required: 3216 - key 3217 - value 3218 type: object 3219 type: array 3220 entityDisplayName: 3221 description: Contains summary of the alerted problem. 3222 type: string 3223 httpConfig: 3224 description: The HTTP client's configuration. 3225 properties: 3226 authorization: 3227 description: Authorization header configuration for 3228 the client. This is mutually exclusive with BasicAuth 3229 and is only available starting from Alertmanager 3230 v0.22+. 3231 properties: 3232 credentials: 3233 description: The secret's key that contains the 3234 credentials of the request 3235 properties: 3236 key: 3237 description: The key of the secret to select 3238 from. Must be a valid secret key. 3239 type: string 3240 name: 3241 description: 'Name of the referent. More info: 3242 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3243 TODO: Add other useful fields. apiVersion, 3244 kind, uid?' 3245 type: string 3246 optional: 3247 description: Specify whether the Secret or 3248 its key must be defined 3249 type: boolean 3250 required: 3251 - key 3252 type: object 3253 x-kubernetes-map-type: atomic 3254 type: 3255 description: Set the authentication type. Defaults 3256 to Bearer, Basic will cause an error 3257 type: string 3258 type: object 3259 basicAuth: 3260 description: BasicAuth for the client. This is mutually 3261 exclusive with Authorization. If both are defined, 3262 BasicAuth takes precedence. 3263 properties: 3264 password: 3265 description: The secret in the service monitor 3266 namespace that contains the password for authentication. 3267 properties: 3268 key: 3269 description: The key of the secret to select 3270 from. Must be a valid secret key. 3271 type: string 3272 name: 3273 description: 'Name of the referent. More info: 3274 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3275 TODO: Add other useful fields. apiVersion, 3276 kind, uid?' 3277 type: string 3278 optional: 3279 description: Specify whether the Secret or 3280 its key must be defined 3281 type: boolean 3282 required: 3283 - key 3284 type: object 3285 x-kubernetes-map-type: atomic 3286 username: 3287 description: The secret in the service monitor 3288 namespace that contains the username for authentication. 3289 properties: 3290 key: 3291 description: The key of the secret to select 3292 from. Must be a valid secret key. 3293 type: string 3294 name: 3295 description: 'Name of the referent. More info: 3296 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3297 TODO: Add other useful fields. apiVersion, 3298 kind, uid?' 3299 type: string 3300 optional: 3301 description: Specify whether the Secret or 3302 its key must be defined 3303 type: boolean 3304 required: 3305 - key 3306 type: object 3307 x-kubernetes-map-type: atomic 3308 type: object 3309 bearerTokenSecret: 3310 description: The secret's key that contains the bearer 3311 token to be used by the client for authentication. 3312 The secret needs to be in the same namespace as 3313 the AlertmanagerConfig object and accessible by 3314 the Prometheus Operator. 3315 properties: 3316 key: 3317 description: The key of the secret to select from. Must 3318 be a valid secret key. 3319 type: string 3320 name: 3321 description: 'Name of the referent. More info: 3322 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3323 TODO: Add other useful fields. apiVersion, kind, 3324 uid?' 3325 type: string 3326 optional: 3327 description: Specify whether the Secret or its 3328 key must be defined 3329 type: boolean 3330 required: 3331 - key 3332 type: object 3333 followRedirects: 3334 description: FollowRedirects specifies whether the 3335 client should follow HTTP 3xx redirects. 3336 type: boolean 3337 oauth2: 3338 description: OAuth2 client credentials used to fetch 3339 a token for the targets. 3340 properties: 3341 clientId: 3342 description: The secret or configmap containing 3343 the OAuth2 client id 3344 properties: 3345 configMap: 3346 description: ConfigMap containing data to 3347 use for the targets. 3348 properties: 3349 key: 3350 description: The key to select. 3351 type: string 3352 name: 3353 description: 'Name of the referent. More 3354 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3355 TODO: Add other useful fields. apiVersion, 3356 kind, uid?' 3357 type: string 3358 optional: 3359 description: Specify whether the ConfigMap 3360 or its key must be defined 3361 type: boolean 3362 required: 3363 - key 3364 type: object 3365 x-kubernetes-map-type: atomic 3366 secret: 3367 description: Secret containing data to use 3368 for the targets. 3369 properties: 3370 key: 3371 description: The key of the secret to 3372 select from. Must be a valid secret 3373 key. 3374 type: string 3375 name: 3376 description: 'Name of the referent. More 3377 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3378 TODO: Add other useful fields. apiVersion, 3379 kind, uid?' 3380 type: string 3381 optional: 3382 description: Specify whether the Secret 3383 or its key must be defined 3384 type: boolean 3385 required: 3386 - key 3387 type: object 3388 x-kubernetes-map-type: atomic 3389 type: object 3390 clientSecret: 3391 description: The secret containing the OAuth2 3392 client secret 3393 properties: 3394 key: 3395 description: The key of the secret to select 3396 from. Must be a valid secret key. 3397 type: string 3398 name: 3399 description: 'Name of the referent. More info: 3400 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3401 TODO: Add other useful fields. apiVersion, 3402 kind, uid?' 3403 type: string 3404 optional: 3405 description: Specify whether the Secret or 3406 its key must be defined 3407 type: boolean 3408 required: 3409 - key 3410 type: object 3411 x-kubernetes-map-type: atomic 3412 endpointParams: 3413 additionalProperties: 3414 type: string 3415 description: Parameters to append to the token 3416 URL 3417 type: object 3418 scopes: 3419 description: OAuth2 scopes used for the token 3420 request 3421 items: 3422 type: string 3423 type: array 3424 tokenUrl: 3425 description: The URL to fetch the token from 3426 minLength: 1 3427 type: string 3428 required: 3429 - clientId 3430 - clientSecret 3431 - tokenUrl 3432 type: object 3433 proxyURL: 3434 description: Optional proxy URL. 3435 type: string 3436 tlsConfig: 3437 description: TLS configuration for the client. 3438 properties: 3439 ca: 3440 description: Certificate authority used when verifying 3441 server certificates. 3442 properties: 3443 configMap: 3444 description: ConfigMap containing data to 3445 use for the targets. 3446 properties: 3447 key: 3448 description: The key to select. 3449 type: string 3450 name: 3451 description: 'Name of the referent. More 3452 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3453 TODO: Add other useful fields. apiVersion, 3454 kind, uid?' 3455 type: string 3456 optional: 3457 description: Specify whether the ConfigMap 3458 or its key must be defined 3459 type: boolean 3460 required: 3461 - key 3462 type: object 3463 x-kubernetes-map-type: atomic 3464 secret: 3465 description: Secret containing data to use 3466 for the targets. 3467 properties: 3468 key: 3469 description: The key of the secret to 3470 select from. Must be a valid secret 3471 key. 3472 type: string 3473 name: 3474 description: 'Name of the referent. More 3475 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3476 TODO: Add other useful fields. apiVersion, 3477 kind, uid?' 3478 type: string 3479 optional: 3480 description: Specify whether the Secret 3481 or its key must be defined 3482 type: boolean 3483 required: 3484 - key 3485 type: object 3486 x-kubernetes-map-type: atomic 3487 type: object 3488 cert: 3489 description: Client certificate to present when 3490 doing client-authentication. 3491 properties: 3492 configMap: 3493 description: ConfigMap containing data to 3494 use for the targets. 3495 properties: 3496 key: 3497 description: The key to select. 3498 type: string 3499 name: 3500 description: 'Name of the referent. More 3501 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3502 TODO: Add other useful fields. apiVersion, 3503 kind, uid?' 3504 type: string 3505 optional: 3506 description: Specify whether the ConfigMap 3507 or its key must be defined 3508 type: boolean 3509 required: 3510 - key 3511 type: object 3512 x-kubernetes-map-type: atomic 3513 secret: 3514 description: Secret containing data to use 3515 for the targets. 3516 properties: 3517 key: 3518 description: The key of the secret to 3519 select from. Must be a valid secret 3520 key. 3521 type: string 3522 name: 3523 description: 'Name of the referent. More 3524 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3525 TODO: Add other useful fields. apiVersion, 3526 kind, uid?' 3527 type: string 3528 optional: 3529 description: Specify whether the Secret 3530 or its key must be defined 3531 type: boolean 3532 required: 3533 - key 3534 type: object 3535 x-kubernetes-map-type: atomic 3536 type: object 3537 insecureSkipVerify: 3538 description: Disable target certificate validation. 3539 type: boolean 3540 keySecret: 3541 description: Secret containing the client key 3542 file for the targets. 3543 properties: 3544 key: 3545 description: The key of the secret to select 3546 from. Must be a valid secret key. 3547 type: string 3548 name: 3549 description: 'Name of the referent. More info: 3550 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3551 TODO: Add other useful fields. apiVersion, 3552 kind, uid?' 3553 type: string 3554 optional: 3555 description: Specify whether the Secret or 3556 its key must be defined 3557 type: boolean 3558 required: 3559 - key 3560 type: object 3561 x-kubernetes-map-type: atomic 3562 serverName: 3563 description: Used to verify the hostname for the 3564 targets. 3565 type: string 3566 type: object 3567 type: object 3568 messageType: 3569 description: Describes the behavior of the alert (CRITICAL, 3570 WARNING, INFO). 3571 type: string 3572 monitoringTool: 3573 description: The monitoring tool the state message is 3574 from. 3575 type: string 3576 routingKey: 3577 description: A key used to map the alert to a team. 3578 type: string 3579 sendResolved: 3580 description: Whether or not to notify about resolved alerts. 3581 type: boolean 3582 stateMessage: 3583 description: Contains long explanation of the alerted 3584 problem. 3585 type: string 3586 type: object 3587 type: array 3588 webhookConfigs: 3589 description: List of webhook configurations. 3590 items: 3591 description: WebhookConfig configures notifications via a 3592 generic receiver supporting the webhook payload. See https://prometheus.io/docs/alerting/latest/configuration/#webhook_config 3593 properties: 3594 httpConfig: 3595 description: HTTP client configuration. 3596 properties: 3597 authorization: 3598 description: Authorization header configuration for 3599 the client. This is mutually exclusive with BasicAuth 3600 and is only available starting from Alertmanager 3601 v0.22+. 3602 properties: 3603 credentials: 3604 description: The secret's key that contains the 3605 credentials of the request 3606 properties: 3607 key: 3608 description: The key of the secret to select 3609 from. Must be a valid secret key. 3610 type: string 3611 name: 3612 description: 'Name of the referent. More info: 3613 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3614 TODO: Add other useful fields. apiVersion, 3615 kind, uid?' 3616 type: string 3617 optional: 3618 description: Specify whether the Secret or 3619 its key must be defined 3620 type: boolean 3621 required: 3622 - key 3623 type: object 3624 x-kubernetes-map-type: atomic 3625 type: 3626 description: Set the authentication type. Defaults 3627 to Bearer, Basic will cause an error 3628 type: string 3629 type: object 3630 basicAuth: 3631 description: BasicAuth for the client. This is mutually 3632 exclusive with Authorization. If both are defined, 3633 BasicAuth takes precedence. 3634 properties: 3635 password: 3636 description: The secret in the service monitor 3637 namespace that contains the password for authentication. 3638 properties: 3639 key: 3640 description: The key of the secret to select 3641 from. Must be a valid secret key. 3642 type: string 3643 name: 3644 description: 'Name of the referent. More info: 3645 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3646 TODO: Add other useful fields. apiVersion, 3647 kind, uid?' 3648 type: string 3649 optional: 3650 description: Specify whether the Secret or 3651 its key must be defined 3652 type: boolean 3653 required: 3654 - key 3655 type: object 3656 x-kubernetes-map-type: atomic 3657 username: 3658 description: The secret in the service monitor 3659 namespace that contains the username for authentication. 3660 properties: 3661 key: 3662 description: The key of the secret to select 3663 from. Must be a valid secret key. 3664 type: string 3665 name: 3666 description: 'Name of the referent. More info: 3667 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3668 TODO: Add other useful fields. apiVersion, 3669 kind, uid?' 3670 type: string 3671 optional: 3672 description: Specify whether the Secret or 3673 its key must be defined 3674 type: boolean 3675 required: 3676 - key 3677 type: object 3678 x-kubernetes-map-type: atomic 3679 type: object 3680 bearerTokenSecret: 3681 description: The secret's key that contains the bearer 3682 token to be used by the client for authentication. 3683 The secret needs to be in the same namespace as 3684 the AlertmanagerConfig object and accessible by 3685 the Prometheus Operator. 3686 properties: 3687 key: 3688 description: The key of the secret to select from. Must 3689 be a valid secret key. 3690 type: string 3691 name: 3692 description: 'Name of the referent. More info: 3693 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3694 TODO: Add other useful fields. apiVersion, kind, 3695 uid?' 3696 type: string 3697 optional: 3698 description: Specify whether the Secret or its 3699 key must be defined 3700 type: boolean 3701 required: 3702 - key 3703 type: object 3704 followRedirects: 3705 description: FollowRedirects specifies whether the 3706 client should follow HTTP 3xx redirects. 3707 type: boolean 3708 oauth2: 3709 description: OAuth2 client credentials used to fetch 3710 a token for the targets. 3711 properties: 3712 clientId: 3713 description: The secret or configmap containing 3714 the OAuth2 client id 3715 properties: 3716 configMap: 3717 description: ConfigMap containing data to 3718 use for the targets. 3719 properties: 3720 key: 3721 description: The key to select. 3722 type: string 3723 name: 3724 description: 'Name of the referent. More 3725 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3726 TODO: Add other useful fields. apiVersion, 3727 kind, uid?' 3728 type: string 3729 optional: 3730 description: Specify whether the ConfigMap 3731 or its key must be defined 3732 type: boolean 3733 required: 3734 - key 3735 type: object 3736 x-kubernetes-map-type: atomic 3737 secret: 3738 description: Secret containing data to use 3739 for the targets. 3740 properties: 3741 key: 3742 description: The key of the secret to 3743 select from. Must be a valid secret 3744 key. 3745 type: string 3746 name: 3747 description: 'Name of the referent. More 3748 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3749 TODO: Add other useful fields. apiVersion, 3750 kind, uid?' 3751 type: string 3752 optional: 3753 description: Specify whether the Secret 3754 or its key must be defined 3755 type: boolean 3756 required: 3757 - key 3758 type: object 3759 x-kubernetes-map-type: atomic 3760 type: object 3761 clientSecret: 3762 description: The secret containing the OAuth2 3763 client secret 3764 properties: 3765 key: 3766 description: The key of the secret to select 3767 from. Must be a valid secret key. 3768 type: string 3769 name: 3770 description: 'Name of the referent. More info: 3771 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3772 TODO: Add other useful fields. apiVersion, 3773 kind, uid?' 3774 type: string 3775 optional: 3776 description: Specify whether the Secret or 3777 its key must be defined 3778 type: boolean 3779 required: 3780 - key 3781 type: object 3782 x-kubernetes-map-type: atomic 3783 endpointParams: 3784 additionalProperties: 3785 type: string 3786 description: Parameters to append to the token 3787 URL 3788 type: object 3789 scopes: 3790 description: OAuth2 scopes used for the token 3791 request 3792 items: 3793 type: string 3794 type: array 3795 tokenUrl: 3796 description: The URL to fetch the token from 3797 minLength: 1 3798 type: string 3799 required: 3800 - clientId 3801 - clientSecret 3802 - tokenUrl 3803 type: object 3804 proxyURL: 3805 description: Optional proxy URL. 3806 type: string 3807 tlsConfig: 3808 description: TLS configuration for the client. 3809 properties: 3810 ca: 3811 description: Certificate authority used when verifying 3812 server certificates. 3813 properties: 3814 configMap: 3815 description: ConfigMap containing data to 3816 use for the targets. 3817 properties: 3818 key: 3819 description: The key to select. 3820 type: string 3821 name: 3822 description: 'Name of the referent. More 3823 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3824 TODO: Add other useful fields. apiVersion, 3825 kind, uid?' 3826 type: string 3827 optional: 3828 description: Specify whether the ConfigMap 3829 or its key must be defined 3830 type: boolean 3831 required: 3832 - key 3833 type: object 3834 x-kubernetes-map-type: atomic 3835 secret: 3836 description: Secret containing data to use 3837 for the targets. 3838 properties: 3839 key: 3840 description: The key of the secret to 3841 select from. Must be a valid secret 3842 key. 3843 type: string 3844 name: 3845 description: 'Name of the referent. More 3846 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3847 TODO: Add other useful fields. apiVersion, 3848 kind, uid?' 3849 type: string 3850 optional: 3851 description: Specify whether the Secret 3852 or its key must be defined 3853 type: boolean 3854 required: 3855 - key 3856 type: object 3857 x-kubernetes-map-type: atomic 3858 type: object 3859 cert: 3860 description: Client certificate to present when 3861 doing client-authentication. 3862 properties: 3863 configMap: 3864 description: ConfigMap containing data to 3865 use for the targets. 3866 properties: 3867 key: 3868 description: The key to select. 3869 type: string 3870 name: 3871 description: 'Name of the referent. More 3872 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3873 TODO: Add other useful fields. apiVersion, 3874 kind, uid?' 3875 type: string 3876 optional: 3877 description: Specify whether the ConfigMap 3878 or its key must be defined 3879 type: boolean 3880 required: 3881 - key 3882 type: object 3883 x-kubernetes-map-type: atomic 3884 secret: 3885 description: Secret containing data to use 3886 for the targets. 3887 properties: 3888 key: 3889 description: The key of the secret to 3890 select from. Must be a valid secret 3891 key. 3892 type: string 3893 name: 3894 description: 'Name of the referent. More 3895 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3896 TODO: Add other useful fields. apiVersion, 3897 kind, uid?' 3898 type: string 3899 optional: 3900 description: Specify whether the Secret 3901 or its key must be defined 3902 type: boolean 3903 required: 3904 - key 3905 type: object 3906 x-kubernetes-map-type: atomic 3907 type: object 3908 insecureSkipVerify: 3909 description: Disable target certificate validation. 3910 type: boolean 3911 keySecret: 3912 description: Secret containing the client key 3913 file for the targets. 3914 properties: 3915 key: 3916 description: The key of the secret to select 3917 from. Must be a valid secret key. 3918 type: string 3919 name: 3920 description: 'Name of the referent. More info: 3921 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3922 TODO: Add other useful fields. apiVersion, 3923 kind, uid?' 3924 type: string 3925 optional: 3926 description: Specify whether the Secret or 3927 its key must be defined 3928 type: boolean 3929 required: 3930 - key 3931 type: object 3932 x-kubernetes-map-type: atomic 3933 serverName: 3934 description: Used to verify the hostname for the 3935 targets. 3936 type: string 3937 type: object 3938 type: object 3939 maxAlerts: 3940 description: Maximum number of alerts to be sent per webhook 3941 message. When 0, all alerts are included. 3942 format: int32 3943 minimum: 0 3944 type: integer 3945 sendResolved: 3946 description: Whether or not to notify about resolved alerts. 3947 type: boolean 3948 url: 3949 description: The URL to send HTTP POST requests to. `urlSecret` 3950 takes precedence over `url`. One of `urlSecret` and 3951 `url` should be defined. 3952 type: string 3953 urlSecret: 3954 description: The secret's key that contains the webhook 3955 URL to send HTTP requests to. `urlSecret` takes precedence 3956 over `url`. One of `urlSecret` and `url` should be defined. 3957 The secret needs to be in the same namespace as the 3958 AlertmanagerConfig object and accessible by the Prometheus 3959 Operator. 3960 properties: 3961 key: 3962 description: The key of the secret to select from. Must 3963 be a valid secret key. 3964 type: string 3965 name: 3966 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3967 TODO: Add other useful fields. apiVersion, kind, 3968 uid?' 3969 type: string 3970 optional: 3971 description: Specify whether the Secret or its key 3972 must be defined 3973 type: boolean 3974 required: 3975 - key 3976 type: object 3977 type: object 3978 type: array 3979 wechatConfigs: 3980 description: List of WeChat configurations. 3981 items: 3982 description: WeChatConfig configures notifications via WeChat. 3983 See https://prometheus.io/docs/alerting/latest/configuration/#wechat_config 3984 properties: 3985 agentID: 3986 type: string 3987 apiSecret: 3988 description: The secret's key that contains the WeChat 3989 API key. The secret needs to be in the same namespace 3990 as the AlertmanagerConfig object and accessible by the 3991 Prometheus Operator. 3992 properties: 3993 key: 3994 description: The key of the secret to select from. Must 3995 be a valid secret key. 3996 type: string 3997 name: 3998 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 3999 TODO: Add other useful fields. apiVersion, kind, 4000 uid?' 4001 type: string 4002 optional: 4003 description: Specify whether the Secret or its key 4004 must be defined 4005 type: boolean 4006 required: 4007 - key 4008 type: object 4009 apiURL: 4010 description: The WeChat API URL. 4011 type: string 4012 corpID: 4013 description: The corp id for authentication. 4014 type: string 4015 httpConfig: 4016 description: HTTP client configuration. 4017 properties: 4018 authorization: 4019 description: Authorization header configuration for 4020 the client. This is mutually exclusive with BasicAuth 4021 and is only available starting from Alertmanager 4022 v0.22+. 4023 properties: 4024 credentials: 4025 description: The secret's key that contains the 4026 credentials of the request 4027 properties: 4028 key: 4029 description: The key of the secret to select 4030 from. Must be a valid secret key. 4031 type: string 4032 name: 4033 description: 'Name of the referent. More info: 4034 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4035 TODO: Add other useful fields. apiVersion, 4036 kind, uid?' 4037 type: string 4038 optional: 4039 description: Specify whether the Secret or 4040 its key must be defined 4041 type: boolean 4042 required: 4043 - key 4044 type: object 4045 x-kubernetes-map-type: atomic 4046 type: 4047 description: Set the authentication type. Defaults 4048 to Bearer, Basic will cause an error 4049 type: string 4050 type: object 4051 basicAuth: 4052 description: BasicAuth for the client. This is mutually 4053 exclusive with Authorization. If both are defined, 4054 BasicAuth takes precedence. 4055 properties: 4056 password: 4057 description: The secret in the service monitor 4058 namespace that contains the password for authentication. 4059 properties: 4060 key: 4061 description: The key of the secret to select 4062 from. Must be a valid secret key. 4063 type: string 4064 name: 4065 description: 'Name of the referent. More info: 4066 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4067 TODO: Add other useful fields. apiVersion, 4068 kind, uid?' 4069 type: string 4070 optional: 4071 description: Specify whether the Secret or 4072 its key must be defined 4073 type: boolean 4074 required: 4075 - key 4076 type: object 4077 x-kubernetes-map-type: atomic 4078 username: 4079 description: The secret in the service monitor 4080 namespace that contains the username for authentication. 4081 properties: 4082 key: 4083 description: The key of the secret to select 4084 from. Must be a valid secret key. 4085 type: string 4086 name: 4087 description: 'Name of the referent. More info: 4088 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4089 TODO: Add other useful fields. apiVersion, 4090 kind, uid?' 4091 type: string 4092 optional: 4093 description: Specify whether the Secret or 4094 its key must be defined 4095 type: boolean 4096 required: 4097 - key 4098 type: object 4099 x-kubernetes-map-type: atomic 4100 type: object 4101 bearerTokenSecret: 4102 description: The secret's key that contains the bearer 4103 token to be used by the client for authentication. 4104 The secret needs to be in the same namespace as 4105 the AlertmanagerConfig object and accessible by 4106 the Prometheus Operator. 4107 properties: 4108 key: 4109 description: The key of the secret to select from. Must 4110 be a valid secret key. 4111 type: string 4112 name: 4113 description: 'Name of the referent. More info: 4114 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4115 TODO: Add other useful fields. apiVersion, kind, 4116 uid?' 4117 type: string 4118 optional: 4119 description: Specify whether the Secret or its 4120 key must be defined 4121 type: boolean 4122 required: 4123 - key 4124 type: object 4125 followRedirects: 4126 description: FollowRedirects specifies whether the 4127 client should follow HTTP 3xx redirects. 4128 type: boolean 4129 oauth2: 4130 description: OAuth2 client credentials used to fetch 4131 a token for the targets. 4132 properties: 4133 clientId: 4134 description: The secret or configmap containing 4135 the OAuth2 client id 4136 properties: 4137 configMap: 4138 description: ConfigMap containing data to 4139 use for the targets. 4140 properties: 4141 key: 4142 description: The key to select. 4143 type: string 4144 name: 4145 description: 'Name of the referent. More 4146 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4147 TODO: Add other useful fields. apiVersion, 4148 kind, uid?' 4149 type: string 4150 optional: 4151 description: Specify whether the ConfigMap 4152 or its key must be defined 4153 type: boolean 4154 required: 4155 - key 4156 type: object 4157 x-kubernetes-map-type: atomic 4158 secret: 4159 description: Secret containing data to use 4160 for the targets. 4161 properties: 4162 key: 4163 description: The key of the secret to 4164 select from. Must be a valid secret 4165 key. 4166 type: string 4167 name: 4168 description: 'Name of the referent. More 4169 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4170 TODO: Add other useful fields. apiVersion, 4171 kind, uid?' 4172 type: string 4173 optional: 4174 description: Specify whether the Secret 4175 or its key must be defined 4176 type: boolean 4177 required: 4178 - key 4179 type: object 4180 x-kubernetes-map-type: atomic 4181 type: object 4182 clientSecret: 4183 description: The secret containing the OAuth2 4184 client secret 4185 properties: 4186 key: 4187 description: The key of the secret to select 4188 from. Must be a valid secret key. 4189 type: string 4190 name: 4191 description: 'Name of the referent. More info: 4192 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4193 TODO: Add other useful fields. apiVersion, 4194 kind, uid?' 4195 type: string 4196 optional: 4197 description: Specify whether the Secret or 4198 its key must be defined 4199 type: boolean 4200 required: 4201 - key 4202 type: object 4203 x-kubernetes-map-type: atomic 4204 endpointParams: 4205 additionalProperties: 4206 type: string 4207 description: Parameters to append to the token 4208 URL 4209 type: object 4210 scopes: 4211 description: OAuth2 scopes used for the token 4212 request 4213 items: 4214 type: string 4215 type: array 4216 tokenUrl: 4217 description: The URL to fetch the token from 4218 minLength: 1 4219 type: string 4220 required: 4221 - clientId 4222 - clientSecret 4223 - tokenUrl 4224 type: object 4225 proxyURL: 4226 description: Optional proxy URL. 4227 type: string 4228 tlsConfig: 4229 description: TLS configuration for the client. 4230 properties: 4231 ca: 4232 description: Certificate authority used when verifying 4233 server certificates. 4234 properties: 4235 configMap: 4236 description: ConfigMap containing data to 4237 use for the targets. 4238 properties: 4239 key: 4240 description: The key to select. 4241 type: string 4242 name: 4243 description: 'Name of the referent. More 4244 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4245 TODO: Add other useful fields. apiVersion, 4246 kind, uid?' 4247 type: string 4248 optional: 4249 description: Specify whether the ConfigMap 4250 or its key must be defined 4251 type: boolean 4252 required: 4253 - key 4254 type: object 4255 x-kubernetes-map-type: atomic 4256 secret: 4257 description: Secret containing data to use 4258 for the targets. 4259 properties: 4260 key: 4261 description: The key of the secret to 4262 select from. Must be a valid secret 4263 key. 4264 type: string 4265 name: 4266 description: 'Name of the referent. More 4267 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4268 TODO: Add other useful fields. apiVersion, 4269 kind, uid?' 4270 type: string 4271 optional: 4272 description: Specify whether the Secret 4273 or its key must be defined 4274 type: boolean 4275 required: 4276 - key 4277 type: object 4278 x-kubernetes-map-type: atomic 4279 type: object 4280 cert: 4281 description: Client certificate to present when 4282 doing client-authentication. 4283 properties: 4284 configMap: 4285 description: ConfigMap containing data to 4286 use for the targets. 4287 properties: 4288 key: 4289 description: The key to select. 4290 type: string 4291 name: 4292 description: 'Name of the referent. More 4293 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4294 TODO: Add other useful fields. apiVersion, 4295 kind, uid?' 4296 type: string 4297 optional: 4298 description: Specify whether the ConfigMap 4299 or its key must be defined 4300 type: boolean 4301 required: 4302 - key 4303 type: object 4304 x-kubernetes-map-type: atomic 4305 secret: 4306 description: Secret containing data to use 4307 for the targets. 4308 properties: 4309 key: 4310 description: The key of the secret to 4311 select from. Must be a valid secret 4312 key. 4313 type: string 4314 name: 4315 description: 'Name of the referent. More 4316 info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4317 TODO: Add other useful fields. apiVersion, 4318 kind, uid?' 4319 type: string 4320 optional: 4321 description: Specify whether the Secret 4322 or its key must be defined 4323 type: boolean 4324 required: 4325 - key 4326 type: object 4327 x-kubernetes-map-type: atomic 4328 type: object 4329 insecureSkipVerify: 4330 description: Disable target certificate validation. 4331 type: boolean 4332 keySecret: 4333 description: Secret containing the client key 4334 file for the targets. 4335 properties: 4336 key: 4337 description: The key of the secret to select 4338 from. Must be a valid secret key. 4339 type: string 4340 name: 4341 description: 'Name of the referent. More info: 4342 https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names 4343 TODO: Add other useful fields. apiVersion, 4344 kind, uid?' 4345 type: string 4346 optional: 4347 description: Specify whether the Secret or 4348 its key must be defined 4349 type: boolean 4350 required: 4351 - key 4352 type: object 4353 x-kubernetes-map-type: atomic 4354 serverName: 4355 description: Used to verify the hostname for the 4356 targets. 4357 type: string 4358 type: object 4359 type: object 4360 message: 4361 description: API request data as defined by the WeChat 4362 API. 4363 type: string 4364 messageType: 4365 type: string 4366 sendResolved: 4367 description: Whether or not to notify about resolved alerts. 4368 type: boolean 4369 toParty: 4370 type: string 4371 toTag: 4372 type: string 4373 toUser: 4374 type: string 4375 type: object 4376 type: array 4377 required: 4378 - name 4379 type: object 4380 type: array 4381 route: 4382 description: The Alertmanager route definition for alerts matching 4383 the resource's namespace. If present, it will be added to the generated 4384 Alertmanager configuration as a first-level route. 4385 properties: 4386 activeTimeIntervals: 4387 description: ActiveTimeIntervals is a list of MuteTimeInterval 4388 names when this route should be active. 4389 items: 4390 type: string 4391 type: array 4392 continue: 4393 description: Boolean indicating whether an alert should continue 4394 matching subsequent sibling nodes. It will always be overridden 4395 to true for the first-level route by the Prometheus operator. 4396 type: boolean 4397 groupBy: 4398 description: List of labels to group by. Labels must not be repeated 4399 (unique list). Special label "..." (aggregate by all possible 4400 labels), if provided, must be the only element in the list. 4401 items: 4402 type: string 4403 type: array 4404 groupInterval: 4405 description: 'How long to wait before sending an updated notification. 4406 Must match the regular expression`^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$` 4407 Example: "5m"' 4408 type: string 4409 groupWait: 4410 description: 'How long to wait before sending the initial notification. 4411 Must match the regular expression`^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$` 4412 Example: "30s"' 4413 type: string 4414 matchers: 4415 description: 'List of matchers that the alert''s labels should 4416 match. For the first level route, the operator removes any existing 4417 equality and regexp matcher on the `namespace` label and adds 4418 a `namespace: <object namespace>` matcher.' 4419 items: 4420 description: Matcher defines how to match on alert's labels. 4421 properties: 4422 matchType: 4423 description: Match operation available with AlertManager 4424 >= v0.22.0 and takes precedence over Regex (deprecated) 4425 if non-empty. 4426 enum: 4427 - '!=' 4428 - = 4429 - =~ 4430 - '!~' 4431 type: string 4432 name: 4433 description: Label to match. 4434 minLength: 1 4435 type: string 4436 regex: 4437 description: Whether to match on equality (false) or regular-expression 4438 (true). Deprecated as of AlertManager >= v0.22.0 where 4439 a user should use MatchType instead. 4440 type: boolean 4441 value: 4442 description: Label value to match. 4443 type: string 4444 required: 4445 - name 4446 type: object 4447 type: array 4448 muteTimeIntervals: 4449 description: 'Note: this comment applies to the field definition 4450 above but appears below otherwise it gets included in the generated 4451 manifest. CRD schema doesn''t support self-referential types 4452 for now (see https://github.com/kubernetes/kubernetes/issues/62872). 4453 We have to use an alternative type to circumvent the limitation. 4454 The downside is that the Kube API can''t validate the data beyond 4455 the fact that it is a valid JSON representation. MuteTimeIntervals 4456 is a list of MuteTimeInterval names that will mute this route 4457 when matched,' 4458 items: 4459 type: string 4460 type: array 4461 receiver: 4462 description: Name of the receiver for this route. If not empty, 4463 it should be listed in the `receivers` field. 4464 type: string 4465 repeatInterval: 4466 description: 'How long to wait before repeating the last notification. 4467 Must match the regular expression`^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$` 4468 Example: "4h"' 4469 type: string 4470 routes: 4471 description: Child routes. 4472 items: 4473 x-kubernetes-preserve-unknown-fields: true 4474 type: array 4475 type: object 4476 type: object 4477 required: 4478 - spec 4479 type: object 4480 served: true 4481 storage: true