blob: 8c13fe1a9e3487fa9a5e1b50f9799cbc7daff21b [file] [log] [blame]
Giorgi Lekveishvili35982662024-04-05 13:05:40 +04001{{- if .Values.controller.backendconfig.enabled }}
2apiVersion: {{ .Values.controller.backendconfig.apiVersion }}
3kind: BackendConfig
4metadata:
5 name: {{ .Values.controller.backendconfig.name }}
6 namespace: {{ template "jenkins.namespace" . }}
7 labels:
gio20157e82026-07-22 13:10:48 +04008 {{- include "jenkins.labels" . | nindent 4 }}
Giorgi Lekveishvili35982662024-04-05 13:05:40 +04009{{- if .Values.controller.backendconfig.labels }}
10{{ toYaml .Values.controller.backendconfig.labels | indent 4 }}
11{{- end }}
12{{- if .Values.controller.backendconfig.annotations }}
13 annotations:
14{{ toYaml .Values.controller.backendconfig.annotations | indent 4 }}
15{{- end }}
16spec:
17{{ toYaml .Values.controller.backendconfig.spec | indent 2 }}
18{{- end }}