github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/k8s/examples/deployment_part_cdk8s/cmd/env.go (about) 1 package main 2 3 import ( 4 "github.com/smartcontractkit/chainlink-testing-framework/libs/k8s/environment" 5 "github.com/smartcontractkit/chainlink-testing-framework/libs/k8s/examples/deployment_part_cdk8s" 6 "github.com/smartcontractkit/chainlink-testing-framework/libs/k8s/pkg/helm/chainlink" 7 "github.com/smartcontractkit/chainlink-testing-framework/libs/k8s/pkg/helm/ethereum" 8 ) 9 10 func main() { 11 e := environment.New(nil). 12 AddChart(deployment_part_cdk8s.New(&deployment_part_cdk8s.Props{})). 13 AddHelm(ethereum.New(nil)). 14 AddHelm(chainlink.New(0, map[string]interface{}{ 15 "replicas": 2, 16 })) 17 if err := e.Run(); err != nil { 18 panic(err) 19 } 20 e.Shutdown() 21 }