-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Add support for kubeconfig files in github workspace #3
Comments
Sounds like a good addition, however I'm pretty swamped right now and personally I don't need it. However, if you or someone else can send a PR, I will happily review and merge it. |
Hi Steeb, secrets.DOCKER_REPO = vjgediya/nodedemoapp Can you please help me with that as soon as possible? Thanks. |
@VJGediya Can you try reading the value of the kube config data, but instead put the value (already base64 encoded) into a GitHub Actions secret using the repo settings? Also, can you make sure your line in "set image" works; |
Uff, though... Can you try hardcoding the |
Oh mann!!! So this is this works? Like I have to declare each secrets as env variables? And then I can use the arg? |
Yep, all secrets you have defined in your repo secrets you have to declare in each action explicitly if you want to use them |
Oh man...🤦🏻♂️ You gave me hope man.. I’ll try that and let you know what happens.. You’re legend man.. Thank you so much for quick replies. Appreciate it. |
As I've understood till now that It's trying to read the CA certificate which is defined in KUBECONFIG file under cluster section -> certificate-autho and server's value... But somehow it can't reach or find the file.. I'm not sure why? |
@steebchen : or would it be possible to provide the path to the KUBECONFIG file? |
Maybe you can just try setting |
If I have a kube config in my github workspace, I would love to be able to use it instead of using a value from secrets that is static. My usecase is that I dynamically retrieve my kubeconfig from digital ocean using doctl and store it in the github workspace.
This code has an example of what I am talking about, and the current workaround I'm using. I would rather use your action!
The text was updated successfully, but these errors were encountered: