Coder Social home page Coder Social logo

Comments (11)

evilr00t avatar evilr00t commented on July 26, 2024 3

@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.

ralf-cestusio avatar ralf-cestusio commented on July 26, 2024 1

This is currently what we do.

from reloader.

evilr00t avatar evilr00t commented on July 26, 2024 1

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.

aliartiza75 avatar aliartiza75 commented on July 26, 2024 1

@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.

aliartiza75 avatar aliartiza75 commented on July 26, 2024 1

@evilr00t README.md has been updated

from reloader.

waseem-h avatar waseem-h commented on July 26, 2024

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.

rasheedamir avatar rasheedamir commented on July 26, 2024

PR to clarify it in the README #93

from reloader.

ralf-cestusio avatar ralf-cestusio commented on July 26, 2024

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.

aliartiza75 avatar aliartiza75 commented on July 26, 2024

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.

evilr00t avatar evilr00t commented on July 26, 2024

@kahootali what about README? it hasn't been changed and still uses sed method.

from reloader.

aliartiza75 avatar aliartiza75 commented on July 26, 2024

@evilr00t, I have created a PR that has the updated command.

from reloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.