square-carpet-13590
01/03/2025, 11:19 AM{"json":{"exec_id":"a7flf985rbqfg68jg2qd","node":"n0","ns":"flyte-pai-development","res_ver":"9167407","routine":"worker-22","wf":"flyte-pai:development:flyte_poc_pipeline_workflows.aws_secrets.secret_access_wf │
│ "},"level":"error","msg":"failed Execute for node. Error: failed at Node[n0]. RuntimeExecutionError: failed during plugin execution, caused by: failed to execute handle for plugin [container]: [Invalid] failed │
│ to create resource, caused by: Pod \"a7flf985rbqfg68jg2qd-n0-0\" is invalid: [spec.volumes[2].name: Invalid value: \"mfzg3otbo4ztu32fmnzgk4dtnvqw3ylhmvzduylqfvzw54lunawtcorrgyztemzzha1tqmbsge4hgzldojsxios6\": m │
│ ust be no more than 63 characters, spec.containers[0].volumeMounts[1].name: Not found: \"mfzg3otbo4ztu32fmnzgk4dtnvqw3ylhmvzduylqfvzw54lunawtcorrgyztemzzha1tqmbsge4hgzldojsxios6\"]","ts":"2025-01-03T10:49:38Z"} │
│ {"json":{"exec_id":"a7flf985rbqfg68jg2qd","ns":"flyte-pai-development","res_ver":"9167407","routine":"worker-22","wf":"flyte-pai:development:flyte_poc_pipeline_workflows.aws_secrets.secret_access_wf"},"level":" │
│ warning","msg":"Error in handling running workflow [failed at Node[n0]. RuntimeExecutionError: failed during plugin execution, caused by: failed to execute handle for plugin [container]: [Invalid] failed to cre │
│ ate resource, caused by: Pod \"a7flf985rbqfg68jg2qd-n0-0\" is invalid: [spec.volumes[2].name: Invalid value: \"mfzg3otbo4ztu32fmnzgk4dtnvqw3ylhmvzduylqfvzw54lunawtcorrgyztemzzha1tqmbsge4hgzldojsxios6\": must be │
│ no more than 63 characters, spec.containers[0].volumeMounts[1].name: Not found: \"mfzg3otbo4ztu32fmnzgk4dtnvqw3ylhmvzduylqfvzw54lunawtcorrgyztemzzha1tqmbsge4hgzldojsxios6\"]]","ts":"2025-01-03T10:49:38Z"} │
│ {"json":{"exec_id":"a7flf985rbqfg68jg2qd","ns":"flyte-pai-development","res_ver":"9167407","routine":"worker-22","wf":"flyte-pai:development:flyte_poc_pipeline_workflows.aws_secrets.secret_access_wf"},"level":" │
│ error","msg":"Error when trying to reconcile workflow. Error [failed at Node[n0]. RuntimeExecutionError: failed during plugin execution, caused by: failed to execute handle for plugin [container]: [Invalid] fai │
│ led to create resource, caused by: Pod \"a7flf985rbqfg68jg2qd-n0-0\" is invalid: [spec.volumes[2].name: Invalid value: \"mfzg3otbo4ztu32fmnzgk4dtnvqw3ylhmvzduylqfvzw54lunawtcorrgyztemzzha1tqmbsge4hgzldojsxios6\ │
│ ": must be no more than 63 characters, spec.containers[0].volumeMounts[1].name: Not found: \"mfzg3otbo4ztu32fmnzgk4dtnvqw3ylhmvzduylqfvzw54lunawtcorrgyztemzzha1tqmbsge4hgzldojsxios6\"]]. Error Type[*errors.Node │
│ ErrorWithCause]","ts":"2025-01-03T10:49:38Z"}
square-carpet-13590
01/03/2025, 11:19 AMaverage-finland-92144
01/03/2025, 11:24 AMsquare-carpet-13590
01/03/2025, 11:29 AM@task(
requests=Resources(cpu="100m", mem="512Mi"),
secret_requests=[Secret(group=SECRET_GROUP, key=SECRET_NAME)],
)
def secret_access() -> str:
secret_string = flytekit.current_context().secrets.get(SECRET_GROUP, SECRET_NAME)
print(secret_string)
return secret_string
average-finland-92144
01/03/2025, 2:34 PMsquare-tomato-39478
01/03/2025, 3:04 PMsquare-tomato-39478
01/05/2025, 6:44 PMsquare-tomato-39478
01/05/2025, 6:45 PMaverage-finland-92144
01/06/2025, 12:48 PM