https://github.com/actionhippie/kubectl
Action to apply Kubernetes manifests
https://github.com/actionhippie/kubectl
action github
Last synced: over 1 year ago
JSON representation
Action to apply Kubernetes manifests
- Host: GitHub
- URL: https://github.com/actionhippie/kubectl
- Owner: actionhippie
- License: apache-2.0
- Created: 2022-03-16T08:49:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T20:30:25.000Z (over 1 year ago)
- Last Synced: 2024-10-24T08:14:33.484Z (over 1 year ago)
- Topics: action, github
- Language: Dockerfile
- Homepage:
- Size: 86.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# kubectl
[](https://github.com/actionhippie/kubectl) [](https://github.com/actionhippie/kubectl/actions/workflows/docker.yml)
[GitHub Action](https://github.com/features/actions) to apply Kubernetes manifests.
## Usage
```yml
name: Example
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actionhippie/kubectl@v1
with:
config: ${{ secrets.KUBE_CONFIG }}
args: get all
```
## Inputs
### `config`
Kubeconfig in base64 encoded format
### `namespace`
The namespace to add to the command
### `args`
All arguments to append to kubectl
### `content`
Optional content to be piped into kubectl
## Outputs
None
## Security
If you find a security issue please contact thomas@webhippie.de first.
## Contributing
Fork -> Patch -> Push -> Pull Request
## Authors
* [Thomas Boerger](https://github.com/tboerger)
## License
Apache-2.0
## Copyright
```console
Copyright (c) 2022 Thomas Boerger
```