@@ -123,17 +123,13 @@ func (svc *argoCDService) GetAppDetails(ctx context.Context, appSource *v1alpha1
123
123
return nil , err
124
124
}
125
125
126
- fmt .Sprintf ("----- appSource.Helm.Marshal data : %v" , data )
126
+ fmt .Sprintf ("----- appSource: %v" , appSource )
127
127
128
128
appDetail .Helm .Unmarshal (data )
129
- fmt .Sprintf ("----- appDetail.Helm data : %v" , appDetail . Helm )
130
-
129
+ fmt .Sprintf ("----- appDetail: %v" , appDetail )
130
+
131
131
var has * shared.HelmAppSpec
132
132
if appDetail .Helm != nil {
133
-
134
- fmt .Sprintf (" ------- appSource.Helm.Parameters: %v\n " , appSource .Helm .Parameters )
135
- fmt .Sprintf (" ------- appDetail.Helm.Parameters: %v\n " , appDetail .Helm .Parameters )
136
-
137
133
if appSource .Helm .Parameters != nil {
138
134
for _ , overrideParam := range appSource .Helm .Parameters {
139
135
for _ , defaultParam := range appDetail .Helm .Parameters {
@@ -172,12 +168,11 @@ func (svc *argoCDService) GetAppDetails(ctx context.Context, appSource *v1alpha1
172
168
// fmt.Printf("-------appSource.Helm.Parameters: %v\n", appSource.Helm.Parameters)
173
169
// fmt.Printf("-------appDetail.Helm.Parameters: %v\n", appDetail.Helm.Parameters)
174
170
//}
175
-
176
171
has = & shared.HelmAppSpec {
177
172
Name : appDetail .Helm .Name ,
178
173
ValueFiles : appDetail .Helm .ValueFiles ,
179
174
Parameters : appDetail .Helm .Parameters ,
180
- Values : appSource .Helm .Values ,
175
+ Values : appDetail .Helm .Values ,
181
176
FileParameters : appDetail .Helm .FileParameters ,
182
177
}
183
178
}
0 commit comments