Skip to content

Commit c849057

Browse files
committed
Revert being explicit about multi-arch, manifest images handle that transparently
1 parent ac03652 commit c849057

File tree

12 files changed

+16
-80
lines changed

12 files changed

+16
-80
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,10 @@ kubectl create secret generic nix-builder-ssh-keys \
2727

2828
### Deploying the Controller and Proxy
2929

30-
Deploy components to the cluster using Kustomize, selecting the appropriate architecture overlay:
30+
Deploy components to the cluster using Kustomize:
3131

3232
```sh
33-
# For ARM64 clusters (e.g., Apple Silicon, AWS Graviton)
34-
kubectl apply -k deploy/overlays/aarch64
35-
36-
# For x86_64 clusters
37-
kubectl apply -k deploy/overlays/x86_64
33+
kubectl apply -k deploy
3834
```
3935

4036
### Configuring Your Nix Client
@@ -169,11 +165,11 @@ Phases: `Pending` → `Creating` → `Running` → `Completed`/`Failed`
169165

170166
### Customizing Builder Resources
171167

172-
Edit `deploy/base/controller-deployment.yaml` to set default resource requests/limits, or configure them per-build through the CRD spec.
168+
Edit `deploy/controller-deployment.yaml` to set default resource requests/limits, or configure them per-build through the CRD spec.
173169

174170
### Customizing Nix Configuration
175171

176-
Edit `deploy/base/nix-config.yaml` to modify the `nix.conf` mounted in builder pods:
172+
Edit `deploy/nix-config.yaml` to modify the `nix.conf` mounted in builder pods:
177173

178174
```yaml
179175
data:

deploy/base/kustomization.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
image: controller
2020
imagePullPolicy: Always
2121
args:
22-
- --builder-image=builder:latest
22+
- --builder-image=ghcr.io/omarjatoi/nix-remote-build-controller/builder:latest
2323
- --remote-port=22
2424
- --nix-config=nix-builder-config
2525
- --ssh-key-secret=nix-builder-ssh-keys
File renamed without changes.
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
resources:
5-
- ../../base
5+
- crd.yaml
6+
- rbac.yaml
7+
- controller-deployment.yaml
8+
- nix-config.yaml
9+
- proxy-deployment.yaml
610

7-
patches:
8-
- path: builder-image-patch.yaml
11+
commonLabels:
12+
app.kubernetes.io/name: nix-remote-build-controller
13+
app.kubernetes.io/version: latest
914

1015
images:
1116
- name: controller
12-
newName: ghcr.io/omarjatoi/nix-remote-build-controller/controller-x86_64
17+
newName: ghcr.io/omarjatoi/nix-remote-build-controller/controller
1318
newTag: latest
1419
- name: proxy
15-
newName: ghcr.io/omarjatoi/nix-remote-build-controller/proxy-x86_64
20+
newName: ghcr.io/omarjatoi/nix-remote-build-controller/proxy
1621
newTag: latest
1722
- name: builder
18-
newName: ghcr.io/omarjatoi/nix-remote-build-controller/builder-x86_64
23+
newName: ghcr.io/omarjatoi/nix-remote-build-controller/builder
1924
newTag: latest

deploy/overlays/aarch64/builder-image-patch.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

deploy/overlays/aarch64/kustomization.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

deploy/overlays/x86_64/builder-image-patch.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)