We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When Upgrading from 0.42.4 to 0.43.1 any ServiceMonitor with a bearerTokenSecret set, gets Permission denied on scraping.
Example:
apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: test-service spec: endpoints: - bearerTokenSecret: key: PRIVATE_API_KEY name: test-secret honorLabels: false interval: 15s path: /metrics scrapeTimeout: 15s targetPort: 80 jobLabel: test selector: matchLabels: test: test
Result on 0.43.+ (shortened Output):
apiVersion: operator.victoriametrics.com/v1beta1 kind: VMServiceScrape metadata: name: test-service spec: attach_metadata: {} endpoints: - attach_metadata: {} interval: 15s path: /metrics scrapeTimeout: 15s targetPort: 80 jobLabel: test namespaceSelector: {} selector: matchLabels: test: test
Result on 0.42.4 (shortened Output):
apiVersion: operator.victoriametrics.com/v1beta1 kind: VMServiceScrape metadata: name: test-service spec: endpoints: - attach_metadata: {} bearerTokenSecret: key: PRIVATE_API_KEY name: test-secret interval: 15s path: /metrics scrapeTimeout: 15s targetPort: 80 jobLabel: test namespaceSelector: {} selector: matchLabels: test: test
The text was updated successfully, but these errors were encountered:
Found it to be removed in Commit 0500abb
Sorry, something went wrong.
Looks like bug to me, @Haleygo can you confirm?
Hi @marrau , Thanks for the issue, it should be fixed in #935. JFYI, prometheus operator has marked BearerTokenSecret as deprecated and recommended to use authorization instead.
BearerTokenSecret
authorization
The fix is released in https://github.com/VictoriaMetrics/operator/releases/tag/v0.43.3, close this as completed, feel free to reopen if there is further question.
No branches or pull requests
When Upgrading from 0.42.4 to 0.43.1 any ServiceMonitor with a bearerTokenSecret set, gets Permission denied on scraping.
Example:
Result on 0.43.+ (shortened Output):
Result on 0.42.4 (shortened Output):
The text was updated successfully, but these errors were encountered: