56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
|
|
apiVersion: jenkins.io/v1alpha2
|
|
kind: Jenkins
|
|
metadata:
|
|
name: example
|
|
namespace: default
|
|
spec:
|
|
configurationAsCode:
|
|
configurations: []
|
|
secret:
|
|
name: ""
|
|
groovyScripts:
|
|
configurations: []
|
|
secret:
|
|
name: ""
|
|
jenkinsAPISettings:
|
|
authorizationStrategy: createUser
|
|
master:
|
|
disableCSRFProtection: false
|
|
containers:
|
|
- name: jenkins-master
|
|
image: jenkins/jenkins:2.319.1-lts-alpine
|
|
imagePullPolicy: Always
|
|
livenessProbe:
|
|
failureThreshold: 12
|
|
httpGet:
|
|
path: /login
|
|
port: http
|
|
scheme: HTTP
|
|
initialDelaySeconds: 100
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 5
|
|
readinessProbe:
|
|
failureThreshold: 10
|
|
httpGet:
|
|
path: /login
|
|
port: http
|
|
scheme: HTTP
|
|
initialDelaySeconds: 80
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
resources:
|
|
limits:
|
|
cpu: 1500m
|
|
memory: 3Gi
|
|
requests:
|
|
cpu: "1"
|
|
memory: 500Mi
|
|
seedJobs:
|
|
- id: jenkins-operator
|
|
targets: "cicd/jobs/*.jenkins"
|
|
description: "Jenkins Operator repository"
|
|
repositoryBranch: master
|
|
repositoryUrl: https://github.com/jenkinsci/kubernetes-operator.git |