Compare commits

...

4 Commits

Author SHA1 Message Date
Simon Pasquier
45f56819bc chore: fix versions action
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-08-16 15:47:44 +02:00
Simon Pasquier
b102f7b5ce Merge pull request #2185 from simonpasquier/remove-deprecated-arg
prometheus-adapter: remove deprecated argument
2023-08-16 15:21:24 +02:00
Simon Pasquier
535a91cf4c prometheus-adapter: remove deprecated argument
The `--logtostderr` argument has been deprecated in v0.10.0 and removed
in v0.11.0.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-08-16 14:58:40 +02:00
Philip Gough
d539476d5f Update workflow for failing versions update (#2181) 2023-08-14 17:35:05 +01:00
3 changed files with 7 additions and 3 deletions

View File

@@ -31,9 +31,15 @@ jobs:
# Write to temporary file to make update atomic
scripts/generate-versions.sh > /tmp/versions.json
mv /tmp/versions.json jsonnet/kube-prometheus/versions.json
# Display the raw diff between versions.
git diff
# Get the links to the changelogs of the updated versions and make them
# available to the reviewers
echo "new_changelogs=$(scripts/get-new-changelogs.sh)" >> $GITHUB_OUTPUT
{
echo 'new_changelogs<<EOF'
echo $(scripts/get-new-changelogs.sh)
echo EOF
} >> $GITHUB_OUTPUT
if: matrix.branch == 'main'
- name: Update jsonnet dependencies
run: |

View File

@@ -238,7 +238,6 @@ function(params) {
args: [
'--cert-dir=/var/run/serving-cert',
'--config=/etc/adapter/config.yaml',
'--logtostderr=true',
'--metrics-relist-interval=1m',
'--prometheus-url=' + pa._config.prometheusURL,
'--secure-port=6443',

View File

@@ -32,7 +32,6 @@ spec:
- args:
- --cert-dir=/var/run/serving-cert
- --config=/etc/adapter/config.yaml
- --logtostderr=true
- --metrics-relist-interval=1m
- --prometheus-url=http://prometheus-k8s.monitoring.svc:9090/
- --secure-port=6443