diff --git a/src/otomi-stack.ts b/src/otomi-stack.ts index 5f0ea1387..cd0157f77 100644 --- a/src/otomi-stack.ts +++ b/src/otomi-stack.ts @@ -1618,19 +1618,6 @@ export default class OtomiStack { ) } - async saveTeamApps(teamId: string): Promise { - const apps = {} - - const content = { - teamConfig: { - [teamId]: { - apps, - }, - }, - } - await this.repo.writeFile(`env/teams/apps.${teamId}.yaml`, content) - } - async saveSettings(secretPaths?: string[]): Promise { const settings = cloneDeep(this.getSettings()) as Record> settings.otomi.nodeSelector = arrayToObject(settings.otomi.nodeSelector as []) @@ -1669,7 +1656,6 @@ export default class OtomiStack { teams.map(async (inTeam) => { const team: Record = omit(inTeam, 'name') const teamId = team.id as string - await this.saveTeamApps(teamId) await this.saveTeamBackups(teamId) await this.saveTeamNetpols(teamId) await this.saveTeamServices(teamId) @@ -1894,7 +1880,6 @@ export default class OtomiStack { await this.saveTeams(secretPaths) // also save admin apps await this.saveAdminApps(secretPaths) - await this.saveTeamApps('admin') } async getSession(user: k8s.User): Promise {