Closed dploeger closed 1 week ago
Not a good idea to mix two things in your PR, but since you did i will refer to the second thing you changed: the
USE_
not-recommendations: First it also should be hinted in theFEATURES
section: https://github.com/dodevops/cloudcontrol?tab=readme-ov-file#configuring-features. Second, the<SOMETHING>_VERSION
are still marked as required, but can be given in theFEATURES
variable as well. Third we should describe why it is recommended to useFEATURES
: Either we deprecatedUSE_
and remove it later, or we leave both options, but then there is no point in recommendFEATURES
other than it is shorter thanUSE_
and we should exactly tell that then.
I would not deprecate it as the USE_ way can help with automations (like it is used in the test suite currently). Let me rephrase it.
Where do you see that _VERSION is marked as required?
Where do you see that _VERSION is marked as required?
Just search for the string "(required)" in the (generated) docs, you'll find plenty of them. Example:
Environment HELM_VERSION (required): Valid Helm version to install (e.g. 1.5.4)
Where do you see that _VERSION is marked as required?
Just search for the string "(required)" in the (generated) docs, you'll find plenty of them. Example:
Environment HELM_VERSION (required): Valid Helm version to install (e.g. 1.5.4)
Ahhh, thaaat's what you mean. Okay. We need to make clear, that a version is required for these features. Either through FEATURES or
I have now made the requirement for a version expressive in the feature descriptor and have adapted the documentation generator. Please take a look.
Better but it now misses, that the versions are required. Proposal would be to make it like this:
VELERO_VERSION (required): Version to install (or use the FEATURES variable instead)
Or like this:
VELERO_VERSION: Version to install (or use the FEATURES variable instead) - required
I prefer the first one, even it is slightly confusing that the
Implemented the first one.
This is a replacement of certificates, which is deprecated with this.
Includes a feature to set a deprecation in the docs and adds a little not to prefer the FEATURES variable over the USE_ variable.
Fixes #133