Skip to content
New issue

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

Operator: main build fails to reconcile secrets #1339

Closed
rfratto opened this issue Feb 1, 2022 · 2 comments · Fixed by #1340
Closed

Operator: main build fails to reconcile secrets #1339

rfratto opened this issue Feb 1, 2022 · 2 comments · Fixed by #1340
Labels
bug Something isn't working frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. operator Grafana Agent Operator related

Comments

@rfratto
Copy link
Member

rfratto commented Feb 1, 2022

@stevo-f3 reported in #1271 that the operator is failing to reconcile on secrets:

level=info ts=2022-02-01T18:57:31.693552638Z component=controller.grafanaagent msg="Starting workers" workercount=1
level=info ts=2022-02-01T18:57:31.693623302Z component=controller.grafanaagent name=foo namespace=bar msg="reconciling grafana-agent"
level=error ts=2022-02-01T18:57:31.694405371Z component=controller.grafanaagent name=foo namespace=bar msg="unable to build hierarchy" err="failed to discover secrets: failed to find \"/v1, Kind=SecretList\" resource: list failed: Index with name field:metadata.name does not exist"

This is likely caused by the ongoing refactoring to help test and maintain the code more easily.

@rfratto rfratto added bug Something isn't working operator Grafana Agent Operator related labels Feb 1, 2022
@stevo-f3
Copy link

stevo-f3 commented Feb 1, 2022

Maybe this applies kubernetes-sigs/kubebuilder#547 (comment)

@rfratto
Copy link
Member Author

rfratto commented Feb 1, 2022

Thanks @stevo-f3, that was definitely helpful! And thanks for reporting too, sorry we had missed this initially.

@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 Feb 22, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. operator Grafana Agent Operator related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants