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

Auto update referenced resource #45

Merged
merged 19 commits into from
Jan 25, 2019
Merged

Conversation

faizanahmad055
Copy link
Contributor

This PR does following

  • Fixed the issue where it reloads the pod even if configmap/secret is not being used in the pod (i.e. Not mounted or referenced via environment variable).

  • Added support for create event, now reloader performs rolling upgrade when a configmap/secret is created as well.

  • Added support to automatically discover the deplyments/daemonsets/statefulsets when their referenced configmap/secret is created/updated.
    Now we just have to add this annotation in our deployment, daemonset or statefulset

reloader.stakater.com/auto: "true"

Note: It is backward compatible and old annotations work as well. But if we use this new annotation with old annotations, this annotation will override the old annotations.

Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
…g the resources

Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
@stakater-user
Copy link
Contributor

@faizanahmad055 Image is available for testing. docker pull stakater/reloader:SNAPSHOT-PR-45-1

Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
@stakater-user
Copy link
Contributor

@faizanahmad055 Yikes! You better fix it before anyone else finds out! Build 2 has Failed!

Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
@faizanahmad055
Copy link
Contributor Author

@waseem-h, @kahootali , can you guys please take a look at this PR.

@stakater-user
Copy link
Contributor

@faizanahmad055 Image is available for testing. docker pull stakater/reloader:SNAPSHOT-PR-45-3

@rasheedamir rasheedamir merged commit 1307414 into master Jan 25, 2019
@rasheedamir rasheedamir deleted the auto-update-referenced-resource branch January 25, 2019 13:00
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.

6 participants