Skip to content

Github actions to install accuknoxcli, KubeArmor and Discovery Engine

Notifications You must be signed in to change notification settings

accuknox/install-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

install-action

Github actions to install accuknoxcli, KubeArmor and Discovery Engine

Learn More

Inputs

  inputs:
  # image of kubearmor to be installed
  kubearmor-image: 
    description: 'kubearmor image to be installed'
    required: true
    default: ""
  # image of discovery engine to be installed
  discovery-engine-image:
    description: 'discovery engine image to be installed'
    required: true
    default: ""
  # workload namespace
  workload-namespace:
    description: 'workload namespaces'
    required: false
    default: ""

Usage

Steps for using install-action in a workflow yaml file

  • Checkout into the repo using checkout action.
  • Setting up a k8's cluster.
  • Using accuknox-install action install Kubearmor and Discovery Engine.

install a specific image of kubearmor

    - name: accuknox-install
      uses: accuknox/install-action@v0.1.1
      with:
        kubearmor-image: v0.11.0
             

Sample Configuration

name: learn-accuknox-install-action
on: [push]
jobs:
  check-working:
    runs-on: ubuntu-latest
    steps:
        - name: Checkout repo
          uses: actions/checkout@v3
          with:
            submodules: true
            
        - name: Checkout kubearmor repo
          uses: actions/checkout@v3
          with:
            repository: kubearmor/KubeArmor
            ref: main
            path: Kubearmor
  
        - name: Setup a Kubernetes environment
          run: |
            ./Kubearmor/contribution/k3s/install_k3s.sh
             sudo apt install socat
        
        - name: Install accuknoxcli, KubeArmor and Discovery Engine
          uses: accuknox/install-action@v0.1.1  

About

Github actions to install accuknoxcli, KubeArmor and Discovery Engine

Resources

Stars

Watchers

Forks

Packages

No packages published