feat(license-validation): add application example with custom field consumption and signature validation#114
Closed
kriscoleman wants to merge 4 commits intoreplicatedhq:mainfrom
Closed
Conversation
…m license field consumption and signature validation This new example application showcases the full lifecycle of custom Replicated license field consumption and cryptographic validation: - A Go web dashboard that consumes edition tier (community/trial/enterprise) and seat_count entitlements from the Replicated SDK - Cryptographic signature validation (RSA-PSS/SHA-256) on each license field to detect tampering - Observable behavioral enforcement: UI theme changes by edition tier, features gate by license tier, seat usage meter with color-coded warnings, and complete feature lockdown on invalid signatures or expired licenses - Full Helm chart with Replicated SDK subchart dependency, KOTS integration, preflight checks, and support bundles - Comprehensive README with demo walkthrough using Replicated Vendor Portal and Compatibility Matrix clusters - Dockerfile and Taskfile for easy build and release automation Follows the monolithic pattern established by storagebox and mlflow with the four-way contract: development-values ↔ kots-config ↔ HelmChart CR ↔ chart values. Closes #3 Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Member
Author
|
I should add replicated CI/CD here like we did in other examples |
…through + add CI workflow - Switch image from ghcr.io to ttl.sh for demo accessibility - Disable minimal RBAC to fix preflight check permissions - Fix README: correct vendor portal paths, kubeconfig CLI syntax, add license download step, add /unstable channel to KOTS install - Add sbom/ to .gitignore - Add GitHub Actions CI workflow (lint, build, Helm install test, KOTS install test, cleanup) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tform CI Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
Author
|
Superseded by #138, which is now opened directly against replicatedhq/platform-examples. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New example application demonstrating the full lifecycle of consuming custom Replicated license fields and validating their cryptographic signatures:
editiontier andseat_countentitlements from the Replicated SDKTest Plan
app/main.go) for signature validation logic and license field handling