Skip to content

Commit

Permalink
feat: Bump PO to v0.66.0 (#319)
Browse files Browse the repository at this point in the history
* feat: bump up PO to 0.66.0-rhobs1

* fix: change CustomForeverTestTimeout to 40seconds

Signed-off-by: Mario Fernandez <mariofer@redhat.com>

* fix: delete go.mod dead code

Signed-off-by: Mario Fernandez <mariofer@redhat.com>

* fix: change poll time in multi ns test

Signed-off-by: Mario Fernandez <mariofer@redhat.com>

* chore: go mod tidy

Signed-off-by: Mario Fernandez <mariofer@redhat.com>

* fix: remove duplication

Signed-off-by: Mario Fernandez <mariofer@redhat.com>

---------

Signed-off-by: Mario Fernandez <mariofer@redhat.com>
Co-authored-by: Sunil Thaha <sthaha@redhat.com>
  • Loading branch information
marioferh and sthaha authored Aug 8, 2023
1 parent f4f9309 commit 5e42a1d
Show file tree
Hide file tree
Showing 21 changed files with 656 additions and 227 deletions.
4 changes: 4 additions & 0 deletions bundle/manifests/monitoring.rhobs_alertmanagers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,8 @@ spec:
- key
type: object
x-kubernetes-map-type: atomic
pagerdutyUrl:
type: string
resolveTimeout:
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
type: string
Expand Down Expand Up @@ -749,6 +751,8 @@ spec:
type: object
type: array
type: object
automountServiceAccountToken:
type: boolean
baseImage:
type: string
clusterAdvertiseAddress:
Expand Down
68 changes: 42 additions & 26 deletions bundle/manifests/monitoring.rhobs_monitoringstacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ spec:
compute resources required. If Requests is omitted for
a container, it defaults to Limits if that is explicitly
specified, otherwise to an implementation-defined value.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
selector:
Expand Down Expand Up @@ -331,7 +331,9 @@ spec:
samples from Prometheus to a remote endpoint.
properties:
authorization:
description: Authorization section for remote write
description: "Authorization section for the URL. \n It requires
Prometheus >= v2.26.0. \n Cannot be set at the same time
as `sigv4`, `basicAuth`, or `oauth2`."
properties:
credentials:
description: The secret's key that contains the credentials
Expand Down Expand Up @@ -364,7 +366,9 @@ spec:
type: string
type: object
basicAuth:
description: BasicAuth for the URL.
description: "BasicAuth configuration for the URL. \n Cannot
be set at the same time as `sigv4`, `authorization`, or
`oauth2`."
properties:
password:
description: The secret in the service monitor namespace
Expand Down Expand Up @@ -410,18 +414,22 @@ spec:
x-kubernetes-map-type: atomic
type: object
bearerToken:
description: Bearer token for remote write.
description: "*Warning: this field shouldn't used because
the token value appears in clear-text. Prefer using `authorization`.*
\n *Deprecated: this will be removed in a future release.*"
type: string
bearerTokenFile:
description: File to read bearer token for remote write.
description: "File from which to read bearer token for the
URL. \n *Deprecated: this will be removed in a future
release. Prefer using `authorization`.*"
type: string
headers:
additionalProperties:
type: string
description: Custom HTTP headers to be sent along with each
remote write request. Be aware that headers that are set
by Prometheus itself can't be overwritten. Only valid
in Prometheus versions 2.25.0 and newer.
description: "Custom HTTP headers to be sent along with
each remote write request. Be aware that headers that
are set by Prometheus itself can't be overwritten. \n
It requires Prometheus >= v2.25.0."
type: object
metadataConfig:
description: MetadataConfig configures the sending of series
Expand All @@ -438,14 +446,15 @@ spec:
type: string
type: object
name:
description: The name of the remote write queue, it must
description: "The name of the remote write queue, it must
be unique if specified. The name is used in metrics and
logging in order to differentiate queues. Only valid in
Prometheus versions 2.15.0 and newer.
logging in order to differentiate queues. \n It requires
Prometheus >= v2.15.0."
type: string
oauth2:
description: OAuth2 for the URL. Only valid in Prometheus
versions 2.27.0 and newer.
description: "OAuth2 configuration for the URL. \n It requires
Prometheus >= v2.27.0. \n Cannot be set at the same time
as `sigv4`, `authorization`, or `basicAuth`."
properties:
clientId:
description: The secret or configmap containing the
Expand Down Expand Up @@ -584,18 +593,24 @@ spec:
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
type: string
sendExemplars:
description: Enables sending of exemplars over remote write.
description: "Enables sending of exemplars over remote write.
Note that exemplar-storage itself must be enabled using
the enableFeature option for exemplars to be scraped in
the first place. Only valid in Prometheus versions 2.27.0
and newer.
the `spec.enableFeature` option for exemplars to be scraped
in the first place. \n It requires Prometheus >= v2.27.0."
type: boolean
sendNativeHistograms:
description: "Enables sending of native histograms, also
known as sparse histograms over remote write. \n It requires
Prometheus >= v2.40.0."
type: boolean
sigv4:
description: Sigv4 allows to configures AWS's Signature
Verification 4
description: "Sigv4 allows to configures AWS's Signature
Verification 4 for the URL. \n It requires Prometheus
>= v2.26.0. \n Cannot be set at the same time as `authorization`,
`basicAuth`, or `oauth2`."
properties:
accessKey:
description: AccessKey is the AWS API key. If blank,
description: AccessKey is the AWS API key. If not specified,
the environment variable `AWS_ACCESS_KEY_ID` is used.
properties:
key:
Expand Down Expand Up @@ -628,9 +643,9 @@ spec:
authenticate.
type: string
secretKey:
description: SecretKey is the AWS API secret. If blank,
the environment variable `AWS_SECRET_ACCESS_KEY` is
used.
description: SecretKey is the AWS API secret. If not
specified, the environment variable `AWS_SECRET_ACCESS_KEY`
is used.
properties:
key:
description: The key of the secret to select from. Must
Expand All @@ -651,7 +666,7 @@ spec:
x-kubernetes-map-type: atomic
type: object
tlsConfig:
description: TLS Config to use for remote write.
description: TLS Config to use for the URL.
properties:
ca:
description: Certificate authority used when verifying
Expand Down Expand Up @@ -983,7 +998,8 @@ spec:
description: 'Requests describes the minimum amount of compute
resources required. If Requests is omitted for a container,
it defaults to Limits if that is explicitly specified, otherwise
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
to an implementation-defined value. Requests cannot exceed Limits.
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
retention:
Expand Down
113 changes: 113 additions & 0 deletions bundle/manifests/monitoring.rhobs_prometheusagents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2219,6 +2219,8 @@ spec:
type: string
sendExemplars:
type: boolean
sendNativeHistograms:
type: boolean
sigv4:
properties:
accessKey:
Expand Down Expand Up @@ -2951,6 +2953,117 @@ spec:
- whenUnsatisfiable
type: object
type: array
tracingConfig:
properties:
clientType:
enum:
- http
- grpc
type: string
compression:
enum:
- gzip
type: string
endpoint:
minLength: 1
type: string
headers:
additionalProperties:
type: string
type: object
insecure:
type: boolean
samplingFraction:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
timeout:
pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$
type: string
tlsConfig:
properties:
ca:
properties:
configMap:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
secret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
caFile:
type: string
cert:
properties:
configMap:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
secret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
certFile:
type: string
insecureSkipVerify:
type: boolean
keyFile:
type: string
keySecret:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
serverName:
type: string
type: object
required:
- endpoint
type: object
version:
type: string
volumeMounts:
Expand Down
Loading

0 comments on commit 5e42a1d

Please sign in to comment.