| Giorgi Lekveishvili | 3598266 | 2024-04-05 13:05:40 +0400 | [diff] [blame] | 1 | {{- if .Values.controller.backendconfig.enabled }} |
| 2 | apiVersion: {{ .Values.controller.backendconfig.apiVersion }} |
| 3 | kind: BackendConfig |
| 4 | metadata: |
| 5 | name: {{ .Values.controller.backendconfig.name }} |
| 6 | namespace: {{ template "jenkins.namespace" . }} |
| 7 | labels: |
| gio | 20157e8 | 2026-07-22 13:10:48 +0400 | [diff] [blame^] | 8 | {{- include "jenkins.labels" . | nindent 4 }} |
| Giorgi Lekveishvili | 3598266 | 2024-04-05 13:05:40 +0400 | [diff] [blame] | 9 | {{- 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 }} |
| 16 | spec: |
| 17 | {{ toYaml .Values.controller.backendconfig.spec | indent 2 }} |
| 18 | {{- end }} |