[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


Daniel Belenky created OVIRT-1988:
-------------------------------------

             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:

{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/8c9c70e8/attachment.html>


More information about the Infra mailing list