Reloader uses a straightforward annotation strategy to determine which resources to update.
1. Auto-Discovery (The Easy Way) Simply add an annotation to your Deployment. Reloader will automatically track all ConfigMaps and Secrets referenced by that Deployment. reloader by r-1n github
kind: Deployment
metadata:
annotations:
secret.reloader.stakater.com/reload: "true"
2. Specific Resource Targeting If you only want to restart a deployment when a specific Secret changes (ignoring others), you can specify the name: Reloader treats Secrets exactly like ConfigMaps
kind: Deployment
metadata:
annotations:
secret.reloader.stakater.com/reload: "my-secret-name"
Reloader treats Secrets exactly like ConfigMaps. Ensure the Secret name matches what’s defined in envFrom or volumes. Also check the Secret’s type – Opaque is fine. reloader by r-1n github
To install the latest stable version:
kubectl apply -f https://raw.githubusercontent.com/r-1n/reloader/main/deploy/manifests/reloader.yaml
This creates:

ïîæàëóéñòà:
ïîäñêàæèòå ïîæàëóéñòà, à íîìåð ìîáèëû îáÿçàòåëüíî ââîäèòü?