From 97730659a82d28ff8ee1405aab30f39986db2cb6 Mon Sep 17 00:00:00 2001 From: Giovanni Ferri Date: Mon, 24 Aug 2026 14:58:19 +0100 Subject: [PATCH 1/2] feat(gitops): declare Imp deployment for unraid-lab --- .../unraid-lab/apps/imp-crds/application.yaml | 22 ++++++++++++++ .../apps/imp-namespace/application.yaml | 22 ++++++++++++++ .../imp-namespace/manifests/namespace.yaml | 8 +++++ clusters/unraid-lab/apps/imp/application.yaml | 30 +++++++++++++++++++ values/clusters/unraid-lab/imp.yaml | 14 +++++++++ 5 files changed, 96 insertions(+) create mode 100644 clusters/unraid-lab/apps/imp-crds/application.yaml create mode 100644 clusters/unraid-lab/apps/imp-namespace/application.yaml create mode 100644 clusters/unraid-lab/apps/imp-namespace/manifests/namespace.yaml create mode 100644 clusters/unraid-lab/apps/imp/application.yaml create mode 100644 values/clusters/unraid-lab/imp.yaml diff --git a/clusters/unraid-lab/apps/imp-crds/application.yaml b/clusters/unraid-lab/apps/imp-crds/application.yaml new file mode 100644 index 0000000..14c0054 --- /dev/null +++ b/clusters/unraid-lab/apps/imp-crds/application.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: imp-crds + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: "1" +spec: + project: default + source: + repoURL: https://github.com/syscode-labs/imp.git + targetRevision: 7e81cfdc7968b993ebdc0f94f77b2dc3ef12d419 # v0.6.0 + path: config/crd/bases + destination: + server: https://kubernetes.default.svc + namespace: imp-system + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - ServerSideApply=true diff --git a/clusters/unraid-lab/apps/imp-namespace/application.yaml b/clusters/unraid-lab/apps/imp-namespace/application.yaml new file mode 100644 index 0000000..c14aea9 --- /dev/null +++ b/clusters/unraid-lab/apps/imp-namespace/application.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: imp-namespace + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: "0" +spec: + project: default + source: + repoURL: https://github.com/syscode-labs/syscode-homelab-gitops-apps.git + targetRevision: HEAD + path: clusters/unraid-lab/apps/imp-namespace/manifests + destination: + server: https://kubernetes.default.svc + namespace: imp-system + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/clusters/unraid-lab/apps/imp-namespace/manifests/namespace.yaml b/clusters/unraid-lab/apps/imp-namespace/manifests/namespace.yaml new file mode 100644 index 0000000..4712347 --- /dev/null +++ b/clusters/unraid-lab/apps/imp-namespace/manifests/namespace.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: imp-system + labels: + pod-security.kubernetes.io/enforce: privileged + pod-security.kubernetes.io/audit: privileged + pod-security.kubernetes.io/warn: privileged diff --git a/clusters/unraid-lab/apps/imp/application.yaml b/clusters/unraid-lab/apps/imp/application.yaml new file mode 100644 index 0000000..80d910a --- /dev/null +++ b/clusters/unraid-lab/apps/imp/application.yaml @@ -0,0 +1,30 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: imp + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: "2" +spec: + project: default + sources: + - repoURL: https://github.com/syscode-labs/imp.git + targetRevision: 7e81cfdc7968b993ebdc0f94f77b2dc3ef12d419 # v0.6.0 + path: charts/imp + helm: + releaseName: imp + valueFiles: + - $values/values/clusters/unraid-lab/imp.yaml + - repoURL: https://github.com/syscode-labs/syscode-homelab-gitops-apps.git + targetRevision: HEAD + ref: values + destination: + server: https://kubernetes.default.svc + namespace: imp-system + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true diff --git a/values/clusters/unraid-lab/imp.yaml b/values/clusters/unraid-lab/imp.yaml new file mode 100644 index 0000000..4a37c4d --- /dev/null +++ b/values/clusters/unraid-lab/imp.yaml @@ -0,0 +1,14 @@ +operator: + image: + repository: ghcr.io/syscode-labs/imp-operator@sha256:191c0093b387ce7e3f323e3b21c15de1b8f61464db63a586253c0893763b14aa + +agent: + image: + repository: ghcr.io/syscode-labs/imp-agent@sha256:cdcbd5dc52c7d61e9e6a34aed0f0dff53fa5b1d883b15127b6b3e00ca6e990e3 + env: + kernelPath: /usr/local/share/imp/vmlinux + +kvm: + preflight: + enabled: true + minVerifiedNodes: 3 From c3c88e75a022b1d5cd5051dc93790a09df438bf1 Mon Sep 17 00:00:00 2001 From: Giovanni Ferri Date: Mon, 24 Aug 2026 15:26:55 +0100 Subject: [PATCH 2/2] fix(gitops): pin Imp release artifacts --- clusters/unraid-lab/apps/imp-crds/application.yaml | 2 +- clusters/unraid-lab/apps/imp/application.yaml | 2 +- values/clusters/unraid-lab/imp.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clusters/unraid-lab/apps/imp-crds/application.yaml b/clusters/unraid-lab/apps/imp-crds/application.yaml index 14c0054..81fb922 100644 --- a/clusters/unraid-lab/apps/imp-crds/application.yaml +++ b/clusters/unraid-lab/apps/imp-crds/application.yaml @@ -9,7 +9,7 @@ spec: project: default source: repoURL: https://github.com/syscode-labs/imp.git - targetRevision: 7e81cfdc7968b993ebdc0f94f77b2dc3ef12d419 # v0.6.0 + targetRevision: f0c11704a101aaf97ed6ce61f0298942548674a5 # v0.6.1 path: config/crd/bases destination: server: https://kubernetes.default.svc diff --git a/clusters/unraid-lab/apps/imp/application.yaml b/clusters/unraid-lab/apps/imp/application.yaml index 80d910a..bbc44de 100644 --- a/clusters/unraid-lab/apps/imp/application.yaml +++ b/clusters/unraid-lab/apps/imp/application.yaml @@ -9,7 +9,7 @@ spec: project: default sources: - repoURL: https://github.com/syscode-labs/imp.git - targetRevision: 7e81cfdc7968b993ebdc0f94f77b2dc3ef12d419 # v0.6.0 + targetRevision: f0c11704a101aaf97ed6ce61f0298942548674a5 # v0.6.1 path: charts/imp helm: releaseName: imp diff --git a/values/clusters/unraid-lab/imp.yaml b/values/clusters/unraid-lab/imp.yaml index 4a37c4d..71fa6f7 100644 --- a/values/clusters/unraid-lab/imp.yaml +++ b/values/clusters/unraid-lab/imp.yaml @@ -1,10 +1,10 @@ operator: image: - repository: ghcr.io/syscode-labs/imp-operator@sha256:191c0093b387ce7e3f323e3b21c15de1b8f61464db63a586253c0893763b14aa + repository: ghcr.io/syscode-labs/imp-operator@sha256:4c4c7ab8866873dfac630e41ce98fe00da67be4c27687f9fe636e7529c0b0b6d agent: image: - repository: ghcr.io/syscode-labs/imp-agent@sha256:cdcbd5dc52c7d61e9e6a34aed0f0dff53fa5b1d883b15127b6b3e00ca6e990e3 + repository: ghcr.io/syscode-labs/imp-agent@sha256:bb1049b58e4675c8973195f9fde05d1a68c1acbaa59c48b203058a87950e87d0 env: kernelPath: /usr/local/share/imp/vmlinux