Skip to content

Commit

Permalink
Avoid using Launchdarkly default key (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
moicalcob authored Sep 12, 2024
1 parent 4c0f8bc commit bed96c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions manifests/kots-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,12 @@ spec:
repl{{ $_ := set $result "cartoAccGcpProjectId" "Y2FydG8tYWNjLXVzLWVhc3QxLTE=" }}
repl{{ $_ := set $result "cartoAccGcpProjectRegion" "dXMtZWFzdDEtMQ==" }}
repl{{ $_ := set $result "cartoAuth0CustomDomain" "YXV0aC5jYXJ0by5jb20=" }}
repl{{ $_ := set $result "launchDarklyClientSideId" "NjIxNjNmMzZkYjFmNGQxNDhmZmI3Y2Fh" }}
repl{{ $_ := set $result "dataObservatoryProjectId" "Y2FydG8tZGF0YQ==" }}
repl{{ else if eq $environment "staging" }}
repl{{ $_ := set $result "cartoAccApiDomain" "YWNjb3VudHMuc3RhZy5hcHAuY2FydG8uY29t" }}
repl{{ $_ := set $result "cartoAccGcpProjectId" "Y2FydG8tYWNjLXVzLWVhc3QxLTEtc3RhZw==" }}
repl{{ $_ := set $result "cartoAccGcpProjectRegion" "dXMtZWFzdDEtMS1zdGFn" }}
repl{{ $_ := set $result "cartoAuth0CustomDomain" "YXV0aC5zdGFnLmNhcnRvLmNvbQ==" }}
repl{{ $_ := set $result "launchDarklyClientSideId" "NjIxNjNmMTYyZDliOTUxNGI4MzI1NWM2" }}
repl{{ $_ := set $result "dataObservatoryProjectId" "Y2FydG8tZGF0YS1zdGFn" }}
repl{{ end }}
repl{{ toJson $result }}
Expand Down
2 changes: 1 addition & 1 deletion manifests/kots-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
cartoAuth0ClientId: '{{repl LicenseFieldValue "cartoAuthClientId" }}'
cartoAuth0CustomDomain: '{{repl fromJson (ConfigOption "valuesDerivedFromCartoPlatformEnvironment") | dig "cartoAuth0CustomDomain" "" | Base64Decode }}'
selfHostedTenantId: '{{repl LicenseFieldValue "selfHostedId" }}'
launchDarklyClientSideId: '{{repl fromJson (ConfigOption "valuesDerivedFromCartoPlatformEnvironment") | dig "launchDarklyClientSideId" "" | Base64Decode }}'
launchDarklyClientSideId: '{{repl LicenseFieldValue "cartoFeaturesFlagSdkKey" }}'
selfHostedGcpProjectId: '{{repl (ConfigOption "derivedSelfHostedGCPProjectId") }}'
enableErrorResponseStackTrace: "false"
cartoDataWarehouseEnabled: '{{repl ConfigOptionEquals "enableCDW" "1" }}'
Expand Down

0 comments on commit bed96c3

Please sign in to comment.