https://github.com/amsilf/sc-helm-app
This repository contains a simple Helm chart for deploying a "Hello World" Nginx application, along with Open Policy Agent (OPA) rules for verification and an AI-assisted mechanism to fix policy violations.
https://github.com/amsilf/sc-helm-app
Last synced: 3 months ago
JSON representation
This repository contains a simple Helm chart for deploying a "Hello World" Nginx application, along with Open Policy Agent (OPA) rules for verification and an AI-assisted mechanism to fix policy violations.
- Host: GitHub
- URL: https://github.com/amsilf/sc-helm-app
- Owner: amsilf
- Created: 2024-07-12T05:29:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-16T12:07:30.000Z (over 1 year ago)
- Last Synced: 2025-01-06T00:34:56.951Z (11 months ago)
- Language: Smarty
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome_ai_agents - Sc-Helm-App - This repository contains a simple Helm chart for deploying a "Hello World" Nginx application, along with Open Policy Agent (OPA) rules fo… (Building / Deployment)
README
# Helm App Deployment with OPA Verification and AI-Assisted Fixes
This repository contains a simple Helm chart for deploying a "Hello World" Nginx application, along with Open Policy Agent (OPA) rules for verification and an AI-assisted mechanism to fix policy violations.
## Prerequisites
- Helm 3+
- OPA
- Python 3+
- OpenAI API key (for ChatGPT integration)
## Helm Chart
The Helm chart in the `helm/` directory deploys a simple Nginx server with a "Hello World" page.
## OPA Verification
The OPA policies in the opa/ directory verify the Helm chart against predefined rules. To run the verification:
This script will:
Detect OPA policy violations
Use ChatGPT to suggest fixes
Apply the fixes to the relevant files
Create a new branch with the changes
Push the branch and create a pull request