diff --git a/admin-system/toolbox.yaml b/admin-system/toolbox.yaml new file mode 100644 index 0000000..5dc53be --- /dev/null +++ b/admin-system/toolbox.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Pod +metadata: + name: toolbox + namespace: admin-system + labels: + app: toolbox + purpose: troubleshooting +spec: + containers: + - name: toolbox + image: nicolaka/netshoot:latest + command: + - sleep + - infinity + resources: + requests: + cpu: 10m + memory: 64Mi + limits: + cpu: 500m + memory: 256Mi + securityContext: + capabilities: + add: + - NET_ADMIN + - NET_RAW + restartPolicy: Always + terminationGracePeriodSeconds: 5 \ No newline at end of file diff --git a/argocd-apps/homelab.yaml b/argocd-apps/homelab.yaml index 088e4f1..4cd65f9 100644 --- a/argocd-apps/homelab.yaml +++ b/argocd-apps/homelab.yaml @@ -969,4 +969,28 @@ spec: syncOptions: - CreateNamespace=true - ServerSideApply=true +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: admin-tools + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: homelab + source: + repoURL: https://gitea.dooplex.hu/admin/homelab-manifests.git + targetRevision: main + path: admin-system + destination: + server: https://kubernetes.default.svc + namespace: admin-system + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true --- \ No newline at end of file