cuddly-jelly-27016
06/01/2025, 12:12 AMcontainer_image property produces an error:
couldn't parse image reference "{{.images.default.fqn}}:{{.images.default.tag}}": invalid reference format
This particular error message is returned from Kubernetes when attempting to run the container for the task.
My config is as follows:
SQLAlchemyTask(
"example.hello_mssql.sql_task",
query_template="""
SELECT @@version version
""",
container_image="{{.images.default.fqn}}:{{.images.default.tag}}",
output_schema_type=DataSchema,
task_config=SQLAlchemyConfig(
...
),
secret_requests=[*secrets.values()],
)
### Goal: What should the final outcome look like, ideally?
The above config should work; as per the current `get_registerable_container_image` logic
### Describe alternatives you've considered
Right now this must be hard-coded
### Propose: Link/Inline OR Additional context
This needs to be wrapped in get_registerable_container_image (see slack messages).
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
06/01/2025, 12:12 AM