This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
Boolean parameter values are not passed properly to oc process
#115
Labels
oc process
#115
Boolean parameter values are not properly passed to
oc process
.If I have the following parameters specified in a saasherder service config:
And the following template is used with a parameter that is interpolated as a non-string boolean parameter in the cronjob spec:
Saasherder generates the oc process command similar to the following:
Note that the value is
True
, nottrue
as specified in the saasherder config.The process command succeeds, but results in an invalid cron definition:
The resulting suspend field in the cron object looks like:
When running the same
oc process
command withSUSPEND_CRON=true
rather thanSUSPEND_CRON=True
, the parameter is correctly recognized as a non-string parameter:The text was updated successfully, but these errors were encountered: