Skip to content

actionhippie/kubectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubectl

Current Tag Docker Build

GitHub Action to apply Kubernetes manifests.

Usage

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

License

Apache-2.0

Copyright

Copyright (c) 2022 Thomas Boerger <thomas@webhippie.de>