Releases: coralogix/dhall-prometheus-operator
Update the project to use dhall-kubernetes v7.0.0
v9.0.0 Update the project to use dhall-kubernetes v7.0.0 (#28)
Dependency update: dhall-kubernetes v4.0.0 -> v6.0.0
This release updates the dhall-kubernetes
dependency from v4.0.0
to v6.0.0
.
Add support for AlertmanagerConfig
Upstream prometheus-operator
added support for a new CRD, called AlertmanagerConfig
. This release adds support for it.
Because AlertmanagerConfig
references a route
which is recursive in nature, the AlertmanagerConfig
permits the user to construct the final AlertmanagerConfig
schema and type on the basis of the required level of recursion, similar in fashion (albeit much simpler) to the way that the dhall-concourse
project models recursion.
This release now supports prometheus-operator
@ 0.43.2
.
This release is a breaking change, from 6.0.0
to 7.0.0
due to:
- In
APIServerConfig
, the following fields are nowOptional
:basicAuth
,bearerToken
,bearerTokenFile
- In
AlertmanagerSpec
,PrometheusSpec
, andThanosSpec
, the following fields have now been dropped:tag
,sha
,baseImage
, as the upstream fields have been deprecated in favor of animage
field - In
StorageSpec
, the following fields are nowOptional
:emptyDir
andvolumeClaimTemplate
Upgrade to upstream dhall-kubernetes
Upstream dhall-kubernetes
has returned to using the default behavior
of omitting empty Optionals instead of the --omit-empty
behavior that
it had embraced earlier.
This change updates dhall-prometheus-operator
to return to the use of
Optional List X
instead of List X
in turn.
Fix: PrometheusSpec type alignment
Fixes an issue where PrometheusSpec
thought that podMonitorNamespaceSelector
and serviceMonitorNamespaceSelector
were of type NamespaceSelector
. They are actually of type LabelSelector
.
Add PodMonitor, inline tests
- Adds support for
PodMonitor
- Takes tests from
tests/example.dhall
and inlines them in each object withinv1/
, which is more idiomatically Dhall since the introduction ofassert
.
Migrate to Dhall 11
dhall-prometheus-operator
now uses Dhall 11 idioms, most notably record completion. This release also takes advantage of Dhall 10's support for mixed records.
As a result, this is a major change which will break existing code - no longer are there separate /defaults/package.dhall
and /types/package.dhall
files, but now a unified root-level /package.dhall
file. The types themselves have been refactored to support the record completion syntax. Please see /tests/examples.dhall
for the new syntax and usage pattern.
Usage example
Add servicemonitor example for kafka metrics
Add usage example to the README.md file
Initial release
Initial release. Supports the full Prometheus Operator API.
No default records are provided for Status objects, as they are read-only from the API anyway.