We are focusing on quick starts (sandboxes) to get Codfresh Runtimes installed and a simple GitOps Demo application configured in you Codefresh account.
- Create the necessary infrastructure in your cloud for Codefresh.
- Configure Version Control w/ Codefresh
- Install Codefresh Runtime
- Install GitOps Runtime
- Install NGINX
MacOS:
- M2
- Monterey 12.2
- M3
- Sonoma 14.3
Windows OS:
- Windows 11 Enterprise
- Version: 23H2
- OS Build 22631.3155
- Version: 23H2
Required Codefresh Configuration
{
"cf_account_id": "",
"cf_api_token": ""
}
./clouds/amazon Codefresh Runner (CI) has EBS optimized caching
Required Amazon Configuration tfvars.json
{
"eks_cluster_name": "poc-demo-eks-1"
}
./clouds/azure Codefresh Runner (CI) has no caching (Coming soon)
Required Azure Configuration for tfvars.json
{
"azure_location": "",
"azure_prefix": "",
"azure_subscription": ""
}
If you have any issue with registering providers in Azure please try exporting the VAR below to your terminal
ARM_SKIP_PROVIDER_REGISTRATION=true
./clouds/google Codefresh Runner (CI) has no caching (Coming soon)
Required Google Configuration tfvars.json
{
"google_location": "",
"google_project_id": "",
"gke_cluster_name": ""
}
This requires Docker on your machine.
This also cannot be done later do to order of operations. You must add this during the initial apply.
The demo app creation can be done later.
If you're using Windows OS please add the following to your tfvars.json
{
"docker_host": "npipe:////.//pipe//docker_engine"
}
To configure Version Control for GitOps Runtime you will need a Personal Access Token and define the following:
- In your tfvars.json
{
"create_isc": true,
"github_isc": true,
"github_api_token": "ghp_..",
"github_owner": ""
}
- In gitops-runtime-values.yaml
global:
runtime:
gitCredentials:
password:
value: ghp_...
To install a demo application into your cluster enable the following flag. With this flag enabled a demo application will be installed.
- In your tfvars.json
{
"create_github_demo_app": true
}
To configure Version Control for GitOps Runtime you will need a Personal Access Token and define the following:
- In your tfvars.json
{
"create_isc": true,
"gitlab_isc": true,
"gitlab_api_token": "glpat-.."
}
- In gitops-runtime-values.yaml
global:
runtime:
gitCredentials:
password:
value: glpat-...
To install a demo application into your cluster enable the following flag. With this flag enabled a demo application will be installed.
- In your tfvars.json
{
"create_gitlab_demo_app": true
}
If you'd like to see you cloud/version control supported please create and issue in this repository.