Skip to content

Commit f78dc53

Browse files
committed
Fix file paths and adjust labels/parameters in Tiltfiles
- Corrected the relative path for `cons.Tiltfile` in the main `Tiltfile` to fix a loading issue. - Updated `tools_labels` to replace `pocketdex-db` with `pocketdex-tools` for consistency. - Adjusted `pgadmin` port forward from port `50` to `80` for proper web interface accessibility. - Replaced `apps_labels` with `tools_labels` for better alignment in `deployment` configurations.
1 parent 1e883ae commit f78dc53

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Tiltfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ load('ext://dotenv', 'dotenv')
22
load('./tilt/Tiltfile', 'pocketdex')
33
load('./tilt/utils.Tiltfile', 'build_indexer_params_overwrite')
44
load(
5-
'.tilt/cons.Tiltfile',
5+
'./tilt/cons.Tiltfile',
66
'mainnet',
77
'testnet_beta',
88
'testnet_alpha',
@@ -41,7 +41,7 @@ pocketdex(
4141
pgadmin_email=pgadmin_email,
4242
pgadmin_password=pgadmin_password,
4343
apps_labels=['pocketdex'],
44-
tools_labels=['pocketdex-db'],
44+
tools_labels=['pocketdex-tools'],
4545
helm_repo_labels=['pocketdex-helm-repo'],
4646
only_db=only_db == 'yes'
4747
)

tilt/Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def pocketdex(
112112
kustomize_path=static_kustomize_path,
113113
kustomize_flags=static_kustomize_flags,
114114
genesis_file_path=genesis_file_path,
115-
labels=apps_labels
115+
labels=tools_labels
116116
)
117117

118118
deploy_commons(

tilt/tools/pgadmin/Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def deploy_pgadmin(
4242
'--set=env.password={}'.format(password)
4343
],
4444
port_forwards=[
45-
port_forward(5050, 50, name='PgAdmin4 Web')
45+
port_forward(5050, 80, name='PgAdmin4 Web')
4646
],
4747
pod_readiness='wait',
4848
resource_deps=['helm-repo-runix', 'postgresql'],

0 commit comments

Comments
 (0)