Coder Social home page Coder Social logo

kubectl's People

Contributors

qazz92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kubectl's Issues

Can't access files in my repo

Hello! I have a repo that has a file deployment.yaml in the root folder, I am trying to use this action to apply that file to my cluster. Using set image on a deployment that's already there works fine, I'm trying to figure out the case where I want to create a new deployment from scratch in a new namespace.

Here's the relevant snippet from my workflow:

- uses: actions/checkout@v2
- name: Create the deployment
  uses: qazz92/[email protected]
  env:
    kube_confg_data: ${{ secrets.KUBE_CONFIG_DATA }}
    aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    aws_region: ${{ secrets.AWS_DEFAULT_REGION }}
  with:
    args: apply -f deployment.yaml -n ${{ needs.namespace.outputs.namespace }}

How ever deployment.yaml is not found, I get the following error:

+ sh -c 'aws configure set aws_access_key_id ***'
+ sh -c 'aws configure set aws_secret_access_key ***'
+ sh -c 'aws configure set region ***'
+ echo ***
+ base64 --decode
+ export 'KUBECONFIG=/tmp/config'
+ sh -c 'kubectl apply -f deployment.yaml -n namespace'
error: the path "deployment.yaml" does not exist

client.authentication version error

This action is not working for me. It gives the following error:

Unable to connect to the server: getting credentials: exec plugin is configured to use API version client.authentication.k8s.io/v1beta1, plugin returned version client.authentication.k8s.io/v1alpha1

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.