Skip to content

Commit 59ff7f0

Browse files
authored
don't build dependencies when installing from repo (#59)
1 parent 6eb387e commit 59ff7f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

installer-plugin/installer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ def main() -> None:
106106
repo_commands.append(["helm", "repo", "add", "grafana", "https://grafana.github.io/helm-charts"])
107107
if merged_values.get("opentelemetry-collector", {}).get("enabled", False):
108108
repo_commands.append(["helm", "repo", "add", "opentelemetry", "https://open-telemetry.github.io/opentelemetry-helm-charts"])
109-
repo_commands.append(["helm", "dependency", "build", chart_source])
109+
if args.local:
110+
repo_commands.append(["helm", "dependency", "build", chart_source])
110111

111112
for cmd in repo_commands:
112113
logger.info(f"\nExecuting: {' '.join(cmd)}")

0 commit comments

Comments
 (0)