Skip to content

Commit fbb08ca

Browse files
Merge pull request #55 from aa-replicated/demo/tier4
fix: airgap bundle and SDK registry for EC3 airgap installs
2 parents 92dba94 + 202d4a6 commit fbb08ca

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

FRICTION.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,8 @@
116116
1. if you don't have configurations set up, the whole thing is stuck and the text reporting the error is very faint and hard to read.
117117
2. it's not clear why I need a kots yaml file for an EC install
118118
3. preflights on a fresh VM fail fast. It seems there's easily scripted fixes we could provide to streamline the onboarding
119+
4. Host preflights run during in-place upgrades and fail on ports already in use by the running cluster (e.g. etcd on 2379/TCP). These checks should be skipped for upgrades since the cluster is already installed — flagging in-use ports as blockers on an existing node is incorrect behavior and blocks the upgrade flow in the web UI.
120+
5. In-place upgrade via the web UI fails because EC3 attempts to reinstall k0s rather than upgrade the existing cluster. The UI shows "installation" state during what should be an upgrade flow, then errors on k0s already being present. Upgrade appears to not be supported or is broken in this EC3 alpha version.
121+
6. **`ReplicatedImageRegistry` docs don't distinguish behavior by image origin** — The docs show using `ReplicatedImageRegistry (HelmValue ".replicated.image.registry")` to handle the replicated SDK image for airgap. This implies the function works uniformly for all images regardless of origin. In practice, calling `ReplicatedImageRegistry` on `proxy.replicated.com` (the SDK's native registry) in beta.1 does not work: without `noProxy=true` it produces a doubled proxy URL (`proxy.replicated.com/proxy/gameshelf/proxy.replicated.com/...`); with `noProxy=true` it returns an empty string for online installs, causing the image to resolve to `docker.io/library/replicated-sdk-image` (wrong). The SDK chart already uses `proxy.replicated.com` natively and works without any `helmchart.yaml` override — EC3 handles routing for it automatically. The docs don't make clear that the replicated SDK image is a special case that should be left alone. Resolution: removed the `replicated.image.registry` override entirely. ~3 hours of debugging across multiple PRs.
119122

120123

chart/gameshelf/values.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ postgresql:
6868
enabled: true
6969
image:
7070
registry: proxy.replicated.com/proxy/gameshelf/index.docker.io
71-
volumePermissions:
72-
image:
73-
registry: proxy.replicated.com/proxy/gameshelf/index.docker.io
7471
auth:
7572
database: gameshelf
7673
username: gameshelf

helmchart.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,19 @@ spec:
1717
registry: 'repl{{ ReplicatedImageRegistry "ghcr.io" }}'
1818
repository: 'aa-replicated/gameshelf'
1919
pullPolicy: IfNotPresent
20+
replicated:
21+
image:
22+
registry: 'repl{{- if HasLocalRegistry }}{{ LocalRegistryHost }}{{- else }}proxy.replicated.com{{- end }}'
2023
postgresql:
2124
image:
2225
registry: 'repl{{ ReplicatedImageRegistry "index.docker.io" }}'
23-
volumePermissions:
24-
image:
25-
registry: 'repl{{ ReplicatedImageRegistry "index.docker.io" }}'
2626
redis:
2727
image:
2828
registry: 'repl{{ ReplicatedImageRegistry "index.docker.io" }}'
2929
builder:
30+
image:
31+
registry: "ghcr.io"
32+
repository: "aa-replicated/gameshelf"
3033
postgresql:
3134
image:
3235
registry: "docker.io"

0 commit comments

Comments
 (0)