add cyberchef

This commit is contained in:
Mans Ziesel 2024-10-24 17:06:20 +02:00
parent f1232aa4cc
commit aebb340f53
8 changed files with 80 additions and 1 deletions

View File

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-app-cyberchef
namespace: argocd
spec:
destination:
name: ''
namespace: default
server: https://kubernetes.default.svc
source:
path: cyberchef
repoURL: https://git.mziesel.nl/mans/argocd-test
targetRevision: HEAD
sources: []
project: default
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@ -9,3 +9,4 @@ resources:
- ./base/traefik-application.yaml - ./base/traefik-application.yaml
- ./base/ip-mziesel-nl-application.yaml - ./base/ip-mziesel-nl-application.yaml
- ./base/cert-manager.yaml - ./base/cert-manager.yaml
- ./base/cyberchef.yaml

View File

@ -4,6 +4,6 @@ kind: Kustomization
namespace: cert-manager namespace: cert-manager
resources: resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml - github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
- ./base/mziesel-ca.yaml - ./base/mziesel-ca.yaml
- ./base/cloudflare-clusterissuer.yaml - ./base/cloudflare-clusterissuer.yaml

View File

@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: cyberchef
namespace: cyberchef
spec:
replicas: 3
selector:
matchLabels:
app: cyberchef
template:
metadata:
labels:
app: cyberchef
spec:
containers:
- image: ghcr.io/gchq/cyberchef:10.19.4
name: cyberchef
ports:
- name: web
containerPort: 80

View File

@ -0,0 +1,12 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: cyberchef-ingressroute
spec:
routes:
- match: Host(`cyberchef.mziesel.nl`)
kind: Rule
services:
- name: cyberchef
port: web
tls: {}

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: cyberchef

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: cyberchef
spec:
ports:
- name: web
port: 80
targetPort: web
selector:
app: cyberchef

View File

@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: cyberchef
resources:
- ./base/cyberchef-namespace.yaml
- ./base/cyberchef-deployment.yaml
- ./base/cyberchef-svc.yaml
- ./base/cyberchef-ingress.yaml