Skip to content

Fix --base64encode flag drift in image pull secret docs#791

Closed
jamsea wants to merge 4 commits into
mainfrom
docs/ghcr-image-pull-secret
Closed

Fix --base64encode flag drift in image pull secret docs#791
jamsea wants to merge 4 commits into
mainfrom
docs/ghcr-image-pull-secret

Conversation

@jamsea
Copy link
Copy Markdown
Contributor

@jamsea jamsea commented May 5, 2026

Summary

The CLI flag for pipecat cloud secrets image-pull-secret is --encode (default true), not --base64encode. Three pages referenced the wrong flag name and framed encoding as opt-in when it's actually the default.

Updates the wording on all three to match the CLI reference: encoding happens by default; pass --encode=false to opt out.

Files changed

  • pipecat-cloud/fundamentals/secrets.mdx
  • pipecat-cloud/guides/container-registries/docker-hub.mdx
  • pipecat-cloud/security/security-and-compliance.mdx (two occurrences)

Test plan

  • grep -rn base64encode docs returns 0 hits (verified locally)
  • Mintlify build of the three pages renders the corrected wording

🤖 Generated with Claude Code

@mintlify
Copy link
Copy Markdown

mintlify Bot commented May 5, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
daily 🟢 Ready View Preview May 5, 2026, 9:36 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

The CLI flag is --encode (default true), not --base64encode. Three pages
referenced the wrong flag name and framed encoding as opt-in when it's
the default. Updates the wording to match the CLI reference: encoding
happens by default; pass --encode=false to opt out.

Affects:
- pipecat-cloud/fundamentals/secrets.mdx
- pipecat-cloud/guides/container-registries/docker-hub.mdx
- pipecat-cloud/security/security-and-compliance.mdx (two occurrences)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jamsea jamsea force-pushed the docs/ghcr-image-pull-secret branch from d1f5a37 to 3aca637 Compare May 5, 2026 09:39
@jamsea jamsea changed the title Add GitHub Container Registry guide and fix encode flag drift Fix --base64encode flag drift in image pull secret docs May 5, 2026
@jamsea jamsea marked this pull request as ready for review May 5, 2026 09:41
@jamsea jamsea requested review from Copilot and markbackman and removed request for Copilot May 5, 2026 09:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Pipecat Cloud documentation to reflect the correct CLI flag for pipecat cloud secrets image-pull-secret: credentials are base64-encoded by default via --encode (default true), and users can opt out with --encode=false.

Changes:

  • Replaced incorrect --base64encode references with --encode=false.
  • Updated wording to clarify that base64 encoding is the default behavior (not opt-in).
  • Adjusted example/snippet text in security guidance to align with the CLI’s default encoding behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
pipecat-cloud/fundamentals/secrets.mdx Updates image pull secret docs to reflect default base64 encoding and the --encode=false opt-out.
pipecat-cloud/guides/container-registries/docker-hub.mdx Aligns Docker Hub guide wording with the correct flag name and default encoding behavior.
pipecat-cloud/security/security-and-compliance.mdx Updates security guidance examples and Tip callout to use --encode=false and describe default encoding.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pipecat-cloud/fundamentals/secrets.mdx Outdated
Comment thread pipecat-cloud/guides/container-registries/docker-hub.mdx Outdated
Comment thread pipecat-cloud/security/security-and-compliance.mdx Outdated
Comment thread pipecat-cloud/security/security-and-compliance.mdx Outdated
jamsea and others added 2 commits May 5, 2026 17:51
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…docs

Mirrors the Copilot Autofix that landed on secrets.mdx and docker-hub.mdx:
describe `--encode=false` as "store credentials without base64 encoding"
rather than "use only if your credentials are already encoded." The CLI
takes raw `username:password` and the flag controls whether the CLI
encodes them for storage; the original wording could mislead readers
into pre-encoding their credentials.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@markbackman markbackman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to close this out and open a separate PR with a slightly different solution:
#797


Running this command will prompt you for account credentials.
You can optionally encode your credentials in base64 with the `--base64encode` flag.
Credentials are base64-encoded by default; pass `--encode=false` to store them without base64 encoding.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--encode=false isn't an option.

@markbackman markbackman closed this May 5, 2026
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.

3 participants