feat(license-validation): add application example with custom field consumption and signature validation#138
Draft
kriscoleman wants to merge 9 commits intomainfrom
Draft
feat(license-validation): add application example with custom field consumption and signature validation#138kriscoleman wants to merge 9 commits intomainfrom
kriscoleman wants to merge 9 commits intomainfrom
Conversation
Member
|
closes #85 |
2 tasks
…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>
…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>
367513e to
6e6758d
Compare
jmboby
reviewed
Apr 1, 2026
Member
|
The license-validation Pod can't reach the Replicated SDK service due to DNS But not license-validation-replicated, we need to change this in your Go app? |
jmboby
reviewed
Apr 1, 2026
- Change default SDK address from http://license-validation-replicated:3000 to http://replicated:3000 to match the actual service name deployed by the Replicated SDK subchart - Add --platform linux/amd64,linux/arm64 to docker build command so the image runs on CMX K3s clusters when built on Apple Silicon
jmboby
reviewed
Apr 1, 2026
jmboby
reviewed
Apr 1, 2026
auto-merge was automatically disabled
April 1, 2026 20:05
Pull request was converted to draft
Member
Author
|
looks like I need to circle back to this one, going to keep this in draft mode until it's ready |
Member
Author
|
@jmboby gave me some great feedback:
|
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