Skip to content

Commit 996dec6

Browse files
committed
updating argocd secret
1 parent 8b5cfda commit 996dec6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/chartRepo/ChartRepositoryService.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ func (impl *ChartRepositoryServiceImpl) CreateSecretDataForHelmChart(request *Ch
111111
if isPrivateChart {
112112
secretData[USERNAME] = request.UserName
113113
secretData[PASSWORD] = request.Password
114-
isInsecureConnection := "true"
115-
if !request.AllowInsecureConnection {
116-
isInsecureConnection = "false"
117-
}
118-
secretData[INSECRUE] = isInsecureConnection
119114
}
115+
isInsecureConnection := "true"
116+
if !request.AllowInsecureConnection {
117+
isInsecureConnection = "false"
118+
}
119+
secretData[INSECRUE] = isInsecureConnection
120120

121121
return secretData
122122
}

0 commit comments

Comments
 (0)