Skip to content

Commit fab4616

Browse files
committed
Put the official Jenkins chart into submitted folder
1 parent c4f7fd1 commit fab4616

32 files changed

+4988
-0
lines changed

submitted/jenkins/CHANGELOG.md

Lines changed: 1469 additions & 0 deletions
Large diffs are not rendered by default.

submitted/jenkins/Chart.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: v1
2+
name: jenkins
3+
home: https://jenkins.io/
4+
5+
version: 1.13.0
6+
appVersion: lts
7+
description: Open source continuous integration server. It supports multiple SCM tools
8+
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based
9+
projects as well as arbitrary scripts.
10+
sources:
11+
- https://github.com/jenkinsci/jenkins
12+
- https://github.com/jenkinsci/docker-jnlp-slave
13+
- https://github.com/maorfr/kube-tasks
14+
- https://github.com/jenkinsci/configuration-as-code-plugin
15+
maintainers:
16+
- name: lachie83
17+
18+
- name: viglesiasce
19+
20+
- name: maorfr
21+
22+
- name: torstenwalter
23+
24+
- name: mogaal
25+
26+
icon: https://wiki.jenkins-ci.org/download/attachments/2916393/logo.png

submitted/jenkins/OWNERS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
approvers:
2+
- lachie83
3+
- viglesiasce
4+
- maorfr
5+
- torstenwalter
6+
- mogaal
7+
reviewers:
8+
- lachie83
9+
- viglesiasce
10+
- maorfr
11+
- torstenwalter
12+
- mogaal

submitted/jenkins/README.md

Lines changed: 629 additions & 0 deletions
Large diffs are not rendered by default.

submitted/jenkins/ci/casc-values.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
master:
2+
JCasC:
3+
enabled: true
4+
defaultConfig: true
5+
sidecars:
6+
configAutoReload:
7+
enabled: true
8+
healthProbeLivenessInitialDelay: 10
9+
healthProbeReadinessInitialDelay: 10
10+
persistence:
11+
enabled: false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# this file is empty to check if defaults within values.yaml work as expected

submitted/jenkins/templates/NOTES.txt

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
1. Get your '{{ .Values.master.adminUser }}' user password by running:
2+
printf $(kubectl get secret --namespace {{ template "jenkins.namespace" . }} {{ template "jenkins.fullname" . }} -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo
3+
4+
{{- if .Values.master.ingress.hostName }}
5+
6+
2. Visit http://{{ .Values.master.ingress.hostName }}
7+
{{- else }}
8+
2. Get the Jenkins URL to visit by running these commands in the same shell:
9+
{{- if contains "NodePort" .Values.master.serviceType }}
10+
export NODE_PORT=$(kubectl get --namespace {{ template "jenkins.namespace" . }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "jenkins.fullname" . }})
11+
export NODE_IP=$(kubectl get nodes --namespace {{ template "jenkins.namespace" . }} -o jsonpath="{.items[0].status.addresses[0].address}")
12+
echo http://$NODE_IP:$NODE_PORT/login
13+
14+
{{- else if contains "LoadBalancer" .Values.master.serviceType }}
15+
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
16+
You can watch the status of by running 'kubectl get svc --namespace {{ template "jenkins.namespace" . }} -w {{ template "jenkins.fullname" . }}'
17+
export SERVICE_IP=$(kubectl get svc --namespace {{ template "jenkins.namespace" . }} {{ template "jenkins.fullname" . }} --template "{{ "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}" }}")
18+
{{- if .Values.master.httpsKeyStore.enable }}
19+
echo https://$SERVICE_IP:{{ .Values.master.servicePort }}/login
20+
{{- else }}
21+
echo http://$SERVICE_IP:{{ .Values.master.servicePort }}/login
22+
{{- end }}
23+
24+
{{- else if contains "ClusterIP" .Values.master.serviceType }}
25+
export POD_NAME=$(kubectl get pods --namespace {{ template "jenkins.namespace" . }} -l "app.kubernetes.io/component={{ .Values.master.componentName }}" -l "app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
26+
echo http://127.0.0.1:{{ .Values.master.servicePort }}
27+
kubectl --namespace {{ template "jenkins.namespace" . }} port-forward $POD_NAME {{ .Values.master.servicePort }}:{{ .Values.master.servicePort }}
28+
29+
{{- end }}
30+
{{- end }}
31+
32+
3. Login with the password from step 1 and the username: {{ .Values.master.adminUser }}
33+
{{ if .Values.master.JCasC.enabled }}
34+
4. Use Jenkins Configuration as Code by specifying configScripts in your values.yaml file, see documentation: http://{{ .Values.master.ingress.hostName }}/configuration-as-code and examples: https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/demos
35+
{{- end }}
36+
37+
For more information on running Jenkins on Kubernetes, visit:
38+
https://cloud.google.com/solutions/jenkins-on-container-engine
39+
{{- if .Values.master.JCasC.enabled }}
40+
For more information about Jenkins Configuration as Code, visit:
41+
https://jenkins.io/projects/jcasc/
42+
{{- end }}
43+
44+
{{- if .Values.persistence.enabled }}
45+
{{- else }}
46+
#################################################################################
47+
###### WARNING: Persistence is disabled!!! You will lose your data when #####
48+
###### the Jenkins pod is terminated. #####
49+
#################################################################################
50+
{{- end }}
51+
52+
{{- if .Values.master.imageTag }}
53+
#################################################################################
54+
###### WARNING: `master.imageTag` will be obsoleted soon!!! #####
55+
###### It has been renamed to `master.tag`. #####
56+
#################################################################################
57+
{{- end }}
58+
59+
{{- if .Values.agent.imageTag }}
60+
#################################################################################
61+
###### WARNING: `agent.imageTag` will be obsoleted soon!!! #####
62+
###### It has been renamed to `agent.tag`. #####
63+
#################################################################################
64+
{{- end }}

0 commit comments

Comments
 (0)