Fix breaking change from source-controller 1.9
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
@@ -130,7 +130,7 @@ func createSourceChartCmdRun(cmd *cobra.Command, args []string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if provider := sourceChartArgs.verifyProvider.String(); provider != "" {
|
if provider := sourceChartArgs.verifyProvider.String(); provider != "" {
|
||||||
helmChart.Spec.Verify = &sourcev1.OCIRepositoryVerification{
|
helmChart.Spec.Verify = &sourcev1.HelmChartVerification{
|
||||||
Provider: provider,
|
Provider: provider,
|
||||||
}
|
}
|
||||||
if secretName := sourceChartArgs.verifySecretRef; secretName != "" {
|
if secretName := sourceChartArgs.verifySecretRef; secretName != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user