Skip to content

Commit

Permalink
apps: base: Add kali.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Oct 15, 2024
1 parent ee0daa6 commit 14fb756
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/base/kali/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kali
resources:
- namespace.yaml
- pod.yaml
4 changes: 4 additions & 0 deletions apps/base/kali/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: kali
18 changes: 18 additions & 0 deletions apps/base/kali/pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: kali
annotations:
# Setting spec.force to true will make Flux recreate the Pod when any
# immutable field is changed, forcing the Pod to run every time the
# container image tag changes.
kustomize.toolkit.fluxcd.io/force: enabled
spec:
restartPolicy: Never
automountServiceAccountToken: false
containers:
- image: kalilinux/kali-rolling
name: kali
command:
- /bin/sleep
- infinity

0 comments on commit 14fb756

Please sign in to comment.