feat: jenkins Helm chart — ingress template

This commit is contained in:
Claude AI
2026-03-08 15:24:07 +00:00
parent b7f0fc4f6b
commit bf29990add

View File

@@ -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 }}