cyberark / conjur-openapi-spec

OpenAPI v3 specification for Conjur / DAP v10+
https://conjur.org
Apache License 2.0
11 stars 2 forks source link

Allow scripts to deploy Conjur either as latest or edge versions #213

Open john-odonnell opened 2 years ago

john-odonnell commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently, docker-compose.yml hardcodes the Conjur image as cyberark/conjur:edge. This has advantages, because it leads to bug discovery (cyberark/conjur#2438) in unreleased content, and keeps the OpenAPI description in-phase with the server itself - however, external users should be able to use the tooling around the OpenAPI description against the latest stable version, to avoid errors in unreleased content that they don't need to be aware of.

Describe the solution you would like

Scripts should be able to choose between running against Conjur's edge or latest images. CI would still test against edge - this would maintain the above stated value.

It might be a good idea for the scripts' to default to testing against conjur:latest, so users running the scripts aren't experiencing unreleased content unless intentionally triggered.

Changes should be made to bin/start_conjur to allow version selection. This could be:

These changes have to propagate upwards to at least the following:

Describe alternatives you have considered

A clear and concise description of any alternative solutions or features that may be related to this that you have considered.

Additional context

Add any other context information about the feature request here.