fix(deps): update module github.com/sap/component-operator-runtime to v0.2.8 #35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.2.6
->v0.2.8
Release Notes
sap/component-operator-runtime (github.com/sap/component-operator-runtime)
v0.2.8
Compare Source
Changes
A new struct tag (
notFoundPolicy
) can now be set onConfigMap(Key)Reference
andSecret(Key)Reference
fields in the component's spec, such as:By default, the absence of a referenced config map or secret would put the component into an error/retry state. However, if the component is in deletion (has a
metadata.deletionTimestamp
set), and if the affected reference has that struct tag set with valueignoreOnDeletion
, then no error will happen, and the deletion can proceed, even without the referenced config map or secret being loaded. Note that in that case, the skipped reference must not be dereferenced (by callingData()
resp.Value()
) under any circumstances; any attempt to do so will lead to a panic.v0.2.7
Compare Source
Changes
Add some template functions (available in
HelmGenerator
andKustomizeGenerator
); the full list of template functions (on top of or overloading go template standard and sprig functions) is now:toYaml
: same asmustToYaml
mustToYaml
: as in helmfromYaml
: same asmustFromYaml
mustFromYaml
: as in helmtoJson
: same asmustToJson
mustToJson
: as in helmtoPrettyJson
: same asmustToPrettyJson
mustToPrettyJson
: as in helmtoRawJson
: same asmustToRawJson
mustToRawJson
: as in helmfromJson
: same asmustFromJson
mustFromJson
: as in helmrequired
: as in helminclude
: as in helmtpl
: as in helmlookup
: as in helmmustLookup
: same aslookup
, but fails if referenced object does not existlocalLookup
: looks up given object in local cluster (that is the cluster where the component exists); returns an empty map if object does not existmustLocalLookup
: same aslocalLookup
, but fails if referenced object does not existConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.