Skip to content

Commit 7c2163f

Browse files
Merge pull request #37 from aa-replicated/fix/sdk-alias
fix: remove gameshelf-sdk alias so SDK receives license in EC installs
2 parents 169377b + f7d9529 commit 7c2163f

5 files changed

Lines changed: 8 additions & 9 deletions

File tree

chart/gameshelf/Chart.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ appVersion: "0.1.0"
77

88
dependencies:
99
- name: replicated
10-
alias: gameshelf-sdk
1110
version: ~1.19
1211
repository: oci://registry.replicated.com/library
13-
condition: gameshelf-sdk.enabled
12+
condition: replicated.enabled
1413
- name: postgresql
1514
version: ~18.5
1615
repository: https://charts.bitnami.com/bitnami

chart/gameshelf/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ spec:
6262
name: {{ include "gameshelf.fullname" . }}
6363
key: admin-secret
6464
- name: SDK_SERVICE_URL
65-
value: "http://gameshelf-sdk:3000"
65+
value: "http://replicated:3000"
6666
livenessProbe:
6767
httpGet:
6868
path: /healthz

chart/gameshelf/templates/support-bundle.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ stringData:
4242
maxLines: 5000
4343
maxAge: 72h
4444
- logs:
45-
collectorName: gameshelf-sdk
45+
collectorName: replicated-sdk
4646
selector:
47-
- app=gameshelf-sdk
47+
- app=replicated
4848
namespace: {{ .Release.Namespace }}
4949
limits:
5050
maxLines: 5000
@@ -87,12 +87,12 @@ stringData:
8787
- pass:
8888
message: GameShelf deployment is running with at least one available replica.
8989
- deploymentStatus:
90-
name: gameshelf-sdk
90+
name: replicated
9191
namespace: {{ .Release.Namespace }}
9292
outcomes:
9393
- fail:
9494
when: "< 1"
95-
message: "The Replicated SDK deployment has no available replicas. License validation and entitlement checks may not work. Check the gameshelf-sdk pod logs."
95+
message: "The Replicated SDK deployment has no available replicas. License validation and entitlement checks may not work. Check the replicated pod logs."
9696
- pass:
9797
message: Replicated SDK deployment is running.
9898
- statefulsetStatus:

chart/gameshelf/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ preflight:
120120
minMemory: 4Gi
121121
requiredEndpoint: "https://replicated.app"
122122

123-
gameshelf-sdk:
123+
replicated:
124124
enabled: true
125125

126126
# --- BYO Redis ---

helmchart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
name: gameshelf
88
chartVersion: "0.0.0"
99
values:
10-
gameshelf-sdk:
10+
replicated:
1111
integrationLicenseID: repl{{ LicenseFieldValue `licenseID` }}
1212
adminSecret: repl{{ ConfigOption `admin_secret`}}
1313
siteName: repl{{ ConfigOption `site_name`}}

0 commit comments

Comments
 (0)