This is a multi-part message in MIME format...
------------=_1525247059-30270-371
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
[
https://ovirt-jira.atlassian.net/browse/OVIRT-1988?page=com.atlassian.jir...
]
Daniel Belenky updated OVIRT-1988:
----------------------------------
Epic Link: OVIRT-400
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:
{code:java}
---
- 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)
------------=_1525247059-30270-371
Content-Type: text/html; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
<html><body>
<pre>[
https://ovirt-jira.atlassian.net/browse/OVIRT-1988?page=com.atlassian.jir...
]</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>— This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100083)</p>
<img
src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpS...
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>
------------=_1525247059-30270-371--