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

[ENHANCE] add possibility to watch a configmap located in another namespace #578

Open
ZeBidule opened this issue Nov 24, 2023 · 1 comment
Labels
kind/enhancement New feature or request kind/help wanted Extra attention is needed

Comments

@ZeBidule
Copy link

Is your feature request related to a problem? Please describe.
I would like to restart all my pod that have an istio sidecar when the istio tag version change.

Describe the solution you'd like
I propose to allow that the namespace is mentioned in the reloader anotation like this :

apiVersion: apps/v1
kind: Deployment
metadata:
  name: test
  namespace: test
  annotations:
    configmap.reloader.stakater.com/reload: istio-system/stable-tag
...

In order for this deployment to be rolled out when my configmap in istio namespace change :

apiVersion: v1
kind: ConfigMap
metadata:
  name: stable-tag
  namespace: istio-system
data:
  version: 1-16-7

Describe alternatives you've considered
If it is not possible I will try to use Kyverno to do that but it is more complex to setup (https://kyverno.io/policies/other/res/restart-deployment-on-secret-change/restart-deployment-on-secret-change/).

@ZeBidule ZeBidule added the kind/enhancement New feature or request label Nov 24, 2023
@MuneebAijaz
Copy link
Contributor

@ZeBidule we welcome Pull Requests, feel free to create one. This seems like a valid enhancement/usecase.

@MuneebAijaz MuneebAijaz added the kind/help wanted Extra attention is needed label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request kind/help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants