Skip to content

Commit

Permalink
[BEI-189] Add ingress to tekton-cron
Browse files Browse the repository at this point in the history
  • Loading branch information
andoriyu committed Oct 2, 2023
1 parent 7923395 commit d353417
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/tekton-cron-jobs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
27 changes: 27 additions & 0 deletions charts/tekton-cron-jobs/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

{{- if .Values.ingress.enabled -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: "tekton-cron"
annotations:
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/ingress.class: "nginx-internal"
kubernetes.io/tls-acme: "true"
spec:
rules:
- host: tekton-cron.gen1.trydave.com
http:
paths:
- backend:
service:
name: el-tekton-cron
port:
number: 8080
path: /
pathType: ImplementationSpecific
tls:
- hosts:
- tekton-cron.gen1.trydave.com
secretName: tekton-cron-gen1-trydave-com-tls
{{- end }}
2 changes: 2 additions & 0 deletions charts/tekton-cron-jobs/values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
eventListener: {}
ingress:
enabled: false

0 comments on commit d353417

Please # to comment.