k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/0prometheus-operator-0alertmanagerConfigCustomResourceDefinition.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      controller-gen.kubebuilder.io/version: v0.4.1
     6    creationTimestamp: null
     7    name: alertmanagerconfigs.monitoring.coreos.com
     8  spec:
     9    group: monitoring.coreos.com
    10    names:
    11      kind: AlertmanagerConfig
    12      listKind: AlertmanagerConfigList
    13      plural: alertmanagerconfigs
    14      singular: alertmanagerconfig
    15    scope: Namespaced
    16    versions:
    17    - name: v1alpha1
    18      schema:
    19        openAPIV3Schema:
    20          description: AlertmanagerConfig defines a namespaced AlertmanagerConfig to be aggregated across multiple namespaces configuring one Alertmanager cluster.
    21          properties:
    22            apiVersion:
    23              description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    24              type: string
    25            kind:
    26              description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    27              type: string
    28            metadata:
    29              type: object
    30            spec:
    31              description: AlertmanagerConfigSpec is a specification of the desired behavior of the Alertmanager configuration. By definition, the Alertmanager configuration only applies to alerts for which the `namespace` label is equal to the namespace of the AlertmanagerConfig resource.
    32              properties:
    33                inhibitRules:
    34                  description: List of inhibition rules. The rules will only apply to alerts matching the resource’s namespace.
    35                  items:
    36                    description: InhibitRule defines an inhibition rule that allows to mute alerts when other alerts are already firing. See https://prometheus.io/docs/alerting/latest/configuration/#inhibit_rule
    37                    properties:
    38                      equal:
    39                        description: Labels that must have an equal value in the source and target alert for the inhibition to take effect.
    40                        items:
    41                          type: string
    42                        type: array
    43                      sourceMatch:
    44                        description: Matchers for which one or more alerts have to exist for the inhibition to take effect. The operator enforces that the alert matches the resource’s namespace.
    45                        items:
    46                          description: Matcher defines how to match on alert's labels.
    47                          properties:
    48                            name:
    49                              description: Label to match.
    50                              minLength: 1
    51                              type: string
    52                            regex:
    53                              description: Whether to match on equality (false) or regular-expression (true).
    54                              type: boolean
    55                            value:
    56                              description: Label value to match.
    57                              type: string
    58                          required:
    59                          - name
    60                          type: object
    61                        type: array
    62                      targetMatch:
    63                        description: Matchers that have to be fulfilled in the alerts to be muted. The operator enforces that the alert matches the resource’s namespace.
    64                        items:
    65                          description: Matcher defines how to match on alert's labels.
    66                          properties:
    67                            name:
    68                              description: Label to match.
    69                              minLength: 1
    70                              type: string
    71                            regex:
    72                              description: Whether to match on equality (false) or regular-expression (true).
    73                              type: boolean
    74                            value:
    75                              description: Label value to match.
    76                              type: string
    77                          required:
    78                          - name
    79                          type: object
    80                        type: array
    81                    type: object
    82                  type: array
    83                receivers:
    84                  description: List of receivers.
    85                  items:
    86                    description: Receiver defines one or more notification integrations.
    87                    properties:
    88                      emailConfigs:
    89                        description: List of Email configurations.
    90                        items:
    91                          description: EmailConfig configures notifications via Email.
    92                          properties:
    93                            authIdentity:
    94                              description: The identity to use for authentication.
    95                              type: string
    96                            authPassword:
    97                              description: The secret's key that contains the password to use for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
    98                              properties:
    99                                key:
   100                                  description: The key of the secret to select from.  Must be a valid secret key.
   101                                  type: string
   102                                name:
   103                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   104                                  type: string
   105                                optional:
   106                                  description: Specify whether the Secret or its key must be defined
   107                                  type: boolean
   108                              required:
   109                              - key
   110                              type: object
   111                            authSecret:
   112                              description: The secret's key that contains the CRAM-MD5 secret. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   113                              properties:
   114                                key:
   115                                  description: The key of the secret to select from.  Must be a valid secret key.
   116                                  type: string
   117                                name:
   118                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   119                                  type: string
   120                                optional:
   121                                  description: Specify whether the Secret or its key must be defined
   122                                  type: boolean
   123                              required:
   124                              - key
   125                              type: object
   126                            authUsername:
   127                              description: The username to use for authentication.
   128                              type: string
   129                            from:
   130                              description: The sender address.
   131                              type: string
   132                            headers:
   133                              description: Further headers email header key/value pairs. Overrides any headers previously set by the notification implementation.
   134                              items:
   135                                description: KeyValue defines a (key, value) tuple.
   136                                properties:
   137                                  key:
   138                                    description: Key of the tuple.
   139                                    minLength: 1
   140                                    type: string
   141                                  value:
   142                                    description: Value of the tuple.
   143                                    type: string
   144                                required:
   145                                - key
   146                                - value
   147                                type: object
   148                              type: array
   149                            hello:
   150                              description: The hostname to identify to the SMTP server.
   151                              type: string
   152                            html:
   153                              description: The HTML body of the email notification.
   154                              type: string
   155                            requireTLS:
   156                              description: The SMTP TLS requirement. Note that Go does not support unencrypted connections to remote SMTP endpoints.
   157                              type: boolean
   158                            sendResolved:
   159                              description: Whether or not to notify about resolved alerts.
   160                              type: boolean
   161                            smarthost:
   162                              description: The SMTP host through which emails are sent.
   163                              type: string
   164                            text:
   165                              description: The text body of the email notification.
   166                              type: string
   167                            tlsConfig:
   168                              description: TLS configuration
   169                              properties:
   170                                ca:
   171                                  description: Struct containing the CA cert to use for the targets.
   172                                  properties:
   173                                    configMap:
   174                                      description: ConfigMap containing data to use for the targets.
   175                                      properties:
   176                                        key:
   177                                          description: The key to select.
   178                                          type: string
   179                                        name:
   180                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   181                                          type: string
   182                                        optional:
   183                                          description: Specify whether the ConfigMap or its key must be defined
   184                                          type: boolean
   185                                      required:
   186                                      - key
   187                                      type: object
   188                                    secret:
   189                                      description: Secret containing data to use for the targets.
   190                                      properties:
   191                                        key:
   192                                          description: The key of the secret to select from.  Must be a valid secret key.
   193                                          type: string
   194                                        name:
   195                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   196                                          type: string
   197                                        optional:
   198                                          description: Specify whether the Secret or its key must be defined
   199                                          type: boolean
   200                                      required:
   201                                      - key
   202                                      type: object
   203                                  type: object
   204                                cert:
   205                                  description: Struct containing the client cert file for the targets.
   206                                  properties:
   207                                    configMap:
   208                                      description: ConfigMap containing data to use for the targets.
   209                                      properties:
   210                                        key:
   211                                          description: The key to select.
   212                                          type: string
   213                                        name:
   214                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   215                                          type: string
   216                                        optional:
   217                                          description: Specify whether the ConfigMap or its key must be defined
   218                                          type: boolean
   219                                      required:
   220                                      - key
   221                                      type: object
   222                                    secret:
   223                                      description: Secret containing data to use for the targets.
   224                                      properties:
   225                                        key:
   226                                          description: The key of the secret to select from.  Must be a valid secret key.
   227                                          type: string
   228                                        name:
   229                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   230                                          type: string
   231                                        optional:
   232                                          description: Specify whether the Secret or its key must be defined
   233                                          type: boolean
   234                                      required:
   235                                      - key
   236                                      type: object
   237                                  type: object
   238                                insecureSkipVerify:
   239                                  description: Disable target certificate validation.
   240                                  type: boolean
   241                                keySecret:
   242                                  description: Secret containing the client key file for the targets.
   243                                  properties:
   244                                    key:
   245                                      description: The key of the secret to select from.  Must be a valid secret key.
   246                                      type: string
   247                                    name:
   248                                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   249                                      type: string
   250                                    optional:
   251                                      description: Specify whether the Secret or its key must be defined
   252                                      type: boolean
   253                                  required:
   254                                  - key
   255                                  type: object
   256                                serverName:
   257                                  description: Used to verify the hostname for the targets.
   258                                  type: string
   259                              type: object
   260                            to:
   261                              description: The email address to send notifications to.
   262                              type: string
   263                          type: object
   264                        type: array
   265                      name:
   266                        description: Name of the receiver. Must be unique across all items from the list.
   267                        minLength: 1
   268                        type: string
   269                      opsgenieConfigs:
   270                        description: List of OpsGenie configurations.
   271                        items:
   272                          description: OpsGenieConfig configures notifications via OpsGenie. See https://prometheus.io/docs/alerting/latest/configuration/#opsgenie_config
   273                          properties:
   274                            apiKey:
   275                              description: The secret's key that contains the OpsGenie API key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   276                              properties:
   277                                key:
   278                                  description: The key of the secret to select from.  Must be a valid secret key.
   279                                  type: string
   280                                name:
   281                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   282                                  type: string
   283                                optional:
   284                                  description: Specify whether the Secret or its key must be defined
   285                                  type: boolean
   286                              required:
   287                              - key
   288                              type: object
   289                            apiURL:
   290                              description: The URL to send OpsGenie API requests to.
   291                              type: string
   292                            description:
   293                              description: Description of the incident.
   294                              type: string
   295                            details:
   296                              description: A set of arbitrary key/value pairs that provide further detail about the incident.
   297                              items:
   298                                description: KeyValue defines a (key, value) tuple.
   299                                properties:
   300                                  key:
   301                                    description: Key of the tuple.
   302                                    minLength: 1
   303                                    type: string
   304                                  value:
   305                                    description: Value of the tuple.
   306                                    type: string
   307                                required:
   308                                - key
   309                                - value
   310                                type: object
   311                              type: array
   312                            httpConfig:
   313                              description: HTTP client configuration.
   314                              properties:
   315                                basicAuth:
   316                                  description: BasicAuth for the client.
   317                                  properties:
   318                                    password:
   319                                      description: The secret in the service monitor namespace that contains the password for authentication.
   320                                      properties:
   321                                        key:
   322                                          description: The key of the secret to select from.  Must be a valid secret key.
   323                                          type: string
   324                                        name:
   325                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   326                                          type: string
   327                                        optional:
   328                                          description: Specify whether the Secret or its key must be defined
   329                                          type: boolean
   330                                      required:
   331                                      - key
   332                                      type: object
   333                                    username:
   334                                      description: The secret in the service monitor namespace that contains the username for authentication.
   335                                      properties:
   336                                        key:
   337                                          description: The key of the secret to select from.  Must be a valid secret key.
   338                                          type: string
   339                                        name:
   340                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   341                                          type: string
   342                                        optional:
   343                                          description: Specify whether the Secret or its key must be defined
   344                                          type: boolean
   345                                      required:
   346                                      - key
   347                                      type: object
   348                                  type: object
   349                                bearerTokenSecret:
   350                                  description: The secret's key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   351                                  properties:
   352                                    key:
   353                                      description: The key of the secret to select from.  Must be a valid secret key.
   354                                      type: string
   355                                    name:
   356                                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   357                                      type: string
   358                                    optional:
   359                                      description: Specify whether the Secret or its key must be defined
   360                                      type: boolean
   361                                  required:
   362                                  - key
   363                                  type: object
   364                                proxyURL:
   365                                  description: Optional proxy URL.
   366                                  type: string
   367                                tlsConfig:
   368                                  description: TLS configuration for the client.
   369                                  properties:
   370                                    ca:
   371                                      description: Struct containing the CA cert to use for the targets.
   372                                      properties:
   373                                        configMap:
   374                                          description: ConfigMap containing data to use for the targets.
   375                                          properties:
   376                                            key:
   377                                              description: The key to select.
   378                                              type: string
   379                                            name:
   380                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   381                                              type: string
   382                                            optional:
   383                                              description: Specify whether the ConfigMap or its key must be defined
   384                                              type: boolean
   385                                          required:
   386                                          - key
   387                                          type: object
   388                                        secret:
   389                                          description: Secret containing data to use for the targets.
   390                                          properties:
   391                                            key:
   392                                              description: The key of the secret to select from.  Must be a valid secret key.
   393                                              type: string
   394                                            name:
   395                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   396                                              type: string
   397                                            optional:
   398                                              description: Specify whether the Secret or its key must be defined
   399                                              type: boolean
   400                                          required:
   401                                          - key
   402                                          type: object
   403                                      type: object
   404                                    cert:
   405                                      description: Struct containing the client cert file for the targets.
   406                                      properties:
   407                                        configMap:
   408                                          description: ConfigMap containing data to use for the targets.
   409                                          properties:
   410                                            key:
   411                                              description: The key to select.
   412                                              type: string
   413                                            name:
   414                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   415                                              type: string
   416                                            optional:
   417                                              description: Specify whether the ConfigMap or its key must be defined
   418                                              type: boolean
   419                                          required:
   420                                          - key
   421                                          type: object
   422                                        secret:
   423                                          description: Secret containing data to use for the targets.
   424                                          properties:
   425                                            key:
   426                                              description: The key of the secret to select from.  Must be a valid secret key.
   427                                              type: string
   428                                            name:
   429                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   430                                              type: string
   431                                            optional:
   432                                              description: Specify whether the Secret or its key must be defined
   433                                              type: boolean
   434                                          required:
   435                                          - key
   436                                          type: object
   437                                      type: object
   438                                    insecureSkipVerify:
   439                                      description: Disable target certificate validation.
   440                                      type: boolean
   441                                    keySecret:
   442                                      description: Secret containing the client key file for the targets.
   443                                      properties:
   444                                        key:
   445                                          description: The key of the secret to select from.  Must be a valid secret key.
   446                                          type: string
   447                                        name:
   448                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   449                                          type: string
   450                                        optional:
   451                                          description: Specify whether the Secret or its key must be defined
   452                                          type: boolean
   453                                      required:
   454                                      - key
   455                                      type: object
   456                                    serverName:
   457                                      description: Used to verify the hostname for the targets.
   458                                      type: string
   459                                  type: object
   460                              type: object
   461                            message:
   462                              description: Alert text limited to 130 characters.
   463                              type: string
   464                            note:
   465                              description: Additional alert note.
   466                              type: string
   467                            priority:
   468                              description: Priority level of alert. Possible values are P1, P2, P3, P4, and P5.
   469                              type: string
   470                            responders:
   471                              description: List of responders responsible for notifications.
   472                              items:
   473                                description: OpsGenieConfigResponder defines a responder to an incident. One of `id`, `name` or `username` has to be defined.
   474                                properties:
   475                                  id:
   476                                    description: ID of the responder.
   477                                    type: string
   478                                  name:
   479                                    description: Name of the responder.
   480                                    type: string
   481                                  type:
   482                                    description: Type of responder.
   483                                    minLength: 1
   484                                    type: string
   485                                  username:
   486                                    description: Username of the responder.
   487                                    type: string
   488                                required:
   489                                - type
   490                                type: object
   491                              type: array
   492                            sendResolved:
   493                              description: Whether or not to notify about resolved alerts.
   494                              type: boolean
   495                            source:
   496                              description: Backlink to the sender of the notification.
   497                              type: string
   498                            tags:
   499                              description: Comma separated list of tags attached to the notifications.
   500                              type: string
   501                          type: object
   502                        type: array
   503                      pagerdutyConfigs:
   504                        description: List of PagerDuty configurations.
   505                        items:
   506                          description: PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
   507                          properties:
   508                            class:
   509                              description: The class/type of the event.
   510                              type: string
   511                            client:
   512                              description: Client identification.
   513                              type: string
   514                            clientURL:
   515                              description: Backlink to the sender of notification.
   516                              type: string
   517                            component:
   518                              description: The part or component of the affected system that is broken.
   519                              type: string
   520                            description:
   521                              description: Description of the incident.
   522                              type: string
   523                            details:
   524                              description: Arbitrary key/value pairs that provide further detail about the incident.
   525                              items:
   526                                description: KeyValue defines a (key, value) tuple.
   527                                properties:
   528                                  key:
   529                                    description: Key of the tuple.
   530                                    minLength: 1
   531                                    type: string
   532                                  value:
   533                                    description: Value of the tuple.
   534                                    type: string
   535                                required:
   536                                - key
   537                                - value
   538                                type: object
   539                              type: array
   540                            group:
   541                              description: A cluster or grouping of sources.
   542                              type: string
   543                            httpConfig:
   544                              description: HTTP client configuration.
   545                              properties:
   546                                basicAuth:
   547                                  description: BasicAuth for the client.
   548                                  properties:
   549                                    password:
   550                                      description: The secret in the service monitor namespace that contains the password for authentication.
   551                                      properties:
   552                                        key:
   553                                          description: The key of the secret to select from.  Must be a valid secret key.
   554                                          type: string
   555                                        name:
   556                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   557                                          type: string
   558                                        optional:
   559                                          description: Specify whether the Secret or its key must be defined
   560                                          type: boolean
   561                                      required:
   562                                      - key
   563                                      type: object
   564                                    username:
   565                                      description: The secret in the service monitor namespace that contains the username for authentication.
   566                                      properties:
   567                                        key:
   568                                          description: The key of the secret to select from.  Must be a valid secret key.
   569                                          type: string
   570                                        name:
   571                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   572                                          type: string
   573                                        optional:
   574                                          description: Specify whether the Secret or its key must be defined
   575                                          type: boolean
   576                                      required:
   577                                      - key
   578                                      type: object
   579                                  type: object
   580                                bearerTokenSecret:
   581                                  description: The secret's key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   582                                  properties:
   583                                    key:
   584                                      description: The key of the secret to select from.  Must be a valid secret key.
   585                                      type: string
   586                                    name:
   587                                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   588                                      type: string
   589                                    optional:
   590                                      description: Specify whether the Secret or its key must be defined
   591                                      type: boolean
   592                                  required:
   593                                  - key
   594                                  type: object
   595                                proxyURL:
   596                                  description: Optional proxy URL.
   597                                  type: string
   598                                tlsConfig:
   599                                  description: TLS configuration for the client.
   600                                  properties:
   601                                    ca:
   602                                      description: Struct containing the CA cert to use for the targets.
   603                                      properties:
   604                                        configMap:
   605                                          description: ConfigMap containing data to use for the targets.
   606                                          properties:
   607                                            key:
   608                                              description: The key to select.
   609                                              type: string
   610                                            name:
   611                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   612                                              type: string
   613                                            optional:
   614                                              description: Specify whether the ConfigMap or its key must be defined
   615                                              type: boolean
   616                                          required:
   617                                          - key
   618                                          type: object
   619                                        secret:
   620                                          description: Secret containing data to use for the targets.
   621                                          properties:
   622                                            key:
   623                                              description: The key of the secret to select from.  Must be a valid secret key.
   624                                              type: string
   625                                            name:
   626                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   627                                              type: string
   628                                            optional:
   629                                              description: Specify whether the Secret or its key must be defined
   630                                              type: boolean
   631                                          required:
   632                                          - key
   633                                          type: object
   634                                      type: object
   635                                    cert:
   636                                      description: Struct containing the client cert file for the targets.
   637                                      properties:
   638                                        configMap:
   639                                          description: ConfigMap containing data to use for the targets.
   640                                          properties:
   641                                            key:
   642                                              description: The key to select.
   643                                              type: string
   644                                            name:
   645                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   646                                              type: string
   647                                            optional:
   648                                              description: Specify whether the ConfigMap or its key must be defined
   649                                              type: boolean
   650                                          required:
   651                                          - key
   652                                          type: object
   653                                        secret:
   654                                          description: Secret containing data to use for the targets.
   655                                          properties:
   656                                            key:
   657                                              description: The key of the secret to select from.  Must be a valid secret key.
   658                                              type: string
   659                                            name:
   660                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   661                                              type: string
   662                                            optional:
   663                                              description: Specify whether the Secret or its key must be defined
   664                                              type: boolean
   665                                          required:
   666                                          - key
   667                                          type: object
   668                                      type: object
   669                                    insecureSkipVerify:
   670                                      description: Disable target certificate validation.
   671                                      type: boolean
   672                                    keySecret:
   673                                      description: Secret containing the client key file for the targets.
   674                                      properties:
   675                                        key:
   676                                          description: The key of the secret to select from.  Must be a valid secret key.
   677                                          type: string
   678                                        name:
   679                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   680                                          type: string
   681                                        optional:
   682                                          description: Specify whether the Secret or its key must be defined
   683                                          type: boolean
   684                                      required:
   685                                      - key
   686                                      type: object
   687                                    serverName:
   688                                      description: Used to verify the hostname for the targets.
   689                                      type: string
   690                                  type: object
   691                              type: object
   692                            routingKey:
   693                              description: The secret's key that contains the PagerDuty integration key (when using Events API v2). Either this field or `serviceKey` needs to be defined. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   694                              properties:
   695                                key:
   696                                  description: The key of the secret to select from.  Must be a valid secret key.
   697                                  type: string
   698                                name:
   699                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   700                                  type: string
   701                                optional:
   702                                  description: Specify whether the Secret or its key must be defined
   703                                  type: boolean
   704                              required:
   705                              - key
   706                              type: object
   707                            sendResolved:
   708                              description: Whether or not to notify about resolved alerts.
   709                              type: boolean
   710                            serviceKey:
   711                              description: The secret's key that contains the PagerDuty service key (when using integration type "Prometheus"). Either this field or `routingKey` needs to be defined. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   712                              properties:
   713                                key:
   714                                  description: The key of the secret to select from.  Must be a valid secret key.
   715                                  type: string
   716                                name:
   717                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   718                                  type: string
   719                                optional:
   720                                  description: Specify whether the Secret or its key must be defined
   721                                  type: boolean
   722                              required:
   723                              - key
   724                              type: object
   725                            severity:
   726                              description: Severity of the incident.
   727                              type: string
   728                            url:
   729                              description: The URL to send requests to.
   730                              type: string
   731                          type: object
   732                        type: array
   733                      pushoverConfigs:
   734                        description: List of Pushover configurations.
   735                        items:
   736                          description: PushoverConfig configures notifications via Pushover. See https://prometheus.io/docs/alerting/latest/configuration/#pushover_config
   737                          properties:
   738                            expire:
   739                              description: How long your notification will continue to be retried for, unless the user acknowledges the notification.
   740                              type: string
   741                            html:
   742                              description: Whether notification message is HTML or plain text.
   743                              type: boolean
   744                            httpConfig:
   745                              description: HTTP client configuration.
   746                              properties:
   747                                basicAuth:
   748                                  description: BasicAuth for the client.
   749                                  properties:
   750                                    password:
   751                                      description: The secret in the service monitor namespace that contains the password for authentication.
   752                                      properties:
   753                                        key:
   754                                          description: The key of the secret to select from.  Must be a valid secret key.
   755                                          type: string
   756                                        name:
   757                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   758                                          type: string
   759                                        optional:
   760                                          description: Specify whether the Secret or its key must be defined
   761                                          type: boolean
   762                                      required:
   763                                      - key
   764                                      type: object
   765                                    username:
   766                                      description: The secret in the service monitor namespace that contains the username for authentication.
   767                                      properties:
   768                                        key:
   769                                          description: The key of the secret to select from.  Must be a valid secret key.
   770                                          type: string
   771                                        name:
   772                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   773                                          type: string
   774                                        optional:
   775                                          description: Specify whether the Secret or its key must be defined
   776                                          type: boolean
   777                                      required:
   778                                      - key
   779                                      type: object
   780                                  type: object
   781                                bearerTokenSecret:
   782                                  description: The secret's key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   783                                  properties:
   784                                    key:
   785                                      description: The key of the secret to select from.  Must be a valid secret key.
   786                                      type: string
   787                                    name:
   788                                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   789                                      type: string
   790                                    optional:
   791                                      description: Specify whether the Secret or its key must be defined
   792                                      type: boolean
   793                                  required:
   794                                  - key
   795                                  type: object
   796                                proxyURL:
   797                                  description: Optional proxy URL.
   798                                  type: string
   799                                tlsConfig:
   800                                  description: TLS configuration for the client.
   801                                  properties:
   802                                    ca:
   803                                      description: Struct containing the CA cert to use for the targets.
   804                                      properties:
   805                                        configMap:
   806                                          description: ConfigMap containing data to use for the targets.
   807                                          properties:
   808                                            key:
   809                                              description: The key to select.
   810                                              type: string
   811                                            name:
   812                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   813                                              type: string
   814                                            optional:
   815                                              description: Specify whether the ConfigMap or its key must be defined
   816                                              type: boolean
   817                                          required:
   818                                          - key
   819                                          type: object
   820                                        secret:
   821                                          description: Secret containing data to use for the targets.
   822                                          properties:
   823                                            key:
   824                                              description: The key of the secret to select from.  Must be a valid secret key.
   825                                              type: string
   826                                            name:
   827                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   828                                              type: string
   829                                            optional:
   830                                              description: Specify whether the Secret or its key must be defined
   831                                              type: boolean
   832                                          required:
   833                                          - key
   834                                          type: object
   835                                      type: object
   836                                    cert:
   837                                      description: Struct containing the client cert file for the targets.
   838                                      properties:
   839                                        configMap:
   840                                          description: ConfigMap containing data to use for the targets.
   841                                          properties:
   842                                            key:
   843                                              description: The key to select.
   844                                              type: string
   845                                            name:
   846                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   847                                              type: string
   848                                            optional:
   849                                              description: Specify whether the ConfigMap or its key must be defined
   850                                              type: boolean
   851                                          required:
   852                                          - key
   853                                          type: object
   854                                        secret:
   855                                          description: Secret containing data to use for the targets.
   856                                          properties:
   857                                            key:
   858                                              description: The key of the secret to select from.  Must be a valid secret key.
   859                                              type: string
   860                                            name:
   861                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   862                                              type: string
   863                                            optional:
   864                                              description: Specify whether the Secret or its key must be defined
   865                                              type: boolean
   866                                          required:
   867                                          - key
   868                                          type: object
   869                                      type: object
   870                                    insecureSkipVerify:
   871                                      description: Disable target certificate validation.
   872                                      type: boolean
   873                                    keySecret:
   874                                      description: Secret containing the client key file for the targets.
   875                                      properties:
   876                                        key:
   877                                          description: The key of the secret to select from.  Must be a valid secret key.
   878                                          type: string
   879                                        name:
   880                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   881                                          type: string
   882                                        optional:
   883                                          description: Specify whether the Secret or its key must be defined
   884                                          type: boolean
   885                                      required:
   886                                      - key
   887                                      type: object
   888                                    serverName:
   889                                      description: Used to verify the hostname for the targets.
   890                                      type: string
   891                                  type: object
   892                              type: object
   893                            message:
   894                              description: Notification message.
   895                              type: string
   896                            priority:
   897                              description: Priority, see https://pushover.net/api#priority
   898                              type: string
   899                            retry:
   900                              description: How often the Pushover servers will send the same notification to the user. Must be at least 30 seconds.
   901                              type: string
   902                            sendResolved:
   903                              description: Whether or not to notify about resolved alerts.
   904                              type: boolean
   905                            sound:
   906                              description: The name of one of the sounds supported by device clients to override the user's default sound choice
   907                              type: string
   908                            title:
   909                              description: Notification title.
   910                              type: string
   911                            token:
   912                              description: The secret's key that contains the registered application’s API token, see https://pushover.net/apps. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   913                              properties:
   914                                key:
   915                                  description: The key of the secret to select from.  Must be a valid secret key.
   916                                  type: string
   917                                name:
   918                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   919                                  type: string
   920                                optional:
   921                                  description: Specify whether the Secret or its key must be defined
   922                                  type: boolean
   923                              required:
   924                              - key
   925                              type: object
   926                            url:
   927                              description: A supplementary URL shown alongside the message.
   928                              type: string
   929                            urlTitle:
   930                              description: A title for supplementary URL, otherwise just the URL is shown
   931                              type: string
   932                            userKey:
   933                              description: The secret's key that contains the recipient user’s user key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   934                              properties:
   935                                key:
   936                                  description: The key of the secret to select from.  Must be a valid secret key.
   937                                  type: string
   938                                name:
   939                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
   940                                  type: string
   941                                optional:
   942                                  description: Specify whether the Secret or its key must be defined
   943                                  type: boolean
   944                              required:
   945                              - key
   946                              type: object
   947                          type: object
   948                        type: array
   949                      slackConfigs:
   950                        description: List of Slack configurations.
   951                        items:
   952                          description: SlackConfig configures notifications via Slack. See https://prometheus.io/docs/alerting/latest/configuration/#slack_config
   953                          properties:
   954                            actions:
   955                              description: A list of Slack actions that are sent with each notification.
   956                              items:
   957                                description: SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
   958                                properties:
   959                                  confirm:
   960                                    description: SlackConfirmationField protect users from destructive actions or particularly distinguished decisions by asking them to confirm their button click one more time. See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information.
   961                                    properties:
   962                                      dismissText:
   963                                        type: string
   964                                      okText:
   965                                        type: string
   966                                      text:
   967                                        minLength: 1
   968                                        type: string
   969                                      title:
   970                                        type: string
   971                                    required:
   972                                    - text
   973                                    type: object
   974                                  name:
   975                                    type: string
   976                                  style:
   977                                    type: string
   978                                  text:
   979                                    minLength: 1
   980                                    type: string
   981                                  type:
   982                                    minLength: 1
   983                                    type: string
   984                                  url:
   985                                    type: string
   986                                  value:
   987                                    type: string
   988                                required:
   989                                - text
   990                                - type
   991                                type: object
   992                              type: array
   993                            apiURL:
   994                              description: The secret's key that contains the Slack webhook URL. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
   995                              properties:
   996                                key:
   997                                  description: The key of the secret to select from.  Must be a valid secret key.
   998                                  type: string
   999                                name:
  1000                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1001                                  type: string
  1002                                optional:
  1003                                  description: Specify whether the Secret or its key must be defined
  1004                                  type: boolean
  1005                              required:
  1006                              - key
  1007                              type: object
  1008                            callbackId:
  1009                              type: string
  1010                            channel:
  1011                              description: The channel or user to send notifications to.
  1012                              type: string
  1013                            color:
  1014                              type: string
  1015                            fallback:
  1016                              type: string
  1017                            fields:
  1018                              description: A list of Slack fields that are sent with each notification.
  1019                              items:
  1020                                description: SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
  1021                                properties:
  1022                                  short:
  1023                                    type: boolean
  1024                                  title:
  1025                                    minLength: 1
  1026                                    type: string
  1027                                  value:
  1028                                    minLength: 1
  1029                                    type: string
  1030                                required:
  1031                                - title
  1032                                - value
  1033                                type: object
  1034                              type: array
  1035                            footer:
  1036                              type: string
  1037                            httpConfig:
  1038                              description: HTTP client configuration.
  1039                              properties:
  1040                                basicAuth:
  1041                                  description: BasicAuth for the client.
  1042                                  properties:
  1043                                    password:
  1044                                      description: The secret in the service monitor namespace that contains the password for authentication.
  1045                                      properties:
  1046                                        key:
  1047                                          description: The key of the secret to select from.  Must be a valid secret key.
  1048                                          type: string
  1049                                        name:
  1050                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1051                                          type: string
  1052                                        optional:
  1053                                          description: Specify whether the Secret or its key must be defined
  1054                                          type: boolean
  1055                                      required:
  1056                                      - key
  1057                                      type: object
  1058                                    username:
  1059                                      description: The secret in the service monitor namespace that contains the username for authentication.
  1060                                      properties:
  1061                                        key:
  1062                                          description: The key of the secret to select from.  Must be a valid secret key.
  1063                                          type: string
  1064                                        name:
  1065                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1066                                          type: string
  1067                                        optional:
  1068                                          description: Specify whether the Secret or its key must be defined
  1069                                          type: boolean
  1070                                      required:
  1071                                      - key
  1072                                      type: object
  1073                                  type: object
  1074                                bearerTokenSecret:
  1075                                  description: The secret's key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
  1076                                  properties:
  1077                                    key:
  1078                                      description: The key of the secret to select from.  Must be a valid secret key.
  1079                                      type: string
  1080                                    name:
  1081                                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1082                                      type: string
  1083                                    optional:
  1084                                      description: Specify whether the Secret or its key must be defined
  1085                                      type: boolean
  1086                                  required:
  1087                                  - key
  1088                                  type: object
  1089                                proxyURL:
  1090                                  description: Optional proxy URL.
  1091                                  type: string
  1092                                tlsConfig:
  1093                                  description: TLS configuration for the client.
  1094                                  properties:
  1095                                    ca:
  1096                                      description: Struct containing the CA cert to use for the targets.
  1097                                      properties:
  1098                                        configMap:
  1099                                          description: ConfigMap containing data to use for the targets.
  1100                                          properties:
  1101                                            key:
  1102                                              description: The key to select.
  1103                                              type: string
  1104                                            name:
  1105                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1106                                              type: string
  1107                                            optional:
  1108                                              description: Specify whether the ConfigMap or its key must be defined
  1109                                              type: boolean
  1110                                          required:
  1111                                          - key
  1112                                          type: object
  1113                                        secret:
  1114                                          description: Secret containing data to use for the targets.
  1115                                          properties:
  1116                                            key:
  1117                                              description: The key of the secret to select from.  Must be a valid secret key.
  1118                                              type: string
  1119                                            name:
  1120                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1121                                              type: string
  1122                                            optional:
  1123                                              description: Specify whether the Secret or its key must be defined
  1124                                              type: boolean
  1125                                          required:
  1126                                          - key
  1127                                          type: object
  1128                                      type: object
  1129                                    cert:
  1130                                      description: Struct containing the client cert file for the targets.
  1131                                      properties:
  1132                                        configMap:
  1133                                          description: ConfigMap containing data to use for the targets.
  1134                                          properties:
  1135                                            key:
  1136                                              description: The key to select.
  1137                                              type: string
  1138                                            name:
  1139                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1140                                              type: string
  1141                                            optional:
  1142                                              description: Specify whether the ConfigMap or its key must be defined
  1143                                              type: boolean
  1144                                          required:
  1145                                          - key
  1146                                          type: object
  1147                                        secret:
  1148                                          description: Secret containing data to use for the targets.
  1149                                          properties:
  1150                                            key:
  1151                                              description: The key of the secret to select from.  Must be a valid secret key.
  1152                                              type: string
  1153                                            name:
  1154                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1155                                              type: string
  1156                                            optional:
  1157                                              description: Specify whether the Secret or its key must be defined
  1158                                              type: boolean
  1159                                          required:
  1160                                          - key
  1161                                          type: object
  1162                                      type: object
  1163                                    insecureSkipVerify:
  1164                                      description: Disable target certificate validation.
  1165                                      type: boolean
  1166                                    keySecret:
  1167                                      description: Secret containing the client key file for the targets.
  1168                                      properties:
  1169                                        key:
  1170                                          description: The key of the secret to select from.  Must be a valid secret key.
  1171                                          type: string
  1172                                        name:
  1173                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1174                                          type: string
  1175                                        optional:
  1176                                          description: Specify whether the Secret or its key must be defined
  1177                                          type: boolean
  1178                                      required:
  1179                                      - key
  1180                                      type: object
  1181                                    serverName:
  1182                                      description: Used to verify the hostname for the targets.
  1183                                      type: string
  1184                                  type: object
  1185                              type: object
  1186                            iconEmoji:
  1187                              type: string
  1188                            iconURL:
  1189                              type: string
  1190                            imageURL:
  1191                              type: string
  1192                            linkNames:
  1193                              type: boolean
  1194                            mrkdwnIn:
  1195                              items:
  1196                                type: string
  1197                              type: array
  1198                            pretext:
  1199                              type: string
  1200                            sendResolved:
  1201                              description: Whether or not to notify about resolved alerts.
  1202                              type: boolean
  1203                            shortFields:
  1204                              type: boolean
  1205                            text:
  1206                              type: string
  1207                            thumbURL:
  1208                              type: string
  1209                            title:
  1210                              type: string
  1211                            titleLink:
  1212                              type: string
  1213                            username:
  1214                              type: string
  1215                          type: object
  1216                        type: array
  1217                      victoropsConfigs:
  1218                        description: List of VictorOps configurations.
  1219                        items:
  1220                          description: VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config
  1221                          properties:
  1222                            apiKey:
  1223                              description: The secret's key that contains the API key to use when talking to the VictorOps API. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
  1224                              properties:
  1225                                key:
  1226                                  description: The key of the secret to select from.  Must be a valid secret key.
  1227                                  type: string
  1228                                name:
  1229                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1230                                  type: string
  1231                                optional:
  1232                                  description: Specify whether the Secret or its key must be defined
  1233                                  type: boolean
  1234                              required:
  1235                              - key
  1236                              type: object
  1237                            apiUrl:
  1238                              description: The VictorOps API URL.
  1239                              type: string
  1240                            customFields:
  1241                              description: Additional custom fields for notification.
  1242                              items:
  1243                                description: KeyValue defines a (key, value) tuple.
  1244                                properties:
  1245                                  key:
  1246                                    description: Key of the tuple.
  1247                                    minLength: 1
  1248                                    type: string
  1249                                  value:
  1250                                    description: Value of the tuple.
  1251                                    type: string
  1252                                required:
  1253                                - key
  1254                                - value
  1255                                type: object
  1256                              type: array
  1257                            entityDisplayName:
  1258                              description: Contains summary of the alerted problem.
  1259                              type: string
  1260                            httpConfig:
  1261                              description: The HTTP client's configuration.
  1262                              properties:
  1263                                basicAuth:
  1264                                  description: BasicAuth for the client.
  1265                                  properties:
  1266                                    password:
  1267                                      description: The secret in the service monitor namespace that contains the password for authentication.
  1268                                      properties:
  1269                                        key:
  1270                                          description: The key of the secret to select from.  Must be a valid secret key.
  1271                                          type: string
  1272                                        name:
  1273                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1274                                          type: string
  1275                                        optional:
  1276                                          description: Specify whether the Secret or its key must be defined
  1277                                          type: boolean
  1278                                      required:
  1279                                      - key
  1280                                      type: object
  1281                                    username:
  1282                                      description: The secret in the service monitor namespace that contains the username for authentication.
  1283                                      properties:
  1284                                        key:
  1285                                          description: The key of the secret to select from.  Must be a valid secret key.
  1286                                          type: string
  1287                                        name:
  1288                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1289                                          type: string
  1290                                        optional:
  1291                                          description: Specify whether the Secret or its key must be defined
  1292                                          type: boolean
  1293                                      required:
  1294                                      - key
  1295                                      type: object
  1296                                  type: object
  1297                                bearerTokenSecret:
  1298                                  description: The secret's key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
  1299                                  properties:
  1300                                    key:
  1301                                      description: The key of the secret to select from.  Must be a valid secret key.
  1302                                      type: string
  1303                                    name:
  1304                                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1305                                      type: string
  1306                                    optional:
  1307                                      description: Specify whether the Secret or its key must be defined
  1308                                      type: boolean
  1309                                  required:
  1310                                  - key
  1311                                  type: object
  1312                                proxyURL:
  1313                                  description: Optional proxy URL.
  1314                                  type: string
  1315                                tlsConfig:
  1316                                  description: TLS configuration for the client.
  1317                                  properties:
  1318                                    ca:
  1319                                      description: Struct containing the CA cert to use for the targets.
  1320                                      properties:
  1321                                        configMap:
  1322                                          description: ConfigMap containing data to use for the targets.
  1323                                          properties:
  1324                                            key:
  1325                                              description: The key to select.
  1326                                              type: string
  1327                                            name:
  1328                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1329                                              type: string
  1330                                            optional:
  1331                                              description: Specify whether the ConfigMap or its key must be defined
  1332                                              type: boolean
  1333                                          required:
  1334                                          - key
  1335                                          type: object
  1336                                        secret:
  1337                                          description: Secret containing data to use for the targets.
  1338                                          properties:
  1339                                            key:
  1340                                              description: The key of the secret to select from.  Must be a valid secret key.
  1341                                              type: string
  1342                                            name:
  1343                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1344                                              type: string
  1345                                            optional:
  1346                                              description: Specify whether the Secret or its key must be defined
  1347                                              type: boolean
  1348                                          required:
  1349                                          - key
  1350                                          type: object
  1351                                      type: object
  1352                                    cert:
  1353                                      description: Struct containing the client cert file for the targets.
  1354                                      properties:
  1355                                        configMap:
  1356                                          description: ConfigMap containing data to use for the targets.
  1357                                          properties:
  1358                                            key:
  1359                                              description: The key to select.
  1360                                              type: string
  1361                                            name:
  1362                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1363                                              type: string
  1364                                            optional:
  1365                                              description: Specify whether the ConfigMap or its key must be defined
  1366                                              type: boolean
  1367                                          required:
  1368                                          - key
  1369                                          type: object
  1370                                        secret:
  1371                                          description: Secret containing data to use for the targets.
  1372                                          properties:
  1373                                            key:
  1374                                              description: The key of the secret to select from.  Must 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 TODO: Add other useful fields. apiVersion, kind, uid?'
  1378                                              type: string
  1379                                            optional:
  1380                                              description: Specify whether the Secret or its key must be defined
  1381                                              type: boolean
  1382                                          required:
  1383                                          - key
  1384                                          type: object
  1385                                      type: object
  1386                                    insecureSkipVerify:
  1387                                      description: Disable target certificate validation.
  1388                                      type: boolean
  1389                                    keySecret:
  1390                                      description: Secret containing the client key file for the targets.
  1391                                      properties:
  1392                                        key:
  1393                                          description: The key of the secret to select from.  Must be a valid secret key.
  1394                                          type: string
  1395                                        name:
  1396                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1397                                          type: string
  1398                                        optional:
  1399                                          description: Specify whether the Secret or its key must be defined
  1400                                          type: boolean
  1401                                      required:
  1402                                      - key
  1403                                      type: object
  1404                                    serverName:
  1405                                      description: Used to verify the hostname for the targets.
  1406                                      type: string
  1407                                  type: object
  1408                              type: object
  1409                            messageType:
  1410                              description: Describes the behavior of the alert (CRITICAL, WARNING, INFO).
  1411                              type: string
  1412                            monitoringTool:
  1413                              description: The monitoring tool the state message is from.
  1414                              type: string
  1415                            routingKey:
  1416                              description: A key used to map the alert to a team.
  1417                              type: string
  1418                            sendResolved:
  1419                              description: Whether or not to notify about resolved alerts.
  1420                              type: boolean
  1421                            stateMessage:
  1422                              description: Contains long explanation of the alerted problem.
  1423                              type: string
  1424                          type: object
  1425                        type: array
  1426                      webhookConfigs:
  1427                        description: List of webhook configurations.
  1428                        items:
  1429                          description: WebhookConfig configures notifications via a generic receiver supporting the webhook payload. See https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
  1430                          properties:
  1431                            httpConfig:
  1432                              description: HTTP client configuration.
  1433                              properties:
  1434                                basicAuth:
  1435                                  description: BasicAuth for the client.
  1436                                  properties:
  1437                                    password:
  1438                                      description: The secret in the service monitor namespace that contains the password for authentication.
  1439                                      properties:
  1440                                        key:
  1441                                          description: The key of the secret to select from.  Must be a valid secret key.
  1442                                          type: string
  1443                                        name:
  1444                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1445                                          type: string
  1446                                        optional:
  1447                                          description: Specify whether the Secret or its key must be defined
  1448                                          type: boolean
  1449                                      required:
  1450                                      - key
  1451                                      type: object
  1452                                    username:
  1453                                      description: The secret in the service monitor namespace that contains the username for authentication.
  1454                                      properties:
  1455                                        key:
  1456                                          description: The key of the secret to select from.  Must be a valid secret key.
  1457                                          type: string
  1458                                        name:
  1459                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1460                                          type: string
  1461                                        optional:
  1462                                          description: Specify whether the Secret or its key must be defined
  1463                                          type: boolean
  1464                                      required:
  1465                                      - key
  1466                                      type: object
  1467                                  type: object
  1468                                bearerTokenSecret:
  1469                                  description: The secret's key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
  1470                                  properties:
  1471                                    key:
  1472                                      description: The key of the secret to select from.  Must be a valid secret key.
  1473                                      type: string
  1474                                    name:
  1475                                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1476                                      type: string
  1477                                    optional:
  1478                                      description: Specify whether the Secret or its key must be defined
  1479                                      type: boolean
  1480                                  required:
  1481                                  - key
  1482                                  type: object
  1483                                proxyURL:
  1484                                  description: Optional proxy URL.
  1485                                  type: string
  1486                                tlsConfig:
  1487                                  description: TLS configuration for the client.
  1488                                  properties:
  1489                                    ca:
  1490                                      description: Struct containing the CA cert to use for the targets.
  1491                                      properties:
  1492                                        configMap:
  1493                                          description: ConfigMap containing data to use for the targets.
  1494                                          properties:
  1495                                            key:
  1496                                              description: The key to select.
  1497                                              type: string
  1498                                            name:
  1499                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1500                                              type: string
  1501                                            optional:
  1502                                              description: Specify whether the ConfigMap or its key must be defined
  1503                                              type: boolean
  1504                                          required:
  1505                                          - key
  1506                                          type: object
  1507                                        secret:
  1508                                          description: Secret containing data to use for the targets.
  1509                                          properties:
  1510                                            key:
  1511                                              description: The key of the secret to select from.  Must be a valid secret key.
  1512                                              type: string
  1513                                            name:
  1514                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1515                                              type: string
  1516                                            optional:
  1517                                              description: Specify whether the Secret or its key must be defined
  1518                                              type: boolean
  1519                                          required:
  1520                                          - key
  1521                                          type: object
  1522                                      type: object
  1523                                    cert:
  1524                                      description: Struct containing the client cert file for the targets.
  1525                                      properties:
  1526                                        configMap:
  1527                                          description: ConfigMap containing data to use for the targets.
  1528                                          properties:
  1529                                            key:
  1530                                              description: The key to select.
  1531                                              type: string
  1532                                            name:
  1533                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1534                                              type: string
  1535                                            optional:
  1536                                              description: Specify whether the ConfigMap or its key must be defined
  1537                                              type: boolean
  1538                                          required:
  1539                                          - key
  1540                                          type: object
  1541                                        secret:
  1542                                          description: Secret containing data to use for the targets.
  1543                                          properties:
  1544                                            key:
  1545                                              description: The key of the secret to select from.  Must be a valid secret key.
  1546                                              type: string
  1547                                            name:
  1548                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1549                                              type: string
  1550                                            optional:
  1551                                              description: Specify whether the Secret or its key must be defined
  1552                                              type: boolean
  1553                                          required:
  1554                                          - key
  1555                                          type: object
  1556                                      type: object
  1557                                    insecureSkipVerify:
  1558                                      description: Disable target certificate validation.
  1559                                      type: boolean
  1560                                    keySecret:
  1561                                      description: Secret containing the client key file for the targets.
  1562                                      properties:
  1563                                        key:
  1564                                          description: The key of the secret to select from.  Must be a valid secret key.
  1565                                          type: string
  1566                                        name:
  1567                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1568                                          type: string
  1569                                        optional:
  1570                                          description: Specify whether the Secret or its key must be defined
  1571                                          type: boolean
  1572                                      required:
  1573                                      - key
  1574                                      type: object
  1575                                    serverName:
  1576                                      description: Used to verify the hostname for the targets.
  1577                                      type: string
  1578                                  type: object
  1579                              type: object
  1580                            maxAlerts:
  1581                              description: Maximum number of alerts to be sent per webhook message. When 0, all alerts are included.
  1582                              format: int32
  1583                              minimum: 0
  1584                              type: integer
  1585                            sendResolved:
  1586                              description: Whether or not to notify about resolved alerts.
  1587                              type: boolean
  1588                            url:
  1589                              description: The URL to send HTTP POST requests to. `urlSecret` takes precedence over `url`. One of `urlSecret` and `url` should be defined.
  1590                              type: string
  1591                            urlSecret:
  1592                              description: The secret's key that contains the webhook URL to send HTTP requests to. `urlSecret` takes precedence over `url`. One of `urlSecret` and `url` should be defined. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
  1593                              properties:
  1594                                key:
  1595                                  description: The key of the secret to select from.  Must be a valid secret key.
  1596                                  type: string
  1597                                name:
  1598                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1599                                  type: string
  1600                                optional:
  1601                                  description: Specify whether the Secret or its key must be defined
  1602                                  type: boolean
  1603                              required:
  1604                              - key
  1605                              type: object
  1606                          type: object
  1607                        type: array
  1608                      wechatConfigs:
  1609                        description: List of WeChat configurations.
  1610                        items:
  1611                          description: WeChatConfig configures notifications via WeChat. See https://prometheus.io/docs/alerting/latest/configuration/#wechat_config
  1612                          properties:
  1613                            agentID:
  1614                              type: string
  1615                            apiSecret:
  1616                              description: The secret's key that contains the WeChat API key. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
  1617                              properties:
  1618                                key:
  1619                                  description: The key of the secret to select from.  Must be a valid secret key.
  1620                                  type: string
  1621                                name:
  1622                                  description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1623                                  type: string
  1624                                optional:
  1625                                  description: Specify whether the Secret or its key must be defined
  1626                                  type: boolean
  1627                              required:
  1628                              - key
  1629                              type: object
  1630                            apiURL:
  1631                              description: The WeChat API URL.
  1632                              type: string
  1633                            corpID:
  1634                              description: The corp id for authentication.
  1635                              type: string
  1636                            httpConfig:
  1637                              description: HTTP client configuration.
  1638                              properties:
  1639                                basicAuth:
  1640                                  description: BasicAuth for the client.
  1641                                  properties:
  1642                                    password:
  1643                                      description: The secret in the service monitor namespace that contains the password for authentication.
  1644                                      properties:
  1645                                        key:
  1646                                          description: The key of the secret to select from.  Must be a valid secret key.
  1647                                          type: string
  1648                                        name:
  1649                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1650                                          type: string
  1651                                        optional:
  1652                                          description: Specify whether the Secret or its key must be defined
  1653                                          type: boolean
  1654                                      required:
  1655                                      - key
  1656                                      type: object
  1657                                    username:
  1658                                      description: The secret in the service monitor namespace that contains the username for authentication.
  1659                                      properties:
  1660                                        key:
  1661                                          description: The key of the secret to select from.  Must be a valid secret key.
  1662                                          type: string
  1663                                        name:
  1664                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1665                                          type: string
  1666                                        optional:
  1667                                          description: Specify whether the Secret or its key must be defined
  1668                                          type: boolean
  1669                                      required:
  1670                                      - key
  1671                                      type: object
  1672                                  type: object
  1673                                bearerTokenSecret:
  1674                                  description: The secret's key that contains the bearer token to be used by the client for authentication. The secret needs to be in the same namespace as the AlertmanagerConfig object and accessible by the Prometheus Operator.
  1675                                  properties:
  1676                                    key:
  1677                                      description: The key of the secret to select from.  Must be a valid secret key.
  1678                                      type: string
  1679                                    name:
  1680                                      description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1681                                      type: string
  1682                                    optional:
  1683                                      description: Specify whether the Secret or its key must be defined
  1684                                      type: boolean
  1685                                  required:
  1686                                  - key
  1687                                  type: object
  1688                                proxyURL:
  1689                                  description: Optional proxy URL.
  1690                                  type: string
  1691                                tlsConfig:
  1692                                  description: TLS configuration for the client.
  1693                                  properties:
  1694                                    ca:
  1695                                      description: Struct containing the CA cert to use for the targets.
  1696                                      properties:
  1697                                        configMap:
  1698                                          description: ConfigMap containing data to use for the targets.
  1699                                          properties:
  1700                                            key:
  1701                                              description: The key to select.
  1702                                              type: string
  1703                                            name:
  1704                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1705                                              type: string
  1706                                            optional:
  1707                                              description: Specify whether the ConfigMap or its key must be defined
  1708                                              type: boolean
  1709                                          required:
  1710                                          - key
  1711                                          type: object
  1712                                        secret:
  1713                                          description: Secret containing data to use for the targets.
  1714                                          properties:
  1715                                            key:
  1716                                              description: The key of the secret to select from.  Must be a valid secret key.
  1717                                              type: string
  1718                                            name:
  1719                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1720                                              type: string
  1721                                            optional:
  1722                                              description: Specify whether the Secret or its key must be defined
  1723                                              type: boolean
  1724                                          required:
  1725                                          - key
  1726                                          type: object
  1727                                      type: object
  1728                                    cert:
  1729                                      description: Struct containing the client cert file for the targets.
  1730                                      properties:
  1731                                        configMap:
  1732                                          description: ConfigMap containing data to use for the targets.
  1733                                          properties:
  1734                                            key:
  1735                                              description: The key to select.
  1736                                              type: string
  1737                                            name:
  1738                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1739                                              type: string
  1740                                            optional:
  1741                                              description: Specify whether the ConfigMap or its key must be defined
  1742                                              type: boolean
  1743                                          required:
  1744                                          - key
  1745                                          type: object
  1746                                        secret:
  1747                                          description: Secret containing data to use for the targets.
  1748                                          properties:
  1749                                            key:
  1750                                              description: The key of the secret to select from.  Must be a valid secret key.
  1751                                              type: string
  1752                                            name:
  1753                                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1754                                              type: string
  1755                                            optional:
  1756                                              description: Specify whether the Secret or its key must be defined
  1757                                              type: boolean
  1758                                          required:
  1759                                          - key
  1760                                          type: object
  1761                                      type: object
  1762                                    insecureSkipVerify:
  1763                                      description: Disable target certificate validation.
  1764                                      type: boolean
  1765                                    keySecret:
  1766                                      description: Secret containing the client key file for the targets.
  1767                                      properties:
  1768                                        key:
  1769                                          description: The key of the secret to select from.  Must be a valid secret key.
  1770                                          type: string
  1771                                        name:
  1772                                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
  1773                                          type: string
  1774                                        optional:
  1775                                          description: Specify whether the Secret or its key must be defined
  1776                                          type: boolean
  1777                                      required:
  1778                                      - key
  1779                                      type: object
  1780                                    serverName:
  1781                                      description: Used to verify the hostname for the targets.
  1782                                      type: string
  1783                                  type: object
  1784                              type: object
  1785                            message:
  1786                              description: API request data as defined by the WeChat API.
  1787                              type: string
  1788                            messageType:
  1789                              type: string
  1790                            sendResolved:
  1791                              description: Whether or not to notify about resolved alerts.
  1792                              type: boolean
  1793                            toParty:
  1794                              type: string
  1795                            toTag:
  1796                              type: string
  1797                            toUser:
  1798                              type: string
  1799                          type: object
  1800                        type: array
  1801                    required:
  1802                    - name
  1803                    type: object
  1804                  type: array
  1805                route:
  1806                  description: The Alertmanager route definition for alerts matching the resource’s namespace. If present, it will be added to the generated Alertmanager configuration as a first-level route.
  1807                  properties:
  1808                    continue:
  1809                      description: Boolean indicating whether an alert should continue matching subsequent sibling nodes. It will always be overridden to true for the first-level route by the Prometheus operator.
  1810                      type: boolean
  1811                    groupBy:
  1812                      description: List of labels to group by.
  1813                      items:
  1814                        type: string
  1815                      type: array
  1816                    groupInterval:
  1817                      description: How long to wait before sending an updated notification. Must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).
  1818                      type: string
  1819                    groupWait:
  1820                      description: How long to wait before sending the initial notification. Must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).
  1821                      type: string
  1822                    matchers:
  1823                      description: 'List of matchers that the alert’s labels should match. For the first level route, the operator removes any existing equality and regexp matcher on the `namespace` label and adds a `namespace: <object namespace>` matcher.'
  1824                      items:
  1825                        description: Matcher defines how to match on alert's labels.
  1826                        properties:
  1827                          name:
  1828                            description: Label to match.
  1829                            minLength: 1
  1830                            type: string
  1831                          regex:
  1832                            description: Whether to match on equality (false) or regular-expression (true).
  1833                            type: boolean
  1834                          value:
  1835                            description: Label value to match.
  1836                            type: string
  1837                        required:
  1838                        - name
  1839                        type: object
  1840                      type: array
  1841                    receiver:
  1842                      description: Name of the receiver for this route. If not empty, it should be listed in the `receivers` field.
  1843                      type: string
  1844                    repeatInterval:
  1845                      description: How long to wait before repeating the last notification. Must match the regular expression `[0-9]+(ms|s|m|h)` (milliseconds seconds minutes hours).
  1846                      type: string
  1847                    routes:
  1848                      description: Child routes.
  1849                      items:
  1850                        x-kubernetes-preserve-unknown-fields: true
  1851                      type: array
  1852                  type: object
  1853              type: object
  1854          required:
  1855          - spec
  1856          type: object
  1857      served: true
  1858      storage: true
  1859  status:
  1860    acceptedNames:
  1861      kind: ""
  1862      plural: ""
  1863    conditions: []
  1864    storedVersions: []