We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5cfda commit 996dec6Copy full SHA for 996dec6
pkg/chartRepo/ChartRepositoryService.go
@@ -111,12 +111,12 @@ func (impl *ChartRepositoryServiceImpl) CreateSecretDataForHelmChart(request *Ch
111
if isPrivateChart {
112
secretData[USERNAME] = request.UserName
113
secretData[PASSWORD] = request.Password
114
- isInsecureConnection := "true"
115
- if !request.AllowInsecureConnection {
116
- isInsecureConnection = "false"
117
- }
118
- secretData[INSECRUE] = isInsecureConnection
119
}
+ isInsecureConnection := "true"
+ if !request.AllowInsecureConnection {
+ isInsecureConnection = "false"
+ }
+ secretData[INSECRUE] = isInsecureConnection
120
121
return secretData
122
0 commit comments