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..81fb922 --- /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: f0c11704a101aaf97ed6ce61f0298942548674a5 # v0.6.1 + 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..bbc44de --- /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: f0c11704a101aaf97ed6ce61f0298942548674a5 # v0.6.1 + 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..71fa6f7 --- /dev/null +++ b/values/clusters/unraid-lab/imp.yaml @@ -0,0 +1,14 @@ +operator: + image: + repository: ghcr.io/syscode-labs/imp-operator@sha256:4c4c7ab8866873dfac630e41ce98fe00da67be4c27687f9fe636e7529c0b0b6d + +agent: + image: + repository: ghcr.io/syscode-labs/imp-agent@sha256:bb1049b58e4675c8973195f9fde05d1a68c1acbaa59c48b203058a87950e87d0 + env: + kernelPath: /usr/local/share/imp/vmlinux + +kvm: + preflight: + enabled: true + minVerifiedNodes: 3