@@ -106,7 +106,6 @@ export default class ExpandedChart extends Component<PropsType, StateType> {
id: currentProject.id,
name: this.props.currentChart.name,
cluster_id: currentCluster.id,
- service_account_id: currentCluster.service_account_id,
}, (err: any, res: any) => {
if (err) {
setCurrentError(err);
@@ -81,7 +81,6 @@ export default class RevisionSection extends Component<PropsType, StateType> {
name: this.props.chart.name,
console.log(err);
@@ -56,7 +56,6 @@ export default class ValuesYaml extends Component<PropsType, StateType> {
console.log(err)
@@ -44,7 +44,6 @@ export default class LaunchTemplate extends Component<PropsType, StateType> {
}, {
@@ -159,7 +159,7 @@ const deployTemplate = baseApi<{
formValues: any,
storage: StorageType,
}, { id: number, cluster_id: number }>('POST', pathParams => {
- let { cluster_id } = pathParams;
+ let { cluster_id, id } = pathParams;
return `/api/projects/${id}/deploy?cluster_id=${cluster_id}`;
});