From 618a18950a25d2e24f518618e3b136078efd77ef Mon Sep 17 00:00:00 2001 From: Nathan Date: Sun, 11 Jun 2023 17:50:21 +0100 Subject: [PATCH] values for jenkins --- values.yaml | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 values.yaml diff --git a/values.yaml b/values.yaml new file mode 100644 index 0000000..c7e95a2 --- /dev/null +++ b/values.yaml @@ -0,0 +1,80 @@ +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: + ## 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: