mirror of
https://github.com/Dannecron/netology-devops-gw-infra.git
synced 2025-12-25 15:22:36 +03:00
[stage-5] add jenkins helm chart
This commit is contained in:
19
k8s/helm/jenkins/templates/ingress.yaml
Normal file
19
k8s/helm/jenkins/templates/ingress.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}-{{ .Values.environment }}-ingress
|
||||
namespace: devops-tools
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
spec:
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /jenkins
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ .Chart.Name }}-{{ .Values.environment }}-main
|
||||
port:
|
||||
name: web
|
||||
Reference in New Issue
Block a user