-
Notifications
You must be signed in to change notification settings - Fork 894
chore: color value_source
for deployment values
#9922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
ac997a9
3748430
07588ec
e1a8997
a6cc10e
be1aec3
dc67bb7
53b147b
b1058a6
6ce3af7
5049884
9e68d53
27cc9f3
a5029d1
ab2ecd9
1afa4fe
03a7883
93aa426
42fb5d0
cbb69bc
b5a9164
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -153,7 +153,7 @@ type Options struct { | |||||||||
MetricsCacheRefreshInterval time.Duration | ||||||||||
AgentStatsRefreshInterval time.Duration | ||||||||||
DeploymentValues *codersdk.DeploymentValues | ||||||||||
// DeploymentOptions do contain the copy of DeploymentValues, but contain | ||||||||||
// DeploymentOptions do contain the copy of DeploymentValues, and contain | ||||||||||
// contextual information about how the values were set. | ||||||||||
Emyrk marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||
// Do not use DeploymentOptions to retrieve values, use DeploymentValues instead. | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not just strip all values from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wanted to go this route, but the UI grabs the value from the option. Values are returned in the parsed form, and the option form: Lines 34 to 37 in b1058a6
There is no way to associate the values between the two, so the value needs to be present on the Option for the UI to know. I feel like this could use a bit of a refactor, but it is working and not really that important. |
||||||||||
// All secrets values are stripped. | ||||||||||
|
Uh oh!
There was an error while loading. Please reload this page.