From bf29990add16360da13a4b7b62ec30523aaac2dd Mon Sep 17 00:00:00 2001 From: Claude AI Date: Sun, 8 Mar 2026 15:24:07 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20jenkins=20Helm=20chart=20=E2=80=94=20in?= =?UTF-8?q?gress=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helm/jenkins/templates/ingress.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 helm/jenkins/templates/ingress.yaml diff --git a/helm/jenkins/templates/ingress.yaml b/helm/jenkins/templates/ingress.yaml new file mode 100644 index 0000000..8bb1327 --- /dev/null +++ b/helm/jenkins/templates/ingress.yaml @@ -0,0 +1,28 @@ +{{- if .Values.ingress.enabled }} +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ include "jenkins.name" . }} + namespace: {{ .Values.namespace }} + labels: + {{- include "jenkins.labels" . | nindent 4 }} + annotations: + kubernetes.io/ingress.class: traefik + cert-manager.io/cluster-issuer: {{ .Values.ingress.certIssuer }} +spec: + tls: + - hosts: + - {{ .Values.ingress.host }} + secretName: {{ .Values.ingress.tlsSecretName }} + rules: + - host: {{ .Values.ingress.host }} + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: {{ include "jenkins.name" . }} + port: + number: {{ .Values.service.httpPort }} +{{- end }}