Summary: Add default behavior in secret_resolvers.py Key: OVIRT-1988 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1988 Project: oVirt - virtualization made easy Issue Type: Improvement Components: mock_runner Reporter: Daniel Belenky Assignee: infra
Currently, when users try to run CI locally (currently with mock_runner), if their project has a secret dependency they have to either write a local secrets file, or to temporary modify their environment.yaml.
The file format should have support for default behavior in case a secret was not found. Maybe something similar to:
name: MY_SECRET valueFrom:
secretKeyRef: name: secret_name key: key_from_secret default: from-env: ENV_VAR_NAME # OR value: default-value
{code}
— This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100083)