Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-5019

Improve secrets validation to only point out unprovided secrets

    Details

      Description

      See COPS-4706 for more context.

      We propose to change the validation so that

      Defining secrets without referencing them is considered invalid

      • The validation error provided when a secret is defined, but not referenced, is changed to:
        The following secrets are defined, but not referenced: "foo". Please remove them from the secrets field.

      Referencing secrets that aren’t defined is considered invalid

      • The validation error provided when a secret is to be used, but not defined, is changed to:
        The following secrets are referenced, but undefined: "foo". Please add them to the secrets field.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthias.eichstedt Matthias Eichstedt
                Reporter:
                matthias.eichstedt Matthias Eichstedt
                Team:
                Orchestration Team
                Watchers:
                Jeff White, Jon Hartl, Matthias Eichstedt, Mergebot, Vishnu Mohan (Inactive)
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: