kubectl's People
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
Extra variables?
Hello!
This actoins accepts extra environment variables?
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.