Documented feature secrets config=/alternate/secrets/path not implemented

Bug #1684214 reported by Drew Freiberger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mojo: Continuous Delivery for Juju
Triaged
Medium
Unassigned

Bug Description

When trying to run a secrets phase from the manifest as:

secrets config=/path/to/my/secrets

The secrets phase still pulls from $MOJO_ROOT/LOCAL/$MOJO_PROJECT/$MOJO_STAGE

Digging through the code, I couldn't find any reference to "config" in the secrets phase.

Workaround is to continue using default directory, but config=/path/to/secrets would be a very nice feature indeed.

I think this would also cause issue with secrets re-gathering during other phases as mentioned in lp#1516478 if the config= wasn't carried through to other phases where re-run of secrets phase is implied.

tags: added: bootstack
tags: added: canonical-bootstack
removed: bootstack
Revision history for this message
Paul Collins (pjdc) wrote :

As Drew mentions, this may be difficult to implement well if auto_secrets is in play and, in fact, it was removed in r162 when auto_secrets was implemented! Fixing the documentation seems like the most appropriate fix.

Changed in mojo:
status: New → Confirmed
importance: Undecided → Medium
Paul Collins (pjdc)
Changed in mojo:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.