Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

add sigv4 install script, fix bug - #334

Merged
rfratto merged 1 commit into
grafana-cold-storage:masterfrom
rfratto:sigv4-install
Jan 19, 2021
Merged

add sigv4 install script, fix bug#334
rfratto merged 1 commit into
grafana-cold-storage:masterfrom
rfratto:sigv4-install

Conversation

@rfratto

@rfratto rfratto commented Jan 19, 2021

Copy link
Copy Markdown
Contributor

PR Description

Adds a sigv4-specific install script.

Also fixes bug where the deployment scrape config was included with host filtering enabled, where the inverse should've been true. (cc @hjet, this fixes the duplicate default/kubernetes job)

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG updated
  • Documentation added
  • Tests updated

Also fixes bug where the deployment scrape config was included with host
filtering enabled, where the inverse should've been true.
@rfratto
rfratto requested a review from mattdurham January 19, 2021 15:21
Comment on lines +73 to +75
$._config.kubernetes_scrape_configs
else
$._config.kubernetes_scrape_configs,
$._config.kubernetes_scrape_configs + $._config.deployment_scrape_configs,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the bug. When host filtering is enabled, it shouldn't include the deployment scrape configs.

@@ -0,0 +1,357 @@
apiVersion: v1

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is generated, don't need to review it directly

tls_config:
ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecure_skip_verify: false
- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is generated, don't need to review it directly

Comment thread CHANGELOG.md
@rfratto
rfratto merged commit 2f459bb into grafana-cold-storage:master Jan 19, 2021
@rfratto
rfratto deleted the sigv4-install branch January 19, 2021 15:52
@mattdurham mattdurham mentioned this pull request Sep 7, 2021
3 tasks
mattdurham pushed a commit that referenced this pull request Nov 11, 2021
Also fixes bug where the deployment scrape config was included with host
filtering enabled, where the inverse should've been true.
@github-actions github-actions Bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Apr 21, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants