Added Hexound

This commit is contained in:
Ultradesu
2025-04-12 19:31:19 +01:00
parent cf3f481eb9
commit 0b5f0f135b
4 changed files with 85 additions and 0 deletions

21
k8s/apps/hexound/app.yaml Normal file
View File

@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: hexound
namespace: argocd
spec:
project: apps
destination:
namespace: hexound
server: https://kubernetes.default.svc
source:
repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git
targetRevision: HEAD
path: k8s/apps/hexound
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- CreateNamespace=true

View File

@ -0,0 +1,42 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: hexound
namespace: hexound
spec:
replicas: 1
selector:
matchLabels:
app: hexound
template:
metadata:
labels:
app: hexound
spec:
volumes:
- name: hexound-repo
emptyDir: {}
initContainers:
- name: git-cloner
image: alpine/git
command:
- git
- clone
- --depth=1
- https://github.com/house-of-vanity/hexound.ru.git
- /repo
volumeMounts:
- name: hexound-repo
mountPath: /repo
containers:
- name: hexound
image: trafex/php-nginx:3.8.0
volumeMounts:
- name: hexound-repo
mountPath: /var/www/html
ports:
- name: http
containerPort: 8080
protocol: TCP

View File

@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app.yaml
- deployment.yaml
- service.yaml

View File

@ -0,0 +1,14 @@
---
apiVersion: v1
kind: Service
metadata:
name: hexound
namespace: hexound
spec:
selector:
app: hexound
ports:
- protocol: TCP
port: 80
targetPort: 8080