Skip to content

monitoring.v1alpha1.alertmanagerConfig

"AlertmanagerConfig configures the Prometheus Alertmanager,\nspecifying how alerts should be grouped, inhibited and notified to external systems."

Index

Fields

fn new

new(name)

new returns an instance of AlertmanagerConfig

obj metadata

"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."

fn metadata.withAnnotations

withAnnotations(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

fn metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"

Note: This function appends passed data to existing values

fn metadata.withClusterName

withClusterName(clusterName)

"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."

fn metadata.withCreationTimestamp

withCreationTimestamp(creationTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withDeletionGracePeriodSeconds

withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)

"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."

fn metadata.withDeletionTimestamp

withDeletionTimestamp(deletionTimestamp)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn metadata.withFinalizers

withFinalizers(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

fn metadata.withFinalizersMixin

withFinalizersMixin(finalizers)

"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."

Note: This function appends passed data to existing values

fn metadata.withGenerateName

withGenerateName(generateName)

"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"

fn metadata.withGeneration

withGeneration(generation)

"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."

fn metadata.withLabels

withLabels(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

fn metadata.withLabelsMixin

withLabelsMixin(labels)

"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"

Note: This function appends passed data to existing values

fn metadata.withName

withName(name)

"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"

fn metadata.withNamespace

withNamespace(namespace)

"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"

fn metadata.withOwnerReferences

withOwnerReferences(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

fn metadata.withOwnerReferencesMixin

withOwnerReferencesMixin(ownerReferences)

"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."

Note: This function appends passed data to existing values

fn metadata.withResourceVersion

withResourceVersion(resourceVersion)

"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"

withSelfLink(selfLink)

"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."

fn metadata.withUid

withUid(uid)

"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"

obj spec

"AlertmanagerConfigSpec is a specification of the desired behavior of the\nAlertmanager configuration.\nBy default, the Alertmanager configuration only applies to alerts for which\nthe namespace label is equal to the namespace of the AlertmanagerConfig\nresource (see the .spec.alertmanagerConfigMatcherStrategy field of the\nAlertmanager CRD)."

fn spec.withInhibitRules

withInhibitRules(inhibitRules)

"List of inhibition rules. The rules will only apply to alerts matching\nthe resource's namespace."

fn spec.withInhibitRulesMixin

withInhibitRulesMixin(inhibitRules)

"List of inhibition rules. The rules will only apply to alerts matching\nthe resource's namespace."

Note: This function appends passed data to existing values

fn spec.withMuteTimeIntervals

withMuteTimeIntervals(muteTimeIntervals)

"List of MuteTimeInterval specifying when the routes should be muted."

fn spec.withMuteTimeIntervalsMixin

withMuteTimeIntervalsMixin(muteTimeIntervals)

"List of MuteTimeInterval specifying when the routes should be muted."

Note: This function appends passed data to existing values

fn spec.withReceivers

withReceivers(receivers)

"List of receivers."

fn spec.withReceiversMixin

withReceiversMixin(receivers)

"List of receivers."

Note: This function appends passed data to existing values

obj spec.inhibitRules

"List of inhibition rules. The rules will only apply to alerts matching\nthe resource's namespace."

fn spec.inhibitRules.withEqual

withEqual(equal)

"Labels that must have an equal value in the source and target alert for\nthe inhibition to take effect."

fn spec.inhibitRules.withEqualMixin

withEqualMixin(equal)

"Labels that must have an equal value in the source and target alert for\nthe inhibition to take effect."

Note: This function appends passed data to existing values

fn spec.inhibitRules.withSourceMatch

withSourceMatch(sourceMatch)

"Matchers for which one or more alerts have to exist for the inhibition\nto take effect. The operator enforces that the alert matches the\nresource's namespace."

fn spec.inhibitRules.withSourceMatchMixin

withSourceMatchMixin(sourceMatch)

"Matchers for which one or more alerts have to exist for the inhibition\nto take effect. The operator enforces that the alert matches the\nresource's namespace."

Note: This function appends passed data to existing values

fn spec.inhibitRules.withTargetMatch

withTargetMatch(targetMatch)

"Matchers that have to be fulfilled in the alerts to be muted. The\noperator enforces that the alert matches the resource's namespace."

fn spec.inhibitRules.withTargetMatchMixin

withTargetMatchMixin(targetMatch)

"Matchers that have to be fulfilled in the alerts to be muted. The\noperator enforces that the alert matches the resource's namespace."

Note: This function appends passed data to existing values

obj spec.inhibitRules.sourceMatch

"Matchers for which one or more alerts have to exist for the inhibition\nto take effect. The operator enforces that the alert matches the\nresource's namespace."

fn spec.inhibitRules.sourceMatch.withMatchType

withMatchType(matchType)

"Match operation available with AlertManager >= v0.22.0 and\ntakes precedence over Regex (deprecated) if non-empty."

fn spec.inhibitRules.sourceMatch.withName

withName(name)

"Label to match."

fn spec.inhibitRules.sourceMatch.withRegex

withRegex(regex)

"Whether to match on equality (false) or regular-expression (true).\nDeprecated: for AlertManager >= v0.22.0, matchType should be used instead."

fn spec.inhibitRules.sourceMatch.withValue

withValue(value)

"Label value to match."

obj spec.inhibitRules.targetMatch

"Matchers that have to be fulfilled in the alerts to be muted. The\noperator enforces that the alert matches the resource's namespace."

fn spec.inhibitRules.targetMatch.withMatchType

withMatchType(matchType)

"Match operation available with AlertManager >= v0.22.0 and\ntakes precedence over Regex (deprecated) if non-empty."

fn spec.inhibitRules.targetMatch.withName

withName(name)

"Label to match."

fn spec.inhibitRules.targetMatch.withRegex

withRegex(regex)

"Whether to match on equality (false) or regular-expression (true).\nDeprecated: for AlertManager >= v0.22.0, matchType should be used instead."

fn spec.inhibitRules.targetMatch.withValue

withValue(value)

"Label value to match."

obj spec.muteTimeIntervals

"List of MuteTimeInterval specifying when the routes should be muted."

fn spec.muteTimeIntervals.withName

withName(name)

"Name of the time interval"

fn spec.muteTimeIntervals.withTimeIntervals

withTimeIntervals(timeIntervals)

"TimeIntervals is a list of TimeInterval"

fn spec.muteTimeIntervals.withTimeIntervalsMixin

withTimeIntervalsMixin(timeIntervals)

"TimeIntervals is a list of TimeInterval"

Note: This function appends passed data to existing values

obj spec.muteTimeIntervals.timeIntervals

"TimeIntervals is a list of TimeInterval"

fn spec.muteTimeIntervals.timeIntervals.withDaysOfMonth

withDaysOfMonth(daysOfMonth)

"DaysOfMonth is a list of DayOfMonthRange"

fn spec.muteTimeIntervals.timeIntervals.withDaysOfMonthMixin

withDaysOfMonthMixin(daysOfMonth)

"DaysOfMonth is a list of DayOfMonthRange"

Note: This function appends passed data to existing values

fn spec.muteTimeIntervals.timeIntervals.withMonths

withMonths(months)

"Months is a list of MonthRange"

fn spec.muteTimeIntervals.timeIntervals.withMonthsMixin

withMonthsMixin(months)

"Months is a list of MonthRange"

Note: This function appends passed data to existing values

fn spec.muteTimeIntervals.timeIntervals.withTimes

withTimes(times)

"Times is a list of TimeRange"

fn spec.muteTimeIntervals.timeIntervals.withTimesMixin

withTimesMixin(times)

"Times is a list of TimeRange"

Note: This function appends passed data to existing values

fn spec.muteTimeIntervals.timeIntervals.withWeekdays

withWeekdays(weekdays)

"Weekdays is a list of WeekdayRange"

fn spec.muteTimeIntervals.timeIntervals.withWeekdaysMixin

withWeekdaysMixin(weekdays)

"Weekdays is a list of WeekdayRange"

Note: This function appends passed data to existing values

fn spec.muteTimeIntervals.timeIntervals.withYears

withYears(years)

"Years is a list of YearRange"

fn spec.muteTimeIntervals.timeIntervals.withYearsMixin

withYearsMixin(years)

"Years is a list of YearRange"

Note: This function appends passed data to existing values

obj spec.muteTimeIntervals.timeIntervals.daysOfMonth

"DaysOfMonth is a list of DayOfMonthRange"

fn spec.muteTimeIntervals.timeIntervals.daysOfMonth.withEnd

withEnd(end)

"End of the inclusive range"

fn spec.muteTimeIntervals.timeIntervals.daysOfMonth.withStart

withStart(start)

"Start of the inclusive range"

obj spec.muteTimeIntervals.timeIntervals.times

"Times is a list of TimeRange"

fn spec.muteTimeIntervals.timeIntervals.times.withEndTime

withEndTime(endTime)

"EndTime is the end time in 24hr format."

fn spec.muteTimeIntervals.timeIntervals.times.withStartTime

withStartTime(startTime)

"StartTime is the start time in 24hr format."

obj spec.receivers

"List of receivers."

fn spec.receivers.withDiscordConfigs

withDiscordConfigs(discordConfigs)

"List of Discord configurations."

fn spec.receivers.withDiscordConfigsMixin

withDiscordConfigsMixin(discordConfigs)

"List of Discord configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withEmailConfigs

withEmailConfigs(emailConfigs)

"List of Email configurations."

fn spec.receivers.withEmailConfigsMixin

withEmailConfigsMixin(emailConfigs)

"List of Email configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withMsteamsConfigs

withMsteamsConfigs(msteamsConfigs)

"List of MSTeams configurations.\nIt requires Alertmanager >= 0.26.0."

fn spec.receivers.withMsteamsConfigsMixin

withMsteamsConfigsMixin(msteamsConfigs)

"List of MSTeams configurations.\nIt requires Alertmanager >= 0.26.0."

Note: This function appends passed data to existing values

fn spec.receivers.withName

withName(name)

"Name of the receiver. Must be unique across all items from the list."

fn spec.receivers.withOpsgenieConfigs

withOpsgenieConfigs(opsgenieConfigs)

"List of OpsGenie configurations."

fn spec.receivers.withOpsgenieConfigsMixin

withOpsgenieConfigsMixin(opsgenieConfigs)

"List of OpsGenie configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withPagerdutyConfigs

withPagerdutyConfigs(pagerdutyConfigs)

"List of PagerDuty configurations."

fn spec.receivers.withPagerdutyConfigsMixin

withPagerdutyConfigsMixin(pagerdutyConfigs)

"List of PagerDuty configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withPushoverConfigs

withPushoverConfigs(pushoverConfigs)

"List of Pushover configurations."

fn spec.receivers.withPushoverConfigsMixin

withPushoverConfigsMixin(pushoverConfigs)

"List of Pushover configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withSlackConfigs

withSlackConfigs(slackConfigs)

"List of Slack configurations."

fn spec.receivers.withSlackConfigsMixin

withSlackConfigsMixin(slackConfigs)

"List of Slack configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withSnsConfigs

withSnsConfigs(snsConfigs)

"List of SNS configurations"

fn spec.receivers.withSnsConfigsMixin

withSnsConfigsMixin(snsConfigs)

"List of SNS configurations"

Note: This function appends passed data to existing values

fn spec.receivers.withTelegramConfigs

withTelegramConfigs(telegramConfigs)

"List of Telegram configurations."

fn spec.receivers.withTelegramConfigsMixin

withTelegramConfigsMixin(telegramConfigs)

"List of Telegram configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withVictoropsConfigs

withVictoropsConfigs(victoropsConfigs)

"List of VictorOps configurations."

fn spec.receivers.withVictoropsConfigsMixin

withVictoropsConfigsMixin(victoropsConfigs)

"List of VictorOps configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withWebexConfigs

withWebexConfigs(webexConfigs)

"List of Webex configurations."

fn spec.receivers.withWebexConfigsMixin

withWebexConfigsMixin(webexConfigs)

"List of Webex configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withWebhookConfigs

withWebhookConfigs(webhookConfigs)

"List of webhook configurations."

fn spec.receivers.withWebhookConfigsMixin

withWebhookConfigsMixin(webhookConfigs)

"List of webhook configurations."

Note: This function appends passed data to existing values

fn spec.receivers.withWechatConfigs

withWechatConfigs(wechatConfigs)

"List of WeChat configurations."

fn spec.receivers.withWechatConfigsMixin

withWechatConfigsMixin(wechatConfigs)

"List of WeChat configurations."

Note: This function appends passed data to existing values

obj spec.receivers.discordConfigs

"List of Discord configurations."

fn spec.receivers.discordConfigs.withMessage

withMessage(message)

"The template of the message's body."

fn spec.receivers.discordConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.discordConfigs.withTitle

withTitle(title)

"The template of the message's title."

obj spec.receivers.discordConfigs.apiURL

"The secret's key that contains the Discord webhook URL.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.discordConfigs.apiURL.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.apiURL.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.apiURL.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.discordConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.discordConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.discordConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.discordConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.discordConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.discordConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.discordConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.discordConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.discordConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.discordConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.discordConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.discordConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.discordConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.discordConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.discordConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.discordConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.discordConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.discordConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.discordConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.discordConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.discordConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.discordConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.discordConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.discordConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.discordConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.discordConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.discordConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.emailConfigs

"List of Email configurations."

fn spec.receivers.emailConfigs.withAuthIdentity

withAuthIdentity(authIdentity)

"The identity to use for authentication."

fn spec.receivers.emailConfigs.withAuthUsername

withAuthUsername(authUsername)

"The username to use for authentication."

fn spec.receivers.emailConfigs.withFrom

withFrom(from)

"The sender address."

fn spec.receivers.emailConfigs.withHeaders

withHeaders(headers)

"Further headers email header key/value pairs. Overrides any headers\npreviously set by the notification implementation."

fn spec.receivers.emailConfigs.withHeadersMixin

withHeadersMixin(headers)

"Further headers email header key/value pairs. Overrides any headers\npreviously set by the notification implementation."

Note: This function appends passed data to existing values

fn spec.receivers.emailConfigs.withHello

withHello(hello)

"The hostname to identify to the SMTP server."

fn spec.receivers.emailConfigs.withHtml

withHtml(html)

"The HTML body of the email notification."

fn spec.receivers.emailConfigs.withRequireTLS

withRequireTLS(requireTLS)

"The SMTP TLS requirement.\nNote that Go does not support unencrypted connections to remote SMTP endpoints."

fn spec.receivers.emailConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.emailConfigs.withSmarthost

withSmarthost(smarthost)

"The SMTP host and port through which emails are sent. E.g. example.com:25"

fn spec.receivers.emailConfigs.withText

withText(text)

"The text body of the email notification."

fn spec.receivers.emailConfigs.withTo

withTo(to)

"The email address to send notifications to."

obj spec.receivers.emailConfigs.authPassword

"The secret's key that contains the password to use for authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.emailConfigs.authPassword.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.emailConfigs.authPassword.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.emailConfigs.authPassword.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.emailConfigs.authSecret

"The secret's key that contains the CRAM-MD5 secret.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.emailConfigs.authSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.emailConfigs.authSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.emailConfigs.authSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.emailConfigs.headers

"Further headers email header key/value pairs. Overrides any headers\npreviously set by the notification implementation."

fn spec.receivers.emailConfigs.headers.withKey

withKey(key)

"Key of the tuple."

fn spec.receivers.emailConfigs.headers.withValue

withValue(value)

"Value of the tuple."

obj spec.receivers.emailConfigs.tlsConfig

"TLS configuration"

fn spec.receivers.emailConfigs.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.emailConfigs.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.emailConfigs.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.emailConfigs.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.emailConfigs.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.emailConfigs.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.emailConfigs.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.emailConfigs.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.emailConfigs.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.emailConfigs.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.emailConfigs.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.emailConfigs.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.emailConfigs.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.emailConfigs.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.emailConfigs.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.emailConfigs.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.emailConfigs.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.emailConfigs.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.emailConfigs.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.emailConfigs.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.emailConfigs.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.emailConfigs.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.emailConfigs.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.emailConfigs.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.emailConfigs.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.emailConfigs.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs

"List of MSTeams configurations.\nIt requires Alertmanager >= 0.26.0."

fn spec.receivers.msteamsConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether to notify about resolved alerts."

fn spec.receivers.msteamsConfigs.withSummary

withSummary(summary)

"Message summary template.\nIt requires Alertmanager >= 0.27.0."

fn spec.receivers.msteamsConfigs.withText

withText(text)

"Message body template."

fn spec.receivers.msteamsConfigs.withTitle

withTitle(title)

"Message title template."

obj spec.receivers.msteamsConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.msteamsConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.msteamsConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.msteamsConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.msteamsConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.msteamsConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.msteamsConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.msteamsConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.msteamsConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.msteamsConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.msteamsConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.msteamsConfigs.webhookUrl

"MSTeams webhook URL."

fn spec.receivers.msteamsConfigs.webhookUrl.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.msteamsConfigs.webhookUrl.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.msteamsConfigs.webhookUrl.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs

"List of OpsGenie configurations."

fn spec.receivers.opsgenieConfigs.withActions

withActions(actions)

"Comma separated list of actions that will be available for the alert."

fn spec.receivers.opsgenieConfigs.withApiURL

withApiURL(apiURL)

"The URL to send OpsGenie API requests to."

fn spec.receivers.opsgenieConfigs.withDescription

withDescription(description)

"Description of the incident."

fn spec.receivers.opsgenieConfigs.withDetails

withDetails(details)

"A set of arbitrary key/value pairs that provide further detail about the incident."

fn spec.receivers.opsgenieConfigs.withDetailsMixin

withDetailsMixin(details)

"A set of arbitrary key/value pairs that provide further detail about the incident."

Note: This function appends passed data to existing values

fn spec.receivers.opsgenieConfigs.withEntity

withEntity(entity)

"Optional field that can be used to specify which domain alert is related to."

fn spec.receivers.opsgenieConfigs.withMessage

withMessage(message)

"Alert text limited to 130 characters."

fn spec.receivers.opsgenieConfigs.withNote

withNote(note)

"Additional alert note."

fn spec.receivers.opsgenieConfigs.withPriority

withPriority(priority)

"Priority level of alert. Possible values are P1, P2, P3, P4, and P5."

fn spec.receivers.opsgenieConfigs.withResponders

withResponders(responders)

"List of responders responsible for notifications."

fn spec.receivers.opsgenieConfigs.withRespondersMixin

withRespondersMixin(responders)

"List of responders responsible for notifications."

Note: This function appends passed data to existing values

fn spec.receivers.opsgenieConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.opsgenieConfigs.withSource

withSource(source)

"Backlink to the sender of the notification."

fn spec.receivers.opsgenieConfigs.withTags

withTags(tags)

"Comma separated list of tags attached to the notifications."

fn spec.receivers.opsgenieConfigs.withUpdateAlerts

withUpdateAlerts(updateAlerts)

"Whether to update message and description of the alert in OpsGenie if it already exists\nBy default, the alert is never updated in OpsGenie, the new message only appears in activity log."

obj spec.receivers.opsgenieConfigs.apiKey

"The secret's key that contains the OpsGenie API key.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.opsgenieConfigs.apiKey.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.apiKey.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.apiKey.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.details

"A set of arbitrary key/value pairs that provide further detail about the incident."

fn spec.receivers.opsgenieConfigs.details.withKey

withKey(key)

"Key of the tuple."

fn spec.receivers.opsgenieConfigs.details.withValue

withValue(value)

"Value of the tuple."

obj spec.receivers.opsgenieConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.opsgenieConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.opsgenieConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.opsgenieConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.opsgenieConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.opsgenieConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.opsgenieConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.opsgenieConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.opsgenieConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.opsgenieConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.opsgenieConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.opsgenieConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.opsgenieConfigs.responders

"List of responders responsible for notifications."

fn spec.receivers.opsgenieConfigs.responders.withId

withId(id)

"ID of the responder."

fn spec.receivers.opsgenieConfigs.responders.withName

withName(name)

"Name of the responder."

fn spec.receivers.opsgenieConfigs.responders.withType

withType(type)

"Type of responder."

fn spec.receivers.opsgenieConfigs.responders.withUsername

withUsername(username)

"Username of the responder."

obj spec.receivers.pagerdutyConfigs

"List of PagerDuty configurations."

fn spec.receivers.pagerdutyConfigs.withClass

withClass(class)

"The class/type of the event."

fn spec.receivers.pagerdutyConfigs.withClient

withClient(client)

"Client identification."

fn spec.receivers.pagerdutyConfigs.withClientURL

withClientURL(clientURL)

"Backlink to the sender of notification."

fn spec.receivers.pagerdutyConfigs.withComponent

withComponent(component)

"The part or component of the affected system that is broken."

fn spec.receivers.pagerdutyConfigs.withDescription

withDescription(description)

"Description of the incident."

fn spec.receivers.pagerdutyConfigs.withDetails

withDetails(details)

"Arbitrary key/value pairs that provide further detail about the incident."

fn spec.receivers.pagerdutyConfigs.withDetailsMixin

withDetailsMixin(details)

"Arbitrary key/value pairs that provide further detail about the incident."

Note: This function appends passed data to existing values

fn spec.receivers.pagerdutyConfigs.withGroup

withGroup(group)

"A cluster or grouping of sources."

fn spec.receivers.pagerdutyConfigs.withPagerDutyImageConfigs

withPagerDutyImageConfigs(pagerDutyImageConfigs)

"A list of image details to attach that provide further detail about an incident."

fn spec.receivers.pagerdutyConfigs.withPagerDutyImageConfigsMixin

withPagerDutyImageConfigsMixin(pagerDutyImageConfigs)

"A list of image details to attach that provide further detail about an incident."

Note: This function appends passed data to existing values

fn spec.receivers.pagerdutyConfigs.withPagerDutyLinkConfigs

withPagerDutyLinkConfigs(pagerDutyLinkConfigs)

"A list of link details to attach that provide further detail about an incident."

fn spec.receivers.pagerdutyConfigs.withPagerDutyLinkConfigsMixin

withPagerDutyLinkConfigsMixin(pagerDutyLinkConfigs)

"A list of link details to attach that provide further detail about an incident."

Note: This function appends passed data to existing values

fn spec.receivers.pagerdutyConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.pagerdutyConfigs.withSeverity

withSeverity(severity)

"Severity of the incident."

fn spec.receivers.pagerdutyConfigs.withSource

withSource(source)

"Unique location of the affected system."

fn spec.receivers.pagerdutyConfigs.withUrl

withUrl(url)

"The URL to send requests to."

obj spec.receivers.pagerdutyConfigs.details

"Arbitrary key/value pairs that provide further detail about the incident."

fn spec.receivers.pagerdutyConfigs.details.withKey

withKey(key)

"Key of the tuple."

fn spec.receivers.pagerdutyConfigs.details.withValue

withValue(value)

"Value of the tuple."

obj spec.receivers.pagerdutyConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.pagerdutyConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.pagerdutyConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.pagerdutyConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.pagerdutyConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.pagerdutyConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.pagerdutyConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.pagerdutyConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.pagerdutyConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.pagerdutyConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.pagerdutyConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.pagerDutyImageConfigs

"A list of image details to attach that provide further detail about an incident."

fn spec.receivers.pagerdutyConfigs.pagerDutyImageConfigs.withAlt

withAlt(alt)

"Alt is the optional alternative text for the image."

fn spec.receivers.pagerdutyConfigs.pagerDutyImageConfigs.withHref

withHref(href)

"Optional URL; makes the image a clickable link."

fn spec.receivers.pagerdutyConfigs.pagerDutyImageConfigs.withSrc

withSrc(src)

"Src of the image being attached to the incident"

obj spec.receivers.pagerdutyConfigs.pagerDutyLinkConfigs

"A list of link details to attach that provide further detail about an incident."

fn spec.receivers.pagerdutyConfigs.pagerDutyLinkConfigs.withAlt

withAlt(alt)

"Text that describes the purpose of the link, and can be used as the link's text."

fn spec.receivers.pagerdutyConfigs.pagerDutyLinkConfigs.withHref

withHref(href)

"Href is the URL of the link to be attached"

obj spec.receivers.pagerdutyConfigs.routingKey

"The secret's key that contains the PagerDuty integration key (when using\nEvents API v2). Either this field or serviceKey needs to be defined.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.pagerdutyConfigs.routingKey.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.routingKey.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.routingKey.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pagerdutyConfigs.serviceKey

"The secret's key that contains the PagerDuty service key (when using\nintegration type \"Prometheus\"). Either this field or routingKey needs to\nbe defined.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.pagerdutyConfigs.serviceKey.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pagerdutyConfigs.serviceKey.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pagerdutyConfigs.serviceKey.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs

"List of Pushover configurations."

fn spec.receivers.pushoverConfigs.withDevice

withDevice(device)

"The name of a device to send the notification to"

fn spec.receivers.pushoverConfigs.withExpire

withExpire(expire)

"How long your notification will continue to be retried for, unless the user\nacknowledges the notification."

fn spec.receivers.pushoverConfigs.withHtml

withHtml(html)

"Whether notification message is HTML or plain text."

fn spec.receivers.pushoverConfigs.withMessage

withMessage(message)

"Notification message."

fn spec.receivers.pushoverConfigs.withPriority

withPriority(priority)

"Priority, see https://pushover.net/api#priority"

fn spec.receivers.pushoverConfigs.withRetry

withRetry(retry)

"How often the Pushover servers will send the same notification to the user.\nMust be at least 30 seconds."

fn spec.receivers.pushoverConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.pushoverConfigs.withSound

withSound(sound)

"The name of one of the sounds supported by device clients to override the user's default sound choice"

fn spec.receivers.pushoverConfigs.withTitle

withTitle(title)

"Notification title."

fn spec.receivers.pushoverConfigs.withTokenFile

withTokenFile(tokenFile)

"The token file that contains the registered application's API token, see https://pushover.net/apps.\nEither token or tokenFile is required.\nIt requires Alertmanager >= v0.26.0."

fn spec.receivers.pushoverConfigs.withTtl

withTtl(ttl)

"The time to live definition for the alert notification"

fn spec.receivers.pushoverConfigs.withUrl

withUrl(url)

"A supplementary URL shown alongside the message."

fn spec.receivers.pushoverConfigs.withUrlTitle

withUrlTitle(urlTitle)

"A title for supplementary URL, otherwise just the URL is shown"

fn spec.receivers.pushoverConfigs.withUserKeyFile

withUserKeyFile(userKeyFile)

"The user key file that contains the recipient user's user key.\nEither userKey or userKeyFile is required.\nIt requires Alertmanager >= v0.26.0."

obj spec.receivers.pushoverConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.pushoverConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.pushoverConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.pushoverConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.pushoverConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.pushoverConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.pushoverConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.pushoverConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.pushoverConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.pushoverConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.pushoverConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.token

"The secret's key that contains the registered application's API token, see https://pushover.net/apps.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.\nEither token or tokenFile is required."

fn spec.receivers.pushoverConfigs.token.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.token.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.token.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.pushoverConfigs.userKey

"The secret's key that contains the recipient user's user key.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.\nEither userKey or userKeyFile is required."

fn spec.receivers.pushoverConfigs.userKey.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.pushoverConfigs.userKey.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.pushoverConfigs.userKey.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs

"List of Slack configurations."

fn spec.receivers.slackConfigs.withActions

withActions(actions)

"A list of Slack actions that are sent with each notification."

fn spec.receivers.slackConfigs.withActionsMixin

withActionsMixin(actions)

"A list of Slack actions that are sent with each notification."

Note: This function appends passed data to existing values

fn spec.receivers.slackConfigs.withCallbackId

withCallbackId(callbackId)

fn spec.receivers.slackConfigs.withChannel

withChannel(channel)

"The channel or user to send notifications to."

fn spec.receivers.slackConfigs.withColor

withColor(color)

fn spec.receivers.slackConfigs.withFallback

withFallback(fallback)

fn spec.receivers.slackConfigs.withFields

withFields(fields)

"A list of Slack fields that are sent with each notification."

fn spec.receivers.slackConfigs.withFieldsMixin

withFieldsMixin(fields)

"A list of Slack fields that are sent with each notification."

Note: This function appends passed data to existing values

fn spec.receivers.slackConfigs.withFooter

withFooter(footer)

fn spec.receivers.slackConfigs.withIconEmoji

withIconEmoji(iconEmoji)

fn spec.receivers.slackConfigs.withIconURL

withIconURL(iconURL)

fn spec.receivers.slackConfigs.withImageURL

withImageURL(imageURL)

fn spec.receivers.slackConfigs.withLinkNames

withLinkNames(linkNames)

fn spec.receivers.slackConfigs.withMrkdwnIn

withMrkdwnIn(mrkdwnIn)

fn spec.receivers.slackConfigs.withMrkdwnInMixin

withMrkdwnInMixin(mrkdwnIn)

Note: This function appends passed data to existing values

fn spec.receivers.slackConfigs.withPretext

withPretext(pretext)

fn spec.receivers.slackConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.slackConfigs.withShortFields

withShortFields(shortFields)

fn spec.receivers.slackConfigs.withText

withText(text)

fn spec.receivers.slackConfigs.withThumbURL

withThumbURL(thumbURL)

fn spec.receivers.slackConfigs.withTitle

withTitle(title)
withTitleLink(titleLink)

fn spec.receivers.slackConfigs.withUsername

withUsername(username)

obj spec.receivers.slackConfigs.actions

"A list of Slack actions that are sent with each notification."

fn spec.receivers.slackConfigs.actions.withName

withName(name)

fn spec.receivers.slackConfigs.actions.withStyle

withStyle(style)

fn spec.receivers.slackConfigs.actions.withText

withText(text)

fn spec.receivers.slackConfigs.actions.withType

withType(type)

fn spec.receivers.slackConfigs.actions.withUrl

withUrl(url)

fn spec.receivers.slackConfigs.actions.withValue

withValue(value)

obj spec.receivers.slackConfigs.actions.confirm

"SlackConfirmationField protect users from destructive actions or\nparticularly distinguished decisions by asking them to confirm their button\nclick one more time.\nSee https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields\nfor more information."

fn spec.receivers.slackConfigs.actions.confirm.withDismissText

withDismissText(dismissText)

fn spec.receivers.slackConfigs.actions.confirm.withOkText

withOkText(okText)

fn spec.receivers.slackConfigs.actions.confirm.withText

withText(text)

fn spec.receivers.slackConfigs.actions.confirm.withTitle

withTitle(title)

obj spec.receivers.slackConfigs.apiURL

"The secret's key that contains the Slack webhook URL.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.slackConfigs.apiURL.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.apiURL.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.apiURL.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.fields

"A list of Slack fields that are sent with each notification."

fn spec.receivers.slackConfigs.fields.withShort

withShort(short)

fn spec.receivers.slackConfigs.fields.withTitle

withTitle(title)

fn spec.receivers.slackConfigs.fields.withValue

withValue(value)

obj spec.receivers.slackConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.slackConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.slackConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.slackConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.slackConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.slackConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.slackConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.slackConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.slackConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.slackConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.slackConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.slackConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.slackConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.slackConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.slackConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.slackConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.slackConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.slackConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.slackConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.slackConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.slackConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.slackConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.slackConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.slackConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.slackConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.slackConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.slackConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.slackConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs

"List of SNS configurations"

fn spec.receivers.snsConfigs.withApiURL

withApiURL(apiURL)

"The SNS API URL i.e. https://sns.us-east-2.amazonaws.com.\nIf not specified, the SNS API URL from the SNS SDK will be used."

fn spec.receivers.snsConfigs.withAttributes

withAttributes(attributes)

"SNS message attributes."

fn spec.receivers.snsConfigs.withAttributesMixin

withAttributesMixin(attributes)

"SNS message attributes."

Note: This function appends passed data to existing values

fn spec.receivers.snsConfigs.withMessage

withMessage(message)

"The message content of the SNS notification."

fn spec.receivers.snsConfigs.withPhoneNumber

withPhoneNumber(phoneNumber)

"Phone number if message is delivered via SMS in E.164 format.\nIf you don't specify this value, you must specify a value for the TopicARN or TargetARN."

fn spec.receivers.snsConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.snsConfigs.withSubject

withSubject(subject)

"Subject line when the message is delivered to email endpoints."

fn spec.receivers.snsConfigs.withTargetARN

withTargetARN(targetARN)

"The mobile platform endpoint ARN if message is delivered via mobile notifications.\nIf you don't specify this value, you must specify a value for the topic_arn or PhoneNumber."

fn spec.receivers.snsConfigs.withTopicARN

withTopicARN(topicARN)

"SNS topic ARN, i.e. arn:aws:sns:us-east-2:698519295917:My-Topic\nIf you don't specify this value, you must specify a value for the PhoneNumber or TargetARN."

obj spec.receivers.snsConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.snsConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.snsConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.snsConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.snsConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.snsConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.snsConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.snsConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.snsConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.snsConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.snsConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.snsConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.snsConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.snsConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.snsConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.snsConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.snsConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.snsConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.snsConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.snsConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.snsConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.snsConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.snsConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.snsConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.snsConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.snsConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.sigv4

"Configures AWS's Signature Verification 4 signing process to sign requests."

fn spec.receivers.snsConfigs.sigv4.withProfile

withProfile(profile)

"Profile is the named AWS profile used to authenticate."

fn spec.receivers.snsConfigs.sigv4.withRegion

withRegion(region)

"Region is the AWS region. If blank, the region from the default credentials chain used."

fn spec.receivers.snsConfigs.sigv4.withRoleArn

withRoleArn(roleArn)

"RoleArn is the named AWS profile used to authenticate."

obj spec.receivers.snsConfigs.sigv4.accessKey

"AccessKey is the AWS API key. If not specified, the environment variable\nAWS_ACCESS_KEY_ID is used."

fn spec.receivers.snsConfigs.sigv4.accessKey.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.sigv4.accessKey.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.sigv4.accessKey.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.snsConfigs.sigv4.secretKey

"SecretKey is the AWS API secret. If not specified, the environment\nvariable AWS_SECRET_ACCESS_KEY is used."

fn spec.receivers.snsConfigs.sigv4.secretKey.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.snsConfigs.sigv4.secretKey.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.snsConfigs.sigv4.secretKey.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs

"List of Telegram configurations."

fn spec.receivers.telegramConfigs.withApiURL

withApiURL(apiURL)

"The Telegram API URL i.e. https://api.telegram.org.\nIf not specified, default API URL will be used."

fn spec.receivers.telegramConfigs.withBotTokenFile

withBotTokenFile(botTokenFile)

"File to read the Telegram bot token from. It is mutually exclusive with botToken.\nEither botToken or botTokenFile is required.\n\n\nIt requires Alertmanager >= v0.26.0."

fn spec.receivers.telegramConfigs.withChatID

withChatID(chatID)

"The Telegram chat ID."

fn spec.receivers.telegramConfigs.withDisableNotifications

withDisableNotifications(disableNotifications)

"Disable telegram notifications"

fn spec.receivers.telegramConfigs.withMessage

withMessage(message)

"Message template"

fn spec.receivers.telegramConfigs.withParseMode

withParseMode(parseMode)

"Parse mode for telegram message"

fn spec.receivers.telegramConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether to notify about resolved alerts."

obj spec.receivers.telegramConfigs.botToken

"Telegram bot token. It is mutually exclusive with botTokenFile.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator.\n\n\nEither botToken or botTokenFile is required."

fn spec.receivers.telegramConfigs.botToken.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.botToken.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.botToken.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.telegramConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.telegramConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.telegramConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.telegramConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.telegramConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.telegramConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.telegramConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.telegramConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.telegramConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.telegramConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.telegramConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.telegramConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.telegramConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.telegramConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.telegramConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs

"List of VictorOps configurations."

fn spec.receivers.victoropsConfigs.withApiUrl

withApiUrl(apiUrl)

"The VictorOps API URL."

fn spec.receivers.victoropsConfigs.withCustomFields

withCustomFields(customFields)

"Additional custom fields for notification."

fn spec.receivers.victoropsConfigs.withCustomFieldsMixin

withCustomFieldsMixin(customFields)

"Additional custom fields for notification."

Note: This function appends passed data to existing values

fn spec.receivers.victoropsConfigs.withEntityDisplayName

withEntityDisplayName(entityDisplayName)

"Contains summary of the alerted problem."

fn spec.receivers.victoropsConfigs.withMessageType

withMessageType(messageType)

"Describes the behavior of the alert (CRITICAL, WARNING, INFO)."

fn spec.receivers.victoropsConfigs.withMonitoringTool

withMonitoringTool(monitoringTool)

"The monitoring tool the state message is from."

fn spec.receivers.victoropsConfigs.withRoutingKey

withRoutingKey(routingKey)

"A key used to map the alert to a team."

fn spec.receivers.victoropsConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.victoropsConfigs.withStateMessage

withStateMessage(stateMessage)

"Contains long explanation of the alerted problem."

obj spec.receivers.victoropsConfigs.apiKey

"The secret's key that contains the API key to use when talking to the VictorOps API.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.victoropsConfigs.apiKey.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.apiKey.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.apiKey.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.customFields

"Additional custom fields for notification."

fn spec.receivers.victoropsConfigs.customFields.withKey

withKey(key)

"Key of the tuple."

fn spec.receivers.victoropsConfigs.customFields.withValue

withValue(value)

"Value of the tuple."

obj spec.receivers.victoropsConfigs.httpConfig

"The HTTP client's configuration."

fn spec.receivers.victoropsConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.victoropsConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.victoropsConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.victoropsConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.victoropsConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.victoropsConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.victoropsConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.victoropsConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.victoropsConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.victoropsConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.victoropsConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.victoropsConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs

"List of Webex configurations."

fn spec.receivers.webexConfigs.withApiURL

withApiURL(apiURL)

"The Webex Teams API URL i.e. https://webexapis.com/v1/messages\nProvide if different from the default API URL."

fn spec.receivers.webexConfigs.withMessage

withMessage(message)

"Message template"

fn spec.receivers.webexConfigs.withRoomID

withRoomID(roomID)

"ID of the Webex Teams room where to send the messages."

fn spec.receivers.webexConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether to notify about resolved alerts."

obj spec.receivers.webexConfigs.httpConfig

"The HTTP client's configuration.\nYou must supply the bot token via the httpConfig.authorization field."

fn spec.receivers.webexConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.webexConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.webexConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.webexConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.webexConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.webexConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.webexConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.webexConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.webexConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.webexConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.webexConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.webexConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.webexConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webexConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webexConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.webexConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webexConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webexConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.webexConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.webexConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.webexConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.webexConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.webexConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.webexConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.webexConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webexConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webexConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs

"List of webhook configurations."

fn spec.receivers.webhookConfigs.withMaxAlerts

withMaxAlerts(maxAlerts)

"Maximum number of alerts to be sent per webhook message. When 0, all alerts are included."

fn spec.receivers.webhookConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.webhookConfigs.withUrl

withUrl(url)

"The URL to send HTTP POST requests to. urlSecret takes precedence over\nurl. One of urlSecret and url should be defined."

obj spec.receivers.webhookConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.webhookConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.webhookConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.webhookConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.webhookConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.webhookConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.webhookConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.webhookConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.webhookConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.webhookConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.webhookConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.webhookConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.webhookConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.webhookConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.webhookConfigs.urlSecret

"The secret's key that contains the webhook URL to send HTTP requests to.\nurlSecret takes precedence over url. One of urlSecret and url\nshould be defined.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.webhookConfigs.urlSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.webhookConfigs.urlSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.webhookConfigs.urlSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs

"List of WeChat configurations."

fn spec.receivers.wechatConfigs.withAgentID

withAgentID(agentID)

fn spec.receivers.wechatConfigs.withApiURL

withApiURL(apiURL)

"The WeChat API URL."

fn spec.receivers.wechatConfigs.withCorpID

withCorpID(corpID)

"The corp id for authentication."

fn spec.receivers.wechatConfigs.withMessage

withMessage(message)

"API request data as defined by the WeChat API."

fn spec.receivers.wechatConfigs.withMessageType

withMessageType(messageType)

fn spec.receivers.wechatConfigs.withSendResolved

withSendResolved(sendResolved)

"Whether or not to notify about resolved alerts."

fn spec.receivers.wechatConfigs.withToParty

withToParty(toParty)

fn spec.receivers.wechatConfigs.withToTag

withToTag(toTag)

fn spec.receivers.wechatConfigs.withToUser

withToUser(toUser)

obj spec.receivers.wechatConfigs.apiSecret

"The secret's key that contains the WeChat API key.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.wechatConfigs.apiSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.apiSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.apiSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig

"HTTP client configuration."

fn spec.receivers.wechatConfigs.httpConfig.withFollowRedirects

withFollowRedirects(followRedirects)

"FollowRedirects specifies whether the client should follow HTTP 3xx redirects."

fn spec.receivers.wechatConfigs.httpConfig.withProxyURL

withProxyURL(proxyURL)

"Optional proxy URL."

obj spec.receivers.wechatConfigs.httpConfig.authorization

"Authorization header configuration for the client.\nThis is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+."

fn spec.receivers.wechatConfigs.httpConfig.authorization.withType

withType(type)

"Defines the authentication type. The value is case-insensitive.\n\n\n\"Basic\" is not a supported value.\n\n\nDefault: \"Bearer\

obj spec.receivers.wechatConfigs.httpConfig.authorization.credentials

"Selects a key of a Secret in the namespace that contains the credentials for authentication."

fn spec.receivers.wechatConfigs.httpConfig.authorization.credentials.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.authorization.credentials.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.authorization.credentials.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.basicAuth

"BasicAuth for the client.\nThis is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence."

obj spec.receivers.wechatConfigs.httpConfig.basicAuth.password

"password specifies a key of a Secret containing the password for\nauthentication."

fn spec.receivers.wechatConfigs.httpConfig.basicAuth.password.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.basicAuth.password.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.basicAuth.password.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.basicAuth.username

"username specifies a key of a Secret containing the username for\nauthentication."

fn spec.receivers.wechatConfigs.httpConfig.basicAuth.username.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.basicAuth.username.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.basicAuth.username.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.bearerTokenSecret

"The secret's key that contains the bearer token to be used by the client\nfor authentication.\nThe secret needs to be in the same namespace as the AlertmanagerConfig\nobject and accessible by the Prometheus Operator."

fn spec.receivers.wechatConfigs.httpConfig.bearerTokenSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.bearerTokenSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.bearerTokenSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.oauth2

"OAuth2 client credentials used to fetch a token for the targets."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withEndpointParams

withEndpointParams(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withEndpointParamsMixin

withEndpointParamsMixin(endpointParams)

"endpointParams configures the HTTP parameters to append to the token\nURL."

Note: This function appends passed data to existing values

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withNoProxy

withNoProxy(noProxy)

"noProxy is a comma-separated string that can contain IPs, CIDR notation, domain names\nthat should be excluded from proxying. IP and domain names can\ncontain port numbers.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withProxyConnectHeader

withProxyConnectHeader(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withProxyConnectHeaderMixin

withProxyConnectHeaderMixin(proxyConnectHeader)

"ProxyConnectHeader optionally specifies headers to send to\nproxies during CONNECT requests.\n\n\nIt requires Prometheus >= v2.43.0."

Note: This function appends passed data to existing values

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withProxyFromEnvironment

withProxyFromEnvironment(proxyFromEnvironment)

"Whether to use the proxy configuration defined by environment variables (HTTP_PROXY, HTTPS_PROXY, and NO_PROXY).\nIf unset, Prometheus uses its default value.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withProxyUrl

withProxyUrl(proxyUrl)

"proxyURL defines the HTTP proxy server to use.\n\n\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withScopes

withScopes(scopes)

"scopes defines the OAuth2 scopes used for the token request."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withScopesMixin

withScopesMixin(scopes)

"scopes defines the OAuth2 scopes used for the token request."

Note: This function appends passed data to existing values

fn spec.receivers.wechatConfigs.httpConfig.oauth2.withTokenUrl

withTokenUrl(tokenUrl)

"tokenURL configures the URL to fetch the token from."

obj spec.receivers.wechatConfigs.httpConfig.oauth2.clientId

"clientId specifies a key of a Secret or ConfigMap containing the\nOAuth2 client's ID."

obj spec.receivers.wechatConfigs.httpConfig.oauth2.clientId.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientId.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientId.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientId.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.oauth2.clientId.secret

"Secret containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientId.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientId.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientId.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.oauth2.clientSecret

"clientSecret specifies a key of a Secret containing the OAuth2\nclient's secret."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientSecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.clientSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig

"TLS configuration to use when connecting to the OAuth2 server.\nIt requires Prometheus >= v2.43.0."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.oauth2.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.tlsConfig

"TLS configuration for the client."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.withInsecureSkipVerify

withInsecureSkipVerify(insecureSkipVerify)

"Disable target certificate validation."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.withMaxVersion

withMaxVersion(maxVersion)

"Maximum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.41.0."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.withMinVersion

withMinVersion(minVersion)

"Minimum acceptable TLS version.\n\n\nIt requires Prometheus >= v2.35.0."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.withServerName

withServerName(serverName)

"Used to verify the hostname for the targets."

obj spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca

"Certificate authority used when verifying server certificates."

obj spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca.secret

"Secret containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.ca.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert

"Client certificate to present when doing client-authentication."

obj spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert.configMap

"ConfigMap containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert.configMap.withKey

withKey(key)

"The key to select."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert.configMap.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert.configMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert.secret

"Secret containing data to use for the targets."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert.secret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert.secret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.cert.secret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.receivers.wechatConfigs.httpConfig.tlsConfig.keySecret

"Secret containing the client key file for the targets."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.keySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.keySecret.withName

withName(name)

"Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop kubebuilder:default when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."

fn spec.receivers.wechatConfigs.httpConfig.tlsConfig.keySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj spec.route

"The Alertmanager route definition for alerts matching the resource's\nnamespace. If present, it will be added to the generated Alertmanager\nconfiguration as a first-level route."

fn spec.route.withActiveTimeIntervals

withActiveTimeIntervals(activeTimeIntervals)

"ActiveTimeIntervals is a list of MuteTimeInterval names when this route should be active."

fn spec.route.withActiveTimeIntervalsMixin

withActiveTimeIntervalsMixin(activeTimeIntervals)

"ActiveTimeIntervals is a list of MuteTimeInterval names when this route should be active."

Note: This function appends passed data to existing values

fn spec.route.withContinue

withContinue(continue)

"Boolean indicating whether an alert should continue matching subsequent\nsibling nodes. It will always be overridden to true for the first-level\nroute by the Prometheus operator."

fn spec.route.withGroupBy

withGroupBy(groupBy)

"List of labels to group by.\nLabels must not be repeated (unique list).\nSpecial label \"...\" (aggregate by all possible labels), if provided, must be the only element in the list."

fn spec.route.withGroupByMixin

withGroupByMixin(groupBy)

"List of labels to group by.\nLabels must not be repeated (unique list).\nSpecial label \"...\" (aggregate by all possible labels), if provided, must be the only element in the list."

Note: This function appends passed data to existing values

fn spec.route.withGroupInterval

withGroupInterval(groupInterval)

"How long to wait before sending an updated notification.\nMust match the regular expression^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$\nExample: \"5m\

fn spec.route.withGroupWait

withGroupWait(groupWait)

"How long to wait before sending the initial notification.\nMust match the regular expression^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$\nExample: \"30s\

fn spec.route.withMatchers

withMatchers(matchers)

"List of matchers that the alert's labels should match. For the first\nlevel route, the operator removes any existing equality and regexp\nmatcher on the namespace label and adds a namespace: <object\nnamespace> matcher."

fn spec.route.withMatchersMixin

withMatchersMixin(matchers)

"List of matchers that the alert's labels should match. For the first\nlevel route, the operator removes any existing equality and regexp\nmatcher on the namespace label and adds a namespace: <object\nnamespace> matcher."

Note: This function appends passed data to existing values

fn spec.route.withMuteTimeIntervals

withMuteTimeIntervals(muteTimeIntervals)

"Note: this comment applies to the field definition above but appears\nbelow otherwise it gets included in the generated manifest.\nCRD schema doesn't support self-referential types for now (see\nhttps://github.com/kubernetes/kubernetes/issues/62872). We have to use\nan alternative type to circumvent the limitation. The downside is that\nthe Kube API can't validate the data beyond the fact that it is a valid\nJSON representation.\nMuteTimeIntervals is a list of MuteTimeInterval names that will mute this route when matched,"

fn spec.route.withMuteTimeIntervalsMixin

withMuteTimeIntervalsMixin(muteTimeIntervals)

"Note: this comment applies to the field definition above but appears\nbelow otherwise it gets included in the generated manifest.\nCRD schema doesn't support self-referential types for now (see\nhttps://github.com/kubernetes/kubernetes/issues/62872). We have to use\nan alternative type to circumvent the limitation. The downside is that\nthe Kube API can't validate the data beyond the fact that it is a valid\nJSON representation.\nMuteTimeIntervals is a list of MuteTimeInterval names that will mute this route when matched,"

Note: This function appends passed data to existing values

fn spec.route.withReceiver

withReceiver(receiver)

"Name of the receiver for this route. If not empty, it should be listed in\nthe receivers field."

fn spec.route.withRepeatInterval

withRepeatInterval(repeatInterval)

"How long to wait before repeating the last notification.\nMust match the regular expression^(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?$\nExample: \"4h\

fn spec.route.withRoutes

withRoutes(routes)

"Child routes."

fn spec.route.withRoutesMixin

withRoutesMixin(routes)

"Child routes."

Note: This function appends passed data to existing values

obj spec.route.matchers

"List of matchers that the alert's labels should match. For the first\nlevel route, the operator removes any existing equality and regexp\nmatcher on the namespace label and adds a namespace: <object\nnamespace> matcher."

fn spec.route.matchers.withMatchType

withMatchType(matchType)

"Match operation available with AlertManager >= v0.22.0 and\ntakes precedence over Regex (deprecated) if non-empty."

fn spec.route.matchers.withName

withName(name)

"Label to match."

fn spec.route.matchers.withRegex

withRegex(regex)

"Whether to match on equality (false) or regular-expression (true).\nDeprecated: for AlertManager >= v0.22.0, matchType should be used instead."

fn spec.route.matchers.withValue

withValue(value)

"Label value to match."