orkestra/Tiltfile

28 строки
688 B
Plaintext

load('ext://kubebuilder', 'kubebuilder')
kubebuilder("azure.microsoft.com", "orkestra", "v1beta1", "*")
load('ext://namespace', 'namespace_yaml')
k8s_yaml(namespace_yaml("orkestra"),allow_duplicates=True)
compile_cmd = 'CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o manager main.go'
local_resource(
'azureorkestra/orkestra',
compile_cmd,
deps=['main.go'])
docker_build(
'azureorkestra/orkestra',
'.',
dockerfile='Dockerfile')
yaml = helm(
'chart/orkestra',
name='orkestra',
namespace='orkestra',
values=['./chart/orkestra/values.yaml'],
)
k8s_yaml(yaml,allow_duplicates=True)
k8s_yaml(['./config/samples/dev-applicationgroup.yaml'],allow_duplicates=True)