Skip to content

Commit

Permalink
move helm overrides out of predeploy if statement (#4077)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-g-town authored Dec 12, 2023
1 parent 90f01f0 commit bd274cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dashboard/src/lib/porter-apps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,11 @@ export function clientAppToProto(data: PorterAppFormData): PorterApp {
build: clientBuildToProto(app.build),
...(predeploy && {
predeploy: serviceProto(serializeService(predeploy)),
helmOverrides:
app.helmOverrides != null
? new HelmOverrides({ b64Values: btoa(app.helmOverrides) })
: undefined,
}),
helmOverrides:
app.helmOverrides != null
? new HelmOverrides({ b64Values: btoa(app.helmOverrides) })
: undefined,
efsStorage: new EFS({
enabled: app.efsStorage.enabled,
}),
Expand Down

0 comments on commit bd274cc

Please sign in to comment.