Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: errors in otomi-db chart #1627

Merged
merged 1 commit into from
Jun 12, 2024
Merged

fix: errors in otomi-db chart #1627

merged 1 commit into from
Jun 12, 2024

Conversation

CasLubbers
Copy link
Contributor

Enabling backups with s3 configured resulted in the following errors:

in helmfile.d/helmfile-04.databases.yaml: command "/opt/homebrew/bin/helm" exited with non-zero status:

PATH:
  /opt/homebrew/bin/helm

ARGS:
  0: helm (4 bytes)
  1: --kube-context (14 bytes)
  2: otomi-eks-demo (14 bytes)
  3: template (8 bytes)
  4: harbor-otomi-db (15 bytes)
  5: ../charts/otomi-db (18 bytes)
  6: --namespace (11 bytes)
  7: harbor (6 bytes)
  8: --values (8 bytes)
  9: /var/folders/2m/5h7k3bvx20df649hd70d5j400000gq/T/helmfile3969984297/harbor-harbor-otomi-db-values-5594bdc98 (107 bytes)
  10: --skip-tests (12 bytes)

ERROR:
  exit status 1

EXIT STATUS
  1

STDERR:
  Error: YAML parse error on otomi-db/templates/cluster.yaml: error converting YAML to JSON: yaml: line 30: mapping values are not allowed in this context
  Use --debug flag to render out invalid YAML

COMBINED OUTPUT:
  Error: YAML parse error on otomi-db/templates/cluster.yaml: error converting YAML to JSON: yaml: line 30: mapping values are not allowed in this context
  Use --debug flag to render out invalid YAML

Running otomi template -l name=harbor-otomi-db now works with backups for s3 enabled

@j-zimnowoda
Copy link
Contributor

I confirm that it renders correctly now.

@j-zimnowoda j-zimnowoda merged commit 8c8bbda into main Jun 12, 2024
8 checks passed
@j-zimnowoda j-zimnowoda deleted the cas-fix-otomi-db branch June 12, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants