Comments (11)
@steefdebruijn I've analyzed helm chart and this seems to work:
curl https://raw.githubusercontent.com/stakater/Reloader/master/deployments/kubernetes/reloader.yaml | sed 's/RELEASE-NAME-//g' |sed 's/RELEASE-NAME/v0.0.40/g'|kubectl apply -f -
from reloader.
This is currently what we do.
from reloader.
That would be more "flexible" I would say, jq is dependency here tho.
LATEST_VERSION=$(curl -s https://api.github.com/repos/stakater/Reloader/releases | jq '.[0].name' | tr -d '"')
curl https://raw.githubusercontent.com/stakater/Reloader/master/deployments/kubernetes/reloader.yaml | sed 's/RELEASE-NAME-//g' |sed "s/RELEASE-NAME/${LATEST_VERSION}/g"|kubectl apply -f -
from reloader.
@evilr00t thank you for your input but this issue will be fixed soon and after that, these kinds of temporary fixes will not used.
from reloader.
@evilr00t README.md has been updated
from reloader.
It is due to a bug in our CI/CD pipeline for Reloader. I will ask someone to fix that. @kahootali can you please update the helm template command to have the name attribute set when running it? Like helm template . --name ${chartName}
. It should be here: https://github.com/stakater/stakater-pipeline-library/blob/master/src/io/stakater/charts/Templates.groovy#L78
Then point the Jenkinsfile for this repo to use stakater-pipeline-library instead of the old one
from reloader.
PR to clarify it in the README #93
from reloader.
The sed approach does not really fix the issue.
If we are applying the configuration with gitops tooling it is not good to have to preprocess the files to make them applyable.
from reloader.
hi @magicmoose,
what you can do is generate the reloader manifest using the sed approach then add that manifest in your gitops workflow.
Although this is not the best solution, I will try to resolve it asap.
from reloader.
@kahootali what about README? it hasn't been changed and still uses sed method.
from reloader.
@evilr00t, I have created a PR that has the updated command.
from reloader.
Related Issues (20)
- [BUG] Reloader don't restart pod on secret recreation. HOT 4
- Argo Rollouts blue/green strategy and replicaset ScaleDown issue HOT 3
- [ENHANCE] Re-evaluate using hashes to store secrets for comparisons during upgrade HOT 1
- [BUG] The deployment "reloader-reloader" is invalid HOT 15
- [BUG] Helm labels and annotations are re-added to K8s manifests built with Kustomize due to update artifacts CI HOT 1
- [ENHANCE] Rolling update when deleting an optional ConfigMap / Secret HOT 2
- Add seccompProfile type to default securityContext HOT 1
- [BUG] New pods shortly deleted, and the old pods remains. ArgoCD HOT 11
- [ENHANCE] Allow Reloader to support CRD reloads HOT 3
- [ENHANCE] Set log level HOT 1
- Pipeline sometimes fails at the "Commit Files" step which prevents Release from being created unless manual intervention is done HOT 6
- [ENHANCE]Define memory request and memory limit for reloder-reloader container HOT 4
- [BUG] reload after controller was down does not occur HOT 1
- [BUG] Recent CI authored auto-releases are broken! HOT 11
- [BUG] Image default tag in 1.0.89 set as "vv1.0.89" instead of v1.0.89 HOT 1
- [BUG] GIt modules is using ssh url for theme submodule HOT 5
- namespace selector isn't working @help/Kind HOT 2
- Question: how do I decide between auto, reload, and search/match? HOT 4
- [BUG]- All Pods restart irrespective of liveness check status or rolling update strategy HOT 5
- [BUG] Latest version 1.0.99 isn't available in Helm repo HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reloader.