Skip to content

Commit

Permalink
remove conditionals in configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
alisihab authored Aug 2, 2024
1 parent 1232a05 commit 283ad79
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions charts/drill/templates/configmap.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ metadata:
labels:
{{- include "drill.labels" . | nindent 4 }}
data:
{{- if (not .Values.drill.overrideConfiguration.existingConfigMap) -}}
drill-override.conf: |-
drill.exec: {
cluster-id: "{{ include "drill.fullname" . }}",
zk.connect: "{{ include "zookeeper.fullname" . }}:2181",
http.port: 8047
}
{{- toString .Values.drill.overrideConfiguration.drill | nindent 4 }}
{{- end -}}
{{- with .Values.drill.overrideConfiguration.drillMetastore }}
drill-metastore-override.conf: |-
{{- toString . | nindent 4 }}
Expand All @@ -33,7 +31,6 @@ data:
storage-plugins-override.conf: |-
{{- toString . | nindent 4 }}
{{- end }}
{{- if .Values.drill.overrideLogging.enabled -}}
logback.xml: |-
<configuration>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
Expand Down Expand Up @@ -61,4 +58,3 @@ data:
<logger name="{{ .name }}" level="{{ .level | default "trace" }}"/>
{{- end }}
</configuration>
{{- end -}}

0 comments on commit 283ad79

Please sign in to comment.