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

Fix k8s permissions #133

Conversation

alecrajeev
Copy link
Contributor

The feature that annotates the pod with the timestamp when the hashring configmap updates will list the pods. This list pods permission should be added to the role permissions in the example manifests.

https://github.com/observatorium/thanos-receive-controller/blob/main/main.go#L748

https://github.com/observatorium/thanos-receive-controller/blob/main/examples/manifests/role.yaml#L27

Fixes: #132

Copy link
Contributor

@christopherzli christopherzli left a comment

Choose a reason for hiding this comment

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

makes sense

@philipgough philipgough merged commit 7140e94 into observatorium:main May 16, 2024
4 checks passed
christopherzli pushed a commit to christopherzli/thanos-receive-controller that referenced this pull request Aug 16, 2024
* Fix k8s permissions

* fix ci

* fix ci
christopherzli added a commit to christopherzli/thanos-receive-controller that referenced this pull request Aug 16, 2024
christopherzli added a commit to christopherzli/thanos-receive-controller that referenced this pull request Aug 16, 2024
christopherzli added a commit to christopherzli/thanos-receive-controller that referenced this pull request Aug 16, 2024
christopherzli added a commit to christopherzli/thanos-receive-controller that referenced this pull request Aug 16, 2024
christopherzli added a commit to databricks/thanos-receive-controller that referenced this pull request Aug 19, 2024
* support az aware hashring and multiple sts in one hashring (observatorium#129)

* support az aware hashring

* Update receive-controller.json

* support multiple statefulsets in 1 hashring

* add more logs

* style

* fix lint issue

* debug

* return when encountering error

* remove whitespace

* Fix k8s permissions (observatorium#133)

* Fix k8s permissions

* fix ci

* fix ci

* sync

* add pantheon migration state

* Revert "Fix k8s permissions (observatorium#133)"

This reverts commit e545b83.

---------

Co-authored-by: Alec Rajeev <[email protected]>
jnyi pushed a commit to databricks/thanos-receive-controller that referenced this pull request Oct 2, 2024
* support az aware hashring and multiple sts in one hashring (observatorium#129)

* support az aware hashring

* Update receive-controller.json

* support multiple statefulsets in 1 hashring

* add more logs

* style

* fix lint issue

* debug

* return when encountering error

* remove whitespace

* Fix k8s permissions (observatorium#133)

* Fix k8s permissions

* fix ci

* fix ci

* sync

* add pantheon migration state

* Revert "Fix k8s permissions (observatorium#133)"

This reverts commit e545b83.

---------

Co-authored-by: Alec Rajeev <[email protected]>
Signed-off-by: Yi Jin <[email protected]>
jnyi pushed a commit to databricks/thanos-receive-controller that referenced this pull request Oct 2, 2024
* support az aware hashring and multiple sts in one hashring (observatorium#129)

* support az aware hashring

* Update receive-controller.json

* support multiple statefulsets in 1 hashring

* add more logs

* style

* fix lint issue

* debug

* return when encountering error

* remove whitespace

* Fix k8s permissions (observatorium#133)

* Fix k8s permissions

* fix ci

* fix ci

* sync

* add pantheon migration state

* Revert "Fix k8s permissions (observatorium#133)"

This reverts commit e545b83.

---------

Co-authored-by: Alec Rajeev <[email protected]>
Signed-off-by: Yi Jin <[email protected]>
jnyi pushed a commit to databricks/thanos-receive-controller that referenced this pull request Oct 2, 2024
* support az aware hashring and multiple sts in one hashring (observatorium#129)

* support az aware hashring

* Update receive-controller.json

* support multiple statefulsets in 1 hashring

* add more logs

* style

* fix lint issue

* debug

* return when encountering error

* remove whitespace

* Fix k8s permissions (observatorium#133)

* Fix k8s permissions

* fix ci

* fix ci

* sync

* add pantheon migration state

* Revert "Fix k8s permissions (observatorium#133)"

This reverts commit e545b83.

---------

Co-authored-by: Alec Rajeev <[email protected]>
Signed-off-by: Yi Jin <[email protected]>
jnyi pushed a commit to databricks/thanos-receive-controller that referenced this pull request Oct 2, 2024
* support az aware hashring and multiple sts in one hashring (observatorium#129)

* support az aware hashring

* Update receive-controller.json

* support multiple statefulsets in 1 hashring

* add more logs

* style

* fix lint issue

* debug

* return when encountering error

* remove whitespace

* Fix k8s permissions (observatorium#133)

* Fix k8s permissions

* fix ci

* fix ci

* sync

* add pantheon migration state

* Revert "Fix k8s permissions (observatorium#133)"

This reverts commit e545b83.

---------

Co-authored-by: Alec Rajeev <[email protected]>
Signed-off-by: Yi Jin <[email protected]>
jnyi pushed a commit to databricks/thanos-receive-controller that referenced this pull request Oct 3, 2024
* support az aware hashring and multiple sts in one hashring (observatorium#129)

* support az aware hashring

* Update receive-controller.json

* support multiple statefulsets in 1 hashring

* add more logs

* style

* fix lint issue

* debug

* return when encountering error

* remove whitespace

* Fix k8s permissions (observatorium#133)

* Fix k8s permissions

* fix ci

* fix ci

* sync

* add pantheon migration state

* Revert "Fix k8s permissions (observatorium#133)"

This reverts commit e545b83.

---------

Co-authored-by: Alec Rajeev <[email protected]>
Signed-off-by: Yi Jin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Kubernetes List Pod Permissions
3 participants