Changeset View
Changeset View
Standalone View
Standalone View
helm/dagster/templates/helpers/instance/_compute-log-manager.tpl
{{- define "stringSource" }} | {{- define "stringSource" }} | ||||
{{- $tp := typeOf . }} | {{- $tp := typeOf . }} | ||||
{{- if eq $tp "map[string]interface {}" }} | {{- if eq $tp "map[string]interface {}" }} | ||||
{{- . | toYaml | nindent 4 }} | {{- . | toYaml | nindent 4 }} | ||||
{{- else if eq $tp "string" }} | {{- else if eq $tp "string" }} | ||||
{{- . | quote }} | {{- . | quote }} | ||||
{{- end }} | {{- end }} | ||||
{{- end }} | {{- end }} | ||||
{{- define "dagsterYaml.computeLogManager.noop" }} | |||||
module: dagster.core.storage.noop_compute_log_manager | |||||
class: NoOpComputeLogManager | |||||
{{- end }} | |||||
{{- define "dagsterYaml.computeLogManager.azure" }} | {{- define "dagsterYaml.computeLogManager.azure" }} | ||||
{{- $azureBlobComputeLogManagerConfig := .Values.computeLogManager.config.azureBlobComputeLogManager }} | {{- $azureBlobComputeLogManagerConfig := .Values.computeLogManager.config.azureBlobComputeLogManager }} | ||||
module: dagster_azure.blob.compute_log_manager | module: dagster_azure.blob.compute_log_manager | ||||
class: AzureBlobComputeLogManager | class: AzureBlobComputeLogManager | ||||
config: | config: | ||||
storage_account: {{ include "stringSource" $azureBlobComputeLogManagerConfig.storageAccount }} | storage_account: {{ include "stringSource" $azureBlobComputeLogManagerConfig.storageAccount }} | ||||
container: {{ include "stringSource" $azureBlobComputeLogManagerConfig.container }} | container: {{ include "stringSource" $azureBlobComputeLogManagerConfig.container }} | ||||
secret_key: {{ include "stringSource" $azureBlobComputeLogManagerConfig.secretKey }} | secret_key: {{ include "stringSource" $azureBlobComputeLogManagerConfig.secretKey }} | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |