Docs: Add an offline install section to Maintain OpenBao
What does this MR do?
Adds a section to Maintain OpenBao that says how to install OpenBao in an external cluster with no internet access. It covers downloading the chart, copying the container image, checking which images the chart uses, and installing from an internal registry. The back up section now says to restore the OpenBao database before OpenBao first starts. No other page changes.
flowchart LR
subgraph online["Machine with internet access"]
A["helm pull<br/>chart archive"]
B["skopeo copy<br/>image archive"]
end
subgraph offline["Offline environment"]
C["skopeo copy --all<br/>into internal registry"]
D["Optional: helm template<br/>--skip-schema-validation"]
E["helm upgrade --install<br/>--skip-schema-validation"]
end
A -->|move| D
B -->|move| C
C --> D
D --> EVerification table
All chart sources are at gitlab-org/cloud-native/charts/openbao commit cd83f90434b015757f1a49311139a43c63d0a772 (chart 1.2.2, appVersion v2.6.2-gitlab2).
The page edit is against gitlab-org/gitlab commit 6e415bfff5b986588319d2a694fb6c84633f755e.
| Claim | Source |
|---|---|
Default image is registry.gitlab.com/gitlab-org/build/cng/gitlab-openbao |
values.yaml:18 |
Tag is image.tag or appVersion, followed by global.image.tagSuffix |
templates/_helpers.tpl:138-143, values.yaml:22, values.yaml:7 |
imagePullSecrets is the pull-secret key |
values.yaml:24 |
| The deployment uses this one image | templates/deployment.yaml:45 |
helm test uses busybox |
templates/tests/test-connection.yaml:12 |
| Namespace and values file match the external-cluster install | doc/administration/secrets_manager/linux_package_integration.md, "Install OpenBao by using Helm", external cluster tab |
helm template with the page's values file, image.repository and imagePullSecrets renders <repository>:v2.6.2-gitlab2, the pull secret and busybox |
ran on chart 1.2.2 with Helm 4.3.2 |
skopeo copy --all to oci-archive:<file>:<tag> keeps the tag, and the archive reads back |
ran against v2.6.2-gitlab2 |
| The image has more than one platform | skopeo inspect of v2.6.2-gitlab2 |
skopeo copy --all from the archive into a registry works, a pull by digest works, and the registry digest differs from the upstream digest |
ran with outbound traffic blocked, into registry:2 |
Without internet access, helm template and helm upgrade fail on the schema's remote $refs unless you add --skip-schema-validation |
ran with Helm 4.3.2 and outbound traffic blocked |
| If OpenBao starts on an empty database after a restore, CI/CD jobs that read secrets fail with 403, and restoring the database before the first start works | ran on a GitLab 19.6.1 Linux package instance |
Related issues
None.
Author's checklist
- Optional. Consider taking the GitLab Technical Writing Fundamentals course.
- Follow the:
- If you're adding a new page, add the product availability details under the H1 topic title.
- If you are a GitLab team member, request a review based on:
- The documentation page's metadata.
- The associated Technical Writer.
If you are a GitLab team member and only adding documentation, do not add any of the following labels:
~"frontend"~"backend"~"type::bug"~"database"
These labels cause the MR to be added to code verification QA issues.
Reviewer's checklist
Documentation-related MRs should be reviewed by a Technical Writer for a non-blocking review, based on Documentation Guidelines and the Style Guide.
If you aren't sure which tech writer to ask, use roulette or ask in the #docs Slack channel.
- If the content requires it, ensure the information is reviewed by a subject matter expert.
- Technical writer review items:
- Ensure docs metadata is present and up-to-date.
- Ensure the appropriate labels are added to this MR.
- Ensure a release milestone is set.
- If relevant to this MR, ensure content topic type principles are in use, including:
- The headings should be something you'd do a Google search for. Instead of
Default behavior, say something likeDefault behavior when you close an issue. - The headings (other than the page title) should be active. Instead of
Configuring GDK, say something likeConfigure GDK. - Any task steps should be written as a numbered list.
- If the content still needs to be edited for topic types, you can create a follow-up issue with the docs-technical-debt label.
- The headings should be something you'd do a Google search for. Instead of
- Review by assigned maintainer, who can always request/require the reviews above. Maintainer's review can occur before or after a technical writer review.
AI disclosure
An AI coding assistant wrote this change. The assistant also checked each claim against the chart files
and the Linux package page named above, ran helm template, helm show chart and skopeo copy on the
commands shown, and ran Vale and markdownlint-cli2 with the repository's configuration on the changed page.