forked from operator-framework/operator-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tiltfile
23 lines (19 loc) · 744 Bytes
/
Tiltfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if not os.path.exists('../tilt-support'):
fail('Please clone https://github.com/operator-framework/tilt-support to ../tilt-support')
load('../tilt-support/Tiltfile', 'deploy_repo')
config.define_string_list('repos', args=True)
cfg = config.parse()
repos = cfg.get('repos', ['operator-controller', 'catalogd'])
repo = {
'image': 'quay.io/operator-framework/operator-controller',
'yaml': 'config/overlays/cert-manager',
'binaries': {
'manager': 'operator-controller-controller-manager',
},
'starting_debug_port': 30000,
}
for r in repos:
if r == 'operator-controller':
deploy_repo('operator-controller', repo, '-tags containers_image_openpgp')
else:
include('../{}/Tiltfile'.format(r))