[JIRA] (OVIRT-1988) Add default behavior in secret_resolvers.py
Daniel Belenky (oVirt JIRA)
jira at ovirt-jira.atlassian.net
Wed May 2 07:44:19 UTC 2018
[ https://ovirt-jira.atlassian.net/browse/OVIRT-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20180502/cff546d7/attachment.html>
More information about the Infra
mailing list