Add Jenkins, Harbor, Portainer, Vault, ELK, Semaphore manifests

This commit is contained in:
Vlad
2025-11-26 10:44:46 +00:00
parent 550c67d154
commit e7cff9d8c1
37 changed files with 666 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: portainer
namespace: argocd
spec:
project: default
source:
repoURL: http://gitea-http.gitea.svc.cluster.local:3000/admin/k3s-gitops
path: apps/portainer
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: portainer
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: portainer
namespace: portainer
spec:
replicas: 1
selector:
matchLabels:
app: portainer
template:
metadata:
labels:
app: portainer
spec:
containers:
- name: portainer
image: portainer/portainer-ce:latest
args:
- "--http-enabled"
- "--http-bind-address=0.0.0.0"
ports:
- containerPort: 9443
- containerPort: 8000
volumeMounts:
- name: portainer-data
mountPath: /data
volumes:
- name: portainer-data
persistentVolumeClaim:
claimName: portainer-data

View File

@@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: portainer
namespace: portainer
annotations:
kubernetes.io/ingress.class: traefik
cert-manager.io/cluster-issuer: letsencrypt-http
spec:
tls:
- hosts:
- portainer.thedevops.dev
secretName: portainer-tls
rules:
- host: portainer.thedevops.dev
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: portainer
port:
number: 9443

View File

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

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: portainer-data
namespace: portainer
spec:
accessModes: ["ReadWriteOnce"]
storageClassName: longhorn
resources:
requests:
storage: 5Gi

View File

@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: portainer
namespace: portainer
spec:
type: ClusterIP
selector:
app: portainer
ports:
- name: https
port: 9443
targetPort: 9443
- name: edge
port: 8000
targetPort: 8000