Kubernetes/Docker Environment Variable With Value of "y" Becomes "true"

Description

Running TrueNAS Scale 22.02 RC2, if you setup an application using the Launch Docker Image button and enter an environment variable with a value of "y" (without the quotes), this will be changed to true (boolean value). The chart.release API call that retrieves information about the application confirms that the environment variable in question has a value of true (boolean, without quotes, not a string) and not the orignal value of "y" (a string).

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk January 20, 2022 at 12:02 PM

Harry Muscle January 12, 2022 at 4:50 PM
Edited

I prefer not to share our debug logs.  We'd have to go through them to make sure they contain no sensitive information first and there are lots of them.  So I've attached screenshots showing the issue.  Screen shots 1 is the environment variable as it is entered.  Screen shot 2 is the environment variable as it is displayed after it has been saved and the application is edited.  And screenshot 3 is the error message displayed if you try to save the application when editing it.

Bonnie Follweiler January 7, 2022 at 9:53 PM

Thank you for the report, .

Can you please attach a debug file to the "Private Attachments" section of this ticket? To generate a debug file on TrueNAS SCALE, log in to the TrueNAS web interface, go to System Settings > Advanced, then click SAVE DEBUG and wait for the file to download to your local system.

Complete

Details

Assignee

Reporter

Labels

Impact

High

Time remaining

0m

Fix versions

Affects versions

Priority

Katalon Platform

Created January 7, 2022 at 9:01 PM
Updated July 1, 2022 at 5:55 PM
Resolved January 20, 2022 at 10:33 PM