From f7d9529ba63a015a0c6dbf64894d54b1950e1d20 Mon Sep 17 00:00:00 2001 From: mayor Date: Sun, 12 Apr 2026 12:39:42 -0400 Subject: [PATCH] fix: remove gameshelf-sdk alias so SDK receives license in EC installs The alias caused the Replicated SDK to not receive the license in Embedded Cluster installs. Removing the alias so the subchart uses its default name 'replicated'. - Chart.yaml: remove alias, update condition to replicated.enabled - values.yaml: rename gameshelf-sdk key to replicated - helmchart.yaml: rename gameshelf-sdk key to replicated - deployment.yaml: update SDK_SERVICE_URL to http://replicated:3000 - support-bundle.yaml: update selectors and deployment name Co-Authored-By: Claude Sonnet 4.6 --- chart/gameshelf/Chart.yaml | 3 +-- chart/gameshelf/templates/deployment.yaml | 2 +- chart/gameshelf/templates/support-bundle.yaml | 8 ++++---- chart/gameshelf/values.yaml | 2 +- helmchart.yaml | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/chart/gameshelf/Chart.yaml b/chart/gameshelf/Chart.yaml index ccba752..81eb42d 100644 --- a/chart/gameshelf/Chart.yaml +++ b/chart/gameshelf/Chart.yaml @@ -7,10 +7,9 @@ appVersion: "0.1.0" dependencies: - name: replicated - alias: gameshelf-sdk version: ~1.19 repository: oci://registry.replicated.com/library - condition: gameshelf-sdk.enabled + condition: replicated.enabled - name: postgresql version: ~18.5 repository: https://charts.bitnami.com/bitnami diff --git a/chart/gameshelf/templates/deployment.yaml b/chart/gameshelf/templates/deployment.yaml index ccbd2cc..d641a35 100644 --- a/chart/gameshelf/templates/deployment.yaml +++ b/chart/gameshelf/templates/deployment.yaml @@ -62,7 +62,7 @@ spec: name: {{ include "gameshelf.fullname" . }} key: admin-secret - name: SDK_SERVICE_URL - value: "http://gameshelf-sdk:3000" + value: "http://replicated:3000" livenessProbe: httpGet: path: /healthz diff --git a/chart/gameshelf/templates/support-bundle.yaml b/chart/gameshelf/templates/support-bundle.yaml index ecaceaa..48c27f0 100644 --- a/chart/gameshelf/templates/support-bundle.yaml +++ b/chart/gameshelf/templates/support-bundle.yaml @@ -42,9 +42,9 @@ stringData: maxLines: 5000 maxAge: 72h - logs: - collectorName: gameshelf-sdk + collectorName: replicated-sdk selector: - - app=gameshelf-sdk + - app=replicated namespace: {{ .Release.Namespace }} limits: maxLines: 5000 @@ -87,12 +87,12 @@ stringData: - pass: message: GameShelf deployment is running with at least one available replica. - deploymentStatus: - name: gameshelf-sdk + name: replicated namespace: {{ .Release.Namespace }} outcomes: - fail: when: "< 1" - message: "The Replicated SDK deployment has no available replicas. License validation and entitlement checks may not work. Check the gameshelf-sdk pod logs." + message: "The Replicated SDK deployment has no available replicas. License validation and entitlement checks may not work. Check the replicated pod logs." - pass: message: Replicated SDK deployment is running. - statefulsetStatus: diff --git a/chart/gameshelf/values.yaml b/chart/gameshelf/values.yaml index 43063af..28ba7da 100644 --- a/chart/gameshelf/values.yaml +++ b/chart/gameshelf/values.yaml @@ -120,7 +120,7 @@ preflight: minMemory: 4Gi requiredEndpoint: "https://replicated.app" -gameshelf-sdk: +replicated: enabled: true # --- BYO Redis --- diff --git a/helmchart.yaml b/helmchart.yaml index 95aa549..94e52b1 100644 --- a/helmchart.yaml +++ b/helmchart.yaml @@ -7,7 +7,7 @@ spec: name: gameshelf chartVersion: "0.0.0" values: - gameshelf-sdk: + replicated: integrationLicenseID: repl{{ LicenseFieldValue `licenseID` }} adminSecret: repl{{ ConfigOption `admin_secret`}} siteName: repl{{ ConfigOption `site_name`}}