blob: 940c50ec79fca91a22260cd71eaa9a40f9ac1173 [file] [log] [blame]
Sketch🕴️620d57b2025-07-31 22:31:14 +04001{{- /*
2Copyright Broadcom, Inc. All Rights Reserved.
3SPDX-License-Identifier: APACHE-2.0
4*/}}
5
6{{- if and .Values.serverBlock (not .Values.existingServerBlockConfigmap) }}
7apiVersion: v1
8kind: ConfigMap
9metadata:
10 name: {{ template "common.names.fullname" . }}-server-block
11 namespace: {{ include "common.names.namespace" . | quote }}
12 labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
13 {{- if .Values.commonAnnotations }}
14 annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
15 {{- end }}
16data:
17 server-block.conf: |-
18 {{- include "common.tplvalues.render" ( dict "value" .Values.serverBlock "context" $ ) | nindent 4 }}
19{{- end }}