Skip to content

Commit

Permalink
Try to solve k8s issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana committed Nov 5, 2024
1 parent b0250eb commit 89f529e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion dev/dags/jaffle_shop_kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@
from airflow.providers.cncf.kubernetes.secret import Secret
from pendulum import datetime

from cosmos import DbtSeedKubernetesOperator, DbtTaskGroup, ExecutionConfig, ExecutionMode, ProfileConfig, RenderConfig
from cosmos import (
DbtSeedKubernetesOperator,
DbtTaskGroup,
ExecutionConfig,
ExecutionMode,
ProfileConfig,
ProjectConfig,
RenderConfig,
)
from cosmos.profiles import PostgresUserPasswordProfileMapping

DEFAULT_DBT_ROOT_PATH = Path(__file__).parent / "dbt"
Expand Down Expand Up @@ -75,6 +83,7 @@

# [START kubernetes_tg_example]
run_models = DbtTaskGroup(
project_config=ProjectConfig(),
profile_config=ProfileConfig(
profile_name="postgres_profile",
target_name="dev",
Expand Down

0 comments on commit 89f529e

Please sign in to comment.