Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ spec:
"-Ds3.secret-key={{ .Values.s3_secret_key }}",
"-Ds3.endpoint={{ .Values.s3_endpoint }}",
"-Ds3.path.style.access={{ .Values.s3_path_style_access }}",
{{- end }}
{{- if eq .Values.checkpoint_store_type "gcloud" }}
"-Dfs.gs.auth.client.id={{ .Values.gcloud_client_key }}",
"-Dfs.gs.auth.client.secret={{ .Values.gcloud_private_secret }}",
"-Dfs.gs.project.id={{ .Values.gcloud_project_id }}"
{{- end }}
"-Dweb.submit.enable=false",
"-Dmetrics.reporter.prom.class=org.apache.flink.metrics.prometheus.PrometheusReporter",
Expand Down
7 changes: 6 additions & 1 deletion kubernetes/helm_charts/datapipeline_jobs/values.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ s3_access_key: {{ s3_storage_key }}
s3_secret_key: {{ s3_storage_secret }}
s3_endpoint: {{ s3_storage_endpoint }}
s3_path_style_access: {{ s3_path_style_access }}
gcloud_client_key: {{ gcloud_client_key }}
gcloud_private_secret: {{ gcloud_private_secret }}
gcloud_project_id: {{ gcloud_project_id }}

serviceMonitor:
enabled: {{ service_monitor_enabled | lower}}
Expand Down Expand Up @@ -150,7 +153,7 @@ base_config: |
statebackend {
blob {
storage {
account = "{% if checkpoint_store_type == "azure" %}{{ azure_account }}.blob.core.windows.net{% elif checkpoint_store_type == "s3" %}{{ flink_dp_storage_container }}{% endif %}"
account = "{% if checkpoint_store_type == "azure" %}{{ azure_account }}.blob.core.windows.net{% elif checkpoint_store_type == "s3" %}{{ flink_dp_storage_container }}{% elif checkpoint_store_type == "gcloud" %}{{ flink_dp_storage_container }}{% endif %}"
container = "{{ flink_container_name }}"
checkpointing.dir = "checkpoint"
}
Expand All @@ -159,6 +162,8 @@ base_config: |
base.url = "wasbs://"${job.statebackend.blob.storage.container}"@"${job.statebackend.blob.storage.account}"/"${job.statebackend.blob.storage.checkpointing.dir}
{% elif checkpoint_store_type == "s3" %}
base.url = "s3://"${job.statebackend.blob.storage.account}"/"${job.statebackend.blob.storage.container}"/"${job.statebackend.blob.storage.checkpointing.dir}
{% elif checkpoint_store_type == "gcloud" %}
base.url = "gs://"${job.statebackend.blob.storage.account}"/"${job.statebackend.blob.storage.container}"/"${job.statebackend.blob.storage.checkpointing.dir}
{% endif %}
}
}
Expand Down