Skip to content

Commit

Permalink
buildchain: test pulling prom from cgr
Browse files Browse the repository at this point in the history
  • Loading branch information
eg-ayoub committed Nov 4, 2024
1 parent 8fc8b72 commit a45c2da
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion buildchain/buildchain/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ def _local_image(name: str, **kwargs: Any) -> targets.LocalImage:
constants.PROMETHEUS_REPOSITORY: [
"alertmanager",
"node-exporter",
"prometheus",
],
constants.THANOS_REPOSITORY: [
"thanos",
Expand All @@ -219,6 +218,7 @@ def _local_image(name: str, **kwargs: Any) -> targets.LocalImage:
constants.CHAINGUARD_REPOSITORY: [
"cert-manager-controller",
"etcd",
"prometheus",
],
}

Expand Down
4 changes: 2 additions & 2 deletions buildchain/buildchain/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ def _version_prefix(version: str, prefix: str = "v") -> str:
),
Image(
name="prometheus",
version="v2.55.0",
digest="sha256:378f4e03703557d1c6419e6caccf922f96e6d88a530f7431d66a4c4f4b1000fe",
version="2.55.0",
digest="sha256:c0907ae3a99e682698d7b539e61649f6479747a356038cbfdffb4ee56cae71b1",
),
Image(
name="prometheus-adapter",
Expand Down
1 change: 1 addition & 0 deletions charts/kube-prometheus-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ prometheus:
image:
registry: '__var__(repo.registry_endpoint)'
repository: '__image_no_reg__(prometheus)'
tag: 2.55.0

tolerations:
- key: 'node-role.kubernetes.io/bootstrap'
Expand Down
4 changes: 2 additions & 2 deletions salt/metalk8s/addons/prometheus-operator/deployed/chart.sls
Original file line number Diff line number Diff line change
Expand Up @@ -72118,7 +72118,7 @@ spec:
enableAdminAPI: {% endraw -%}{{ prometheus.spec.config.enable_admin_api }}{%- raw %}
externalUrl: http://prometheus-operator-prometheus.metalk8s-monitoring:9090
hostNetwork: false
image: {% endraw -%}{{ repo.registry_endpoint }}{%- raw %}/{% endraw -%}{{ build_image_name("prometheus", False, False) }}{%- raw %}:v2.55.0
image: {% endraw -%}{{ repo.registry_endpoint }}{%- raw %}/{% endraw -%}{{ build_image_name("prometheus", False, False) }}{%- raw %}:2.55.0
listenLocal: false
logFormat: logfmt
logLevel: info
Expand Down Expand Up @@ -72182,7 +72182,7 @@ spec:
operator: Exists
tsdb:
outOfOrderTimeWindow: 0s
version: v2.55.0
version: 2.55.0
walCompression: true
---
apiVersion: monitoring.coreos.com/v1
Expand Down

0 comments on commit a45c2da

Please sign in to comment.