<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]</pre>
<h3>Daniel Belenky updated OVIRT-1988:</h3>
<pre>Epic Link: OVIRT-400</pre>
<blockquote><h3>Add default behavior in secret_resolvers.py</h3>
<pre>     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</pre>
<h3>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: {code:java}</h3>
<ul><li><p>name: MY_SECRET valueFrom:</p>
<pre>secretKeyRef:
  name: secret_name
  key: key_from_secret
  default:
    from-env: ENV_VAR_NAME
    # OR
    value: default-value</pre></li></ul>
<p>{code}</p></blockquote>
<p>&mdash; This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100083)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BJ33BSM3tuiUfRTk64K-2BOjH6OfHwHF07KbWgKiV6gm3mB1II18BSBtXPREj0WkjfqAgXWnshvNmi3g7hf7kv7FqBki2RZzgFbqRnK9goqqJkcAizW7noi7EpyC7Cyq4m5LcFY7gF1dfPA71ctDJv1itP55J4TaIQ0OVOFPKLlEkDqvR5zu-2BOiUvMmzEJIbMQEdd5TIXd0EUIrZzpWk0Acbta5iy-2BWecOD-2FMYCrOtNJelNYy4bFgywR262YiPYFMTyTYWGErt-2FCZITg0nk3JMmcwQye0QLlL5A-2FvnQYIiO0aWYcmXwyw6L5OY1mFyygYhKzwxmLuT8-2F2XDLQ1L8jfM7NffiFU5uZ9m9-2F-2F5yQ9YfQIt0iPORrRAFAsoxgRaiOPmJLuiZ-2BVa6O0lsK5pLcBqPizDwqf-2Fk1OQqeA5-2F37N0gt" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>