jenkinsci / helm-charts

Jenkins helm charts
https://artifacthub.io/packages/helm/jenkinsci/jenkins
Apache License 2.0
550 stars 873 forks source link

Helm Chart: allow "extras" #502

Open jgournet opened 2 years ago

jgournet commented 2 years ago

Is your feature request related to a problem? Please describe. I use istio as ingress, so I need to add some resources with the jenkins helm chart, like "VirtualService", "DestinationRule" ...etc

Describe the solution you'd like Have the option of "just" adding whatever we want in the chart, like this example here (from bitnami nginx helm chart) https://github.com/bitnami/charts/blob/master/bitnami/nginx/templates/extra-list.yaml (plus those few lines in _helper.tpl:

{{/* vim: set filetype=mustache: */}}
{{/*
Renders a value that contains template.
Usage:
{{ include "common.tplvalues.render" ( dict "value" .Values.path.to.the.Value "context" $) }}
*/}}
{{- define "common.tplvalues.render" -}}
    {{- if typeIs "string" .value }}
        {{- tpl .value .context }}
    {{- else }}
        {{- tpl (.value | toYaml) .context }}
    {{- end }}
{{- end -}}

Whatever the use-case, I think it would be useful for people to be able to customize their own jenkins K8S installation

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.