Skip to content

Commit

Permalink
bump images for tag (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
pintohutch authored Jun 9, 2023
1 parent 8baccee commit b9cb47e
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ presubmit: ## Run all checks and tests before submitting a change
##
presubmit: regen bin test kindtest

CURRENT_TAG = v0.6.3-gke.0
CURRENT_TAG = v0.7.0-gke.0
CURRENT_PROM_TAG = v2.35.0-gmp.5-gke.0
CURRENT_AM_TAG = v0.24.0-gmp.3-gke.1
LABEL_API_VERSION = 0.6.3
LABEL_API_VERSION = 0.7.0
FILES_TO_UPDATE = $(shell find . -type f -name "*.yaml" ! -name "kube-state-metrics.yaml" ! -name "node-exporter.yaml")
updateversions: $(SED)
@echo ">> Updating prometheus-engine images in manifests to $(CURRENT_TAG)"
Expand Down
4 changes: 2 additions & 2 deletions cmd/operator/deploy/operator/05-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ spec:
app.kubernetes.io/component: operator
app.kubernetes.io/name: gmp-operator
app.kubernetes.io/part-of: gmp
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
spec:
serviceAccountName: operator
automountServiceAccountToken: true
priorityClassName: gmp-critical
containers:
- name: operator
image: gke.gcr.io/prometheus-engine/operator:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/operator:v0.7.0-gke.0
args:
- "--operator-namespace=gmp-system"
- "--public-namespace=gmp-public"
Expand Down
4 changes: 2 additions & 2 deletions cmd/operator/deploy/operator/10-collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
labels:
app: managed-prometheus-collector
app.kubernetes.io/name: collector
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
annotations:
# The emptyDir for the storage and config directories prevents cluster
# autoscaling unless this annotation is set.
Expand All @@ -53,7 +53,7 @@ spec:
privileged: false
containers:
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/prometheus/config/config.yaml
- --config-file-output=/prometheus/config_out/config.yaml
Expand Down
6 changes: 3 additions & 3 deletions cmd/operator/deploy/operator/11-rule-evaluator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
labels:
app: managed-prometheus-rule-evaluator
app.kubernetes.io/name: rule-evaluator
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
annotations:
# The emptyDir for the storage and config directories prevents cluster
# autoscaling unless this annotation is set.
Expand All @@ -54,7 +54,7 @@ spec:
privileged: false
containers:
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/prometheus/config/config.yaml
- --config-file-output=/prometheus/config_out/config.yaml
Expand Down Expand Up @@ -91,7 +91,7 @@ spec:
- all
privileged: false
- name: evaluator
image: gke.gcr.io/prometheus-engine/rule-evaluator:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/rule-evaluator:v0.7.0-gke.0
args:
- --config.file=/prometheus/config_out/config.yaml
- --web.listen-address=:19092
Expand Down
4 changes: 2 additions & 2 deletions cmd/operator/deploy/operator/12-alertmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
labels:
app: managed-prometheus-alertmanager
app.kubernetes.io/name: alertmanager
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
components.gke.io/component-name: managed_prometheus
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
- all
privileged: false
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/alertmanager/config.yaml
- --config-file-output=/alertmanager/config_out/config.yaml
Expand Down
6 changes: 3 additions & 3 deletions cmd/operator/deploy/rule-evaluator/01-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
metadata:
labels:
app.kubernetes.io/name: rule-evaluator
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
spec:
serviceAccountName: rule-evaluator
automountServiceAccountToken: true
Expand All @@ -40,7 +40,7 @@ spec:
mountPath: /prometheus/config_out
containers:
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/prometheus/config/config.yaml
- --config-file-output=/prometheus/config_out/config.yaml
Expand Down Expand Up @@ -74,7 +74,7 @@ spec:
- all
privileged: false
- name: evaluator
image: gke.gcr.io/prometheus-engine/rule-evaluator:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/rule-evaluator:v0.7.0-gke.0
args:
- "--config.file=/prometheus/config_out/config.yaml"
- "--web.listen-address=:9092"
Expand Down
2 changes: 1 addition & 1 deletion examples/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- linux
containers:
- name: frontend
image: gke.gcr.io/prometheus-engine/frontend:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/frontend:v0.7.0-gke.0
args:
- "--web.listen-address=:9090"
- "--query.project-id=$PROJECT_ID"
Expand Down
2 changes: 1 addition & 1 deletion examples/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ spec:
- name: prometheus-db
mountPath: /prometheus/data
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/prometheus/config/config.yaml
- --config-file-output=/prometheus/config_out/config.yaml
Expand Down
18 changes: 9 additions & 9 deletions manifests/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,14 @@ spec:
app.kubernetes.io/component: operator
app.kubernetes.io/name: gmp-operator
app.kubernetes.io/part-of: gmp
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
spec:
serviceAccountName: operator
automountServiceAccountToken: true
priorityClassName: gmp-critical
containers:
- name: operator
image: gke.gcr.io/prometheus-engine/operator:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/operator:v0.7.0-gke.0
args:
- "--operator-namespace=gmp-system"
- "--public-namespace=gmp-public"
Expand Down Expand Up @@ -534,7 +534,7 @@ spec:
labels:
app: managed-prometheus-collector
app.kubernetes.io/name: collector
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
annotations:
# The emptyDir for the storage and config directories prevents cluster
# autoscaling unless this annotation is set.
Expand All @@ -559,7 +559,7 @@ spec:
privileged: false
containers:
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/prometheus/config/config.yaml
- --config-file-output=/prometheus/config_out/config.yaml
Expand Down Expand Up @@ -715,7 +715,7 @@ spec:
labels:
app: managed-prometheus-rule-evaluator
app.kubernetes.io/name: rule-evaluator
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
annotations:
# The emptyDir for the storage and config directories prevents cluster
# autoscaling unless this annotation is set.
Expand All @@ -740,7 +740,7 @@ spec:
privileged: false
containers:
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/prometheus/config/config.yaml
- --config-file-output=/prometheus/config_out/config.yaml
Expand Down Expand Up @@ -777,7 +777,7 @@ spec:
- all
privileged: false
- name: evaluator
image: gke.gcr.io/prometheus-engine/rule-evaluator:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/rule-evaluator:v0.7.0-gke.0
args:
- --config.file=/prometheus/config_out/config.yaml
- --web.listen-address=:19092
Expand Down Expand Up @@ -892,7 +892,7 @@ spec:
labels:
app: managed-prometheus-alertmanager
app.kubernetes.io/name: alertmanager
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
components.gke.io/component-name: managed_prometheus
Expand Down Expand Up @@ -947,7 +947,7 @@ spec:
- all
privileged: false
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/alertmanager/config.yaml
- --config-file-output=/alertmanager/config_out/config.yaml
Expand Down
6 changes: 3 additions & 3 deletions manifests/rule-evaluator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
metadata:
labels:
app.kubernetes.io/name: rule-evaluator
app.kubernetes.io/version: 0.6.3
app.kubernetes.io/version: 0.7.0
spec:
serviceAccountName: rule-evaluator
automountServiceAccountToken: true
Expand All @@ -72,7 +72,7 @@ spec:
mountPath: /prometheus/config_out
containers:
- name: config-reloader
image: gke.gcr.io/prometheus-engine/config-reloader:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/config-reloader:v0.7.0-gke.0
args:
- --config-file=/prometheus/config/config.yaml
- --config-file-output=/prometheus/config_out/config.yaml
Expand Down Expand Up @@ -106,7 +106,7 @@ spec:
- all
privileged: false
- name: evaluator
image: gke.gcr.io/prometheus-engine/rule-evaluator:v0.6.3-gke.0
image: gke.gcr.io/prometheus-engine/rule-evaluator:v0.7.0-gke.0
args:
- "--config.file=/prometheus/config_out/config.yaml"
- "--web.listen-address=:9092"
Expand Down
2 changes: 1 addition & 1 deletion pkg/export/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func (e *Exporter) triggerNext() {
// ClientName and Version are used to identify to User Agent. TODO(maxamin): automate versioning.
const (
ClientName = "prometheus-engine-export"
Version = "0.6.3"
Version = "0.7.0"
)

// Run sends exported samples to Google Cloud Monitoring. Must be called at most once.
Expand Down

0 comments on commit b9cb47e

Please sign in to comment.