validkube
                                
                                
                                
                                    validkube copied to clipboard
                            
                            
                            
                        ValidKube combines the best open-source tools to help ensure Kubernetes YAML best practices, hygiene & security.
validkube
About this project
Validkube combines the best open-source tools to help ensure Kubernetes YAML best practices, hygiene & security.
Capabilities:
Policies - A combination of security and best practices.
- Validate - Verify your Kubernetes configuration files @kubeval
 - Clean - Remove clutter from your Kubernetes manifests @kubectl-neat
 - Secure (Trivy) - Scan your YAML code for security vulnerabilities @trivy
 - Secure (Kubescape) - Scan your YAML file for Devops best practices and security vulnerabilities @kubescape
 - Audit (Polaris) - Enforce best practices in your Kubernetes clusters @polaris
 
Validkube is an open-source site, so please feel free to add more tools or capabilities. :)
Prerequisites
- AWS CLI with access to your AWS
 - Yarn
 - NPM
 - Serverless CLI
 - Golang v1.17
 
Deploy
Full deploy:
    make deploy
Deploy backend:
    make deploy-backend
In order to update web domain:
    aws ssm put-parameter --name /validkube/config/allowed_origin --type String --value {frontend-domain} --overwrite
Deploy frontend:
    make deploy-frontend
Local environment
In order to run this locally, specify 'ALLOWED_ORIGIN' environment variable to 'http://localhost:3000'
Example in Linux:
    export ALLOWED_ORIGIN=http://localhost:3000
In order to start backend:
    go mod download
    go run backend/development/localdev.go
In order to start frontend:
    cd frontend
    yarn install
    yarn start