Skip to content

Default Config of Helm Chart should result in a working instance of OpenBao #54

@voigt

Description

@voigt

Describe the bug

Installing the OpenBao helm chart with default config results in a malfunctioning setup. The OpenBao instance starts in an uninitialized and sealed state. This is why the readiness probe (bao status) fails, and ultimately no traffic is directed to via the service.

To Reproduce

$ helm install openbao \
  --namespace openbao \
  --create-namespace \
  --debug \
  charts/openbao

Check openbao pods, openbao-0 will never become ready.

Expected behavior

I understand that it is hard to provide a production ready config for the openbao helm chart (is it?). But I think the next best would be at least a working setup, so a user can tinker with openbao on Kubernetes.

Environment

  • Kubernetes version: all
  • openbao-helm version: main

Additional context

I've been working on adding smoke test installations of the helm chart for various k8s distributions (#53). With the way openbao-helm currently installs openbao, the tests would be insufficient/meaningless.
My current idea is to exec into the pod and initialize/unseal the instance. But I feel like this shouldn't be part of the test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions