You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{- $_ = set $map "quarkus.otel.exporter.otlp.endpoint" .Values.tracing.endpoint -}}
169
+
{{- if .Values.tracing.attributes -}}
170
+
{{- $_ = set $map "quarkus.otel.resource.attributes" (include "nessie.dictToString" .Values.tracing.attributes) -}}
171
+
{{- end -}}
172
+
{{- if .Values.tracing.sample -}}
173
+
{{ if eq .Values.tracing.sample "all" -}}
174
+
{{- $_ = set $map "quarkus.otel.traces.sampler" "parentbased_always_on" -}}
175
+
{{- else if eq .Values.tracing.sample "none" -}}
176
+
{{- $_ = set $map "quarkus.otel.traces.sampler" "always_off" -}}
177
+
{{- else -}}
178
+
{{- $_ = set $map "quarkus.otel.traces.sampler" "parentbased_traceidratio" -}}
179
+
{{- $_ = set $map "quarkus.otel.traces.sampler.arg" .Values.tracing.sample -}}
180
+
{{- end -}}
181
+
{{- end -}}
182
+
{{- else -}}
183
+
{{- $_ = set $map "quarkus.otel.sdk.disabled" true -}}
184
+
{{- end -}}
185
+
186
+
{{- if .Values.metrics.enabled -}}
187
+
{{- range $name, $value := .Values.metrics.tags -}}
188
+
{{- $_ = set $map (print "nessie.metrics.tags." $name) $value -}}
189
+
{{- end -}}
190
+
{{- else -}}
191
+
{{- $_ = set $map "quarkus.micrometer.enabled" "false" -}}
192
+
{{- end -}}
193
+
194
+
{{- if .Values.catalog.enabled -}}
195
+
{{- list .Values.catalog.iceberg $map | include "nessie.applyCatalogIcebergOptions" -}}
196
+
{{- if .Values.catalog.storage.retryAfter -}}
197
+
{{- $_ = set $map "nessie.catalog.error-handling.throttled-retry-after" .Values.catalog.storage.retryAfter -}}
198
+
{{- end -}}
199
+
{{- list .Values.catalog.storage.s3 "nessie.catalog.service.s3." $map | include "nessie.applyCatalogStorageS3RootOptions" }}
200
+
{{- list .Values.catalog.storage.s3.defaultOptions "nessie.catalog.service.s3.default-options." $map | include "nessie.applyCatalogStorageS3BucketOptions" }}
201
+
{{- range $i, $bucket := .Values.catalog.storage.s3.buckets -}}
202
+
{{- if not $bucket.name -}}{{- required ( printf "catalog.storage.s3.buckets[%d]: missing bucket name" $i ) $bucket.name -}}{{- end -}}
203
+
{{- list $bucket ( printf "nessie.catalog.service.s3.buckets.bucket%d." (add $i 1) ) $map | include "nessie.applyCatalogStorageS3BucketOptions" }}
204
+
{{- end -}}
205
+
{{- list .Values.catalog.storage.gcs "nessie.catalog.service.gcs." $map | include "nessie.applyCatalogStorageGcsRootOptions" }}
206
+
{{- list .Values.catalog.storage.gcs.defaultOptions "nessie.catalog.service.gcs.default-options." $map | include "nessie.applyCatalogStorageGcsBucketOptions" }}
207
+
{{- range $i, $bucket := .Values.catalog.storage.gcs.buckets -}}
208
+
{{- if not $bucket.name -}}{{- required ( printf "catalog.storage.gcs.buckets[%d]: missing bucket name" $i ) $bucket.name -}}{{- end -}}
209
+
{{ list $bucket ( printf "nessie.catalog.service.gcs.buckets.bucket%d." (add $i 1) ) $map | include "nessie.applyCatalogStorageGcsBucketOptions" }}
210
+
{{- end -}}
211
+
{{- list .Values.catalog.storage.adls "nessie.catalog.service.adls." $map | include "nessie.applyCatalogStorageAdlsRootOptions" }}
212
+
{{- list .Values.catalog.storage.adls.defaultOptions "nessie.catalog.service.adls.default-options." $map | include "nessie.applyCatalogStorageAdlsFileSystemOptions" }}
213
+
{{- range $i, $filesystem := .Values.catalog.storage.adls.filesystems -}}
214
+
{{- if not $filesystem.name -}}{{- required ( printf "catalog.storage.adls.filesystems[%d]: missing filesystem name" $i ) $filesystem.name -}}{{- end -}}
215
+
{{- list $filesystem ( printf "nessie.catalog.service.adls.file-systems.filesystem%d." (add $i 1) ) $map | include "nessie.applyCatalogStorageAdlsFileSystemOptions" }}
216
+
{{- end -}}
217
+
{{- else -}}
218
+
{{- $_ = set $map "nessie.catalog.object-stores.health-check.enabled" false -}}
219
+
{{- end -}}
220
+
221
+
{{- list .Values.advancedConfig "" $map | include "nessie.mergeAdvancedConfig" }}
222
+
{{- $global := . -}}
223
+
{{- range $k, $v := $map }}
224
+
{{ include "nessie.appendConfigOption" (list $k $v $global) }}
0 commit comments