[ 
https://ovirt-jira.atlassian.net/browse/OVIRT-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Barak Korren updated OVIRT-1988:
--------------------------------
    Labels: first_time_task  (was: )

> 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
>              Labels: first_time_task
>
> 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#100087)
_______________________________________________
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/infra@ovirt.org/message/VTO6PWZOOOOMAMKHYD3S2R7OFWYKVV3Y/

Reply via email to