Skip to content

Commit 5c9e204

Browse files
authored
fix: --insecure-cookies broke for v2 charts (#178)
1 parent 8742b79 commit 5c9e204

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

internal/helm/airbyte_values.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func buildAirbyteValuesV2(ctx context.Context, opts ValuesOpts) (string, error)
168168

169169
if opts.InsecureCookies {
170170
// Boolean is a string value in the v1 Helm chart.
171-
vals = append(vals, `global.auth.cookieSecureSetting="false"`)
171+
vals = append(vals, `global.auth.security.cookieSecureSetting="false"`)
172172
}
173173

174174
fileVals, err := maps.FromYAMLFile(opts.ValuesFile)

internal/helm/airbyte_values_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ connectorBuilderServer:
244244
enabled: false
245245
global:
246246
auth:
247-
cookieSecureSetting: '"false"'
247+
security:
248+
cookieSecureSetting: '"false"'
248249
enabled: true
249250
env_vars:
250251
AIRBYTE_INSTALLATION_ID: test-user

0 commit comments

Comments
 (0)