Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/cli/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ fn run_inner(args: RunArgs, run_dir: &Path) -> Result<()> {

if args.config_only {
println!("==> Generating Helm values...");
let helm_values = generate_helm_values(&spec, &vc)?;
let mut helm_values = generate_helm_values(&spec, &vc)?;
helm_values.prometheus.enabled = !args.skip_metrics;
write_helm_values(&helm_values, &args.output_dir)?;
generate_pod_secrets(&vc, &spec.namespace, &args.output_dir)?;
println!("\nConfig generated in {}", args.output_dir.display());
Expand Down Expand Up @@ -243,7 +244,8 @@ fn run_inner(args: RunArgs, run_dir: &Path) -> Result<()> {

// Step 5: Generate Helm values
println!("==> Generating Helm values...");
let helm_values = generate_helm_values(&spec, &vc)?;
let mut helm_values = generate_helm_values(&spec, &vc)?;
helm_values.prometheus.enabled = !args.skip_metrics;
write_helm_values(&helm_values, &args.output_dir)?;
generate_pod_secrets(&vc, &spec.namespace, &args.output_dir)?;

Expand Down
4 changes: 2 additions & 2 deletions src/config/clients.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ pub fn build_args(
"zeam" => {
args.extend_from_slice(&[
"node".into(),
"--custom_genesis".into(),
"--custom-genesis".into(),
"/config".into(),
"--validator_config".into(),
"--validator-config".into(),
"/config".into(),
"--data-dir".into(),
"/data".into(),
Expand Down