Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jenkins): start actually onboarding it #724

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions jenkins/helm/jenkins/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: jenkins
repository: https://charts.jenkins.io
version: 4.3.24
digest: sha256:add4423c37312ac42ab2a7f064ed1e993083b137965127d0b22a06f82696cf8a
generated: "2023-06-02T18:44:55.231088+02:00"
6 changes: 5 additions & 1 deletion jenkins/helm/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ name: jenkins
description: helm chart for jenkins
type: application
version: 0.1.0
appVersion: "v1.0.0"
appVersion: "2.401.1"
dependencies:
- name: jenkins
version: 4.3.24
repository: https://charts.jenkins.io
Binary file added jenkins/helm/jenkins/charts/jenkins-4.3.24.tgz
Binary file not shown.
22 changes: 0 additions & 22 deletions jenkins/helm/jenkins/templates/NOTES.txt

This file was deleted.

20 changes: 10 additions & 10 deletions jenkins/helm/jenkins/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "jenkins.name" -}}
{{- define "jenkins-plural.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

Expand All @@ -10,7 +10,7 @@ Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "jenkins.fullname" -}}
{{- define "jenkins-plural.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
Expand All @@ -26,16 +26,16 @@ If release name contains chart name it will be used as a full name.
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "jenkins.chart" -}}
{{- define "jenkins-plural.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "jenkins.labels" -}}
helm.sh/chart: {{ include "jenkins.chart" . }}
{{ include "jenkins.selectorLabels" . }}
{{- define "jenkins-plural.labels" -}}
helm.sh/chart: {{ include "jenkins-plural.chart" . }}
{{ include "jenkins-plural.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
Expand All @@ -45,17 +45,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "jenkins.selectorLabels" -}}
app.kubernetes.io/name: {{ include "jenkins.name" . }}
{{- define "jenkins-plural.selectorLabels" -}}
app.kubernetes.io/name: {{ include "jenkins-plural.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Create the name of the service account to use
*/}}
{{- define "jenkins.serviceAccountName" -}}
{{- define "jenkins-plural.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "jenkins.fullname" .) .Values.serviceAccount.name }}
{{- default (include "jenkins-plural.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
Expand Down
61 changes: 0 additions & 61 deletions jenkins/helm/jenkins/templates/deployment.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions jenkins/helm/jenkins/templates/hpa.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions jenkins/helm/jenkins/templates/ingress.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions jenkins/helm/jenkins/templates/service.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions jenkins/helm/jenkins/templates/serviceaccount.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions jenkins/helm/jenkins/templates/tests/test-connection.yaml

This file was deleted.

Loading