Skip to content

fix(flipt): rewrite license docs to use Replicated CLI commands#143

Draft
kriscoleman wants to merge 2 commits intomainfrom
kriscoleman/fix-flipt-license-docs
Draft

fix(flipt): rewrite license docs to use Replicated CLI commands#143
kriscoleman wants to merge 2 commits intomainfrom
kriscoleman/fix-flipt-license-docs

Conversation

@kriscoleman
Copy link
Copy Markdown
Member

@kriscoleman kriscoleman commented Mar 30, 2026

Summary

  • Flipt getting started docs referenced non-existent scripts (./scripts/setup-dev-license.sh, ./scripts/install.sh), Makefile targets (install-with-license, clean-license), and env var workflows (.replicated/license.env) that were never created
  • Replaced with a deterministic flow: replicated customer createreplicated customer download-licensehelm install --set-file replicated.license=license.yaml
  • Updated QUICKSTART.md, TROUBLESHOOTING.md, and DEVELOPMENT_LICENSE.md to use consistent, working commands
  • Simplified QUICKSTART.md to use make update-deps instead of manual repo-add commands

Test plan

  • Verify replicated customer create + replicated customer download-license flow works end-to-end
  • Verify helm install --set-file replicated.license=license.yaml correctly passes the license to the Replicated SDK
  • Review all three docs for broken links or references

🤖 Generated with Claude Code

The getting started docs referenced non-existent scripts
(./scripts/setup-dev-license.sh, ./scripts/install.sh), Makefile
targets (install-with-license, clean-license), and env var workflows
(.replicated/license.env) that were never created. Replaced with the
deterministic flow: create a customer, download the license file via
`replicated customer download-license`, and pass it to helm via
`--set-file replicated.license=license.yaml`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jmboby
jmboby previously approved these changes Mar 30, 2026
Copy link
Copy Markdown
Member

@jmboby jmboby left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for this @kriscoleman !

replicated customer download-license \
--app flipt \
--customer "$CUSTOMER_NAME" \
--output license.yaml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No doubt you will find this too but it wants to use the customer id instead of name:

Error: find customer "dev-jwilson": get customer by name: customer "dev-jwilson" is ambiguous, please use customer ID

--namespace flipt \
--create-namespace \
--set-file replicated.license=license.yaml \
--wait --timeout 15m
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This worked as expected in my testing

Co-authored-by: James Wilson <14128934+jmboby@users.noreply.github.com>
@kriscoleman kriscoleman changed the title fix(flipt): rewrite license docs to use actual CLI commands fix(flipt): rewrite license docs to use CLI commands Mar 31, 2026
@kriscoleman kriscoleman changed the title fix(flipt): rewrite license docs to use CLI commands fix(flipt): rewrite license docs to use Replicated CLI commands Mar 31, 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.

2 participants