You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.6 KiB
YAML
81 lines
2.6 KiB
YAML
controller:
|
|
customInitContainers:
|
|
- name: custom-init
|
|
image: "registry.local/jenkins-sidecar:v0.0.20"
|
|
imagePullPolicy: Always
|
|
volumeMounts:
|
|
- mountPath: /usr/local/sbin
|
|
name: sbin-mount
|
|
- mountPath: /tmp/cli-plugins
|
|
name: docker-plugins
|
|
javaOpts: "-Xms256m -Xmx512m"
|
|
sidecars:
|
|
other:
|
|
## The example below runs the client for https://smee.io as sidecar container next to Jenkins,
|
|
## that allows to trigger build behind a secure firewall.
|
|
## https://jenkins.io/blog/2019/01/07/webhook-firewalls/#triggering-builds-with-webhooks-behind-a-secure-firewall
|
|
##
|
|
## Note: To use it you should go to https://smee.io/new and update the url to the generete one.
|
|
#- name: tools
|
|
# image: registry.local/jenkins-sidecar:v0.0.15
|
|
# volumeMounts:
|
|
# - mountPath: /usr/local/sbin
|
|
# name: sbin-mount
|
|
# - mountPath: /tmp/cli-plugins
|
|
# name: docker-plugins
|
|
# args: ["--port", "{{ .Values.controller.servicePort }}", "--path", "/github-webhook/", "--url", "https://smee.io/new"]
|
|
# resources:
|
|
# limits:
|
|
# cpu: 50m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 10m
|
|
# memory: 32Mi
|
|
ingress:
|
|
enabled: false
|
|
persistence:
|
|
enabled: true
|
|
## A manually managed Persistent Volume and Claim
|
|
## Requires persistence.enabled: true
|
|
## If defined, PVC must be created manually before volume will be bound
|
|
existingClaim:
|
|
## jenkins data Persistent Volume Storage Class
|
|
## If defined, storageClassName: <storageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
## GKE, AWS & OpenStack)
|
|
##
|
|
storageClass: managed-nfs-storage
|
|
annotations: {}
|
|
labels: {}
|
|
accessMode: "ReadWriteOnce"
|
|
size: "8Gi"
|
|
volumes:
|
|
- name: sbin-mount
|
|
emptyDir: {}
|
|
- name: docker-plugins
|
|
emptyDir: {}
|
|
- name: docker-home
|
|
emptyDir: {}
|
|
mounts:
|
|
- name: sbin-mount
|
|
mountPath: /usr/local/sbin
|
|
- name: docker-plugins
|
|
mountPath: /var/jenkins_home/.docker/cli-plugins
|
|
- name: docker-home
|
|
mountPath: /var/jenkins_home/.docker
|
|
|
|
agent:
|
|
installPlugins:
|
|
- kubernetes:3706.vdfb_d599579f3
|
|
- workflow-aggregator:590.v6a-d05e5a_a_b_5
|
|
- git:4.11.5
|
|
- configuration-as-code:latest
|
|
serviceAccount:
|
|
create: false
|
|
# The name of the service account is autogenerated by default
|
|
name: jenkins-admin
|
|
annotations: {}
|
|
imagePullSecretName:
|