mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-24 09:50:08 +00:00
parent
7d86b51246
commit
a2c9ed21ff
2 changed files with 0 additions and 8 deletions
|
|
@ -141,12 +141,6 @@ export interface ApplicationSource {
|
|||
*/
|
||||
path: string;
|
||||
|
||||
/**
|
||||
* DEPRECATED.
|
||||
* Overridden component parameters.
|
||||
*/
|
||||
componentParameterOverrides?: ComponentParameter[];
|
||||
|
||||
helm?: ApplicationSourceHelm;
|
||||
|
||||
kustomize?: ApplicationSourceKustomize;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ export class ApplicationsService {
|
|||
}
|
||||
|
||||
public updateSpec(appName: string, spec: models.ApplicationSpec): Promise<models.ApplicationSpec> {
|
||||
spec.source.componentParameterOverrides = null;
|
||||
return requests.put(`/applications/${appName}/spec`).send(spec).then((res) => res.body as models.ApplicationSpec);
|
||||
}
|
||||
|
||||
|
|
@ -184,7 +183,6 @@ export class ApplicationsService {
|
|||
summary: {},
|
||||
},
|
||||
}, data);
|
||||
delete data.spec.source.componentParameterOverrides;
|
||||
|
||||
return data as models.Application;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue