Code Monkey home page Code Monkey logo

Comments (3)

alextes avatar alextes commented on June 11, 2024 1

@andrioid quick response!! I switched over to https://github.com/steebchen/kubectl already. It uses a secret plus base64 encoding to pass the config. I don't want to cause you unnecessary work so thought I'd let you know. But maybe more people will show up to this issue asking for it! so feel free to leave open / close (:

from gh-action-k8s-set-image.

andrioid avatar andrioid commented on June 11, 2024

It’s just a wrapper for kubectl. I use gcloud and configure the cluster before using this action. I’ll try to add an example to the README. So, I’ll leave the issue open.

from gh-action-k8s-set-image.

andrioid avatar andrioid commented on June 11, 2024

Kubectl is stated as a requirement for the action. Maybe I should make it a little clearer. The only thing this action does is to reduce clutter when you need to change a bunch of deployments from a Github workflow.

I'm glad you found a solution that works for you.

If anyone else stumbles upon this issue, this is how it looks where I use it:

jobs:
    deploy:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v2
            - uses: google-github-actions/setup-gcloud@master
              with:
                  project_id: ${{ env.GCP_PROJECT_ID }}
                  service_account_key: ${{ secrets.GCP_CREDENTIALS }}
                  export_default_credentials: true

I also realized that I don't actually use this myself anymore. So, I'm archiving the repo.

from gh-action-k8s-set-image.

Related Issues (2)

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.