Skip to content

pull-request-wars-fluxcd/platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

platform

Prerequisites

Repository setup

Fork the platform repository in your own GitHub organization and clone it locally.

Change the GitHub repository URL in kubernetes/clusters/local/instance.yaml to point to your forked repository. Commit and push the changes to your fork.

GitHub App setup

Create a GitHub App in your organization with the following permissions:

  • Repository permissions:
    • Commit statuses: Read and write
    • Contents: Read-only
    • Pull requests: Read and write

Install the GitHub App in your organization.

Create the github-app-auth directory and add your GitHub App credentials:

mkdir -p github-app-auth

Create github-app-auth/.env with the following content:

GITHUB_APP_ID=<your-app-id>
GITHUB_APP_OWNER=<your-gh-org>

Copy your GitHub App private key to github-app-auth/private-key.pem.

You can find the App ID in your GitHub App settings under Settings > Developer settings > GitHub Apps.

The private key can be generated from the same page under Private keys.

Cluster bootstrap

Start the dev environment with:

make up

Access the Flux Web UI (runs port-forward, use a separate shell window):

make flux-web

Access the App preview using the PR number (runs port-forward, use a separate shell window):

make preview PR=<number>

About

GitOps Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors