Update bootstrap-platform/jenkins/templates/deployment.yaml

This commit is contained in:
Dhakshan 2026-07-17 08:33:13 +00:00
parent dc49235041
commit 5cca9f23ec
1 changed files with 8 additions and 0 deletions

View File

@ -3,15 +3,22 @@ kind: Deployment
metadata:
name: jenkins
namespace: {{ .Values.namespace }}
spec:
replicas: {{ .Values.replicaCount }}
strategy:
type: Recreate
selector:
matchLabels:
app: jenkins
template:
metadata:
labels:
app: jenkins
spec:
containers:
- name: jenkins
@ -19,6 +26,7 @@ spec:
ports:
- containerPort: 8080
- containerPort: 50000
volumeMounts:
- name: jenkins-home
mountPath: /var/jenkins_home