Skip to content

Commit d410138

Browse files
authored
Merge pull request #150 from linuxfoundation/agaete/fix-key-collision
fix: key collision with LFX One Auth0 client credentials
2 parents 4e065d8 + 4b83782 commit d410138

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

charts/lfx-v2-ui/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: v2
55
name: lfx-v2-ui
66
description: A Helm chart for LFX v2 UI - Angular SSR application with Express backend
77
type: application
8-
version: 0.3.0
8+
version: 0.3.1
99
appVersion: "latest"
1010
keywords:
1111
- lfx

charts/lfx-v2-ui/values.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,27 @@ externalSecrets:
8888
# service: "lfx-v2-ui"
8989
# rewrite:
9090
# - merge: {}
91-
# dataFrom: []
91+
dataFrom:
92+
# Two Auth0 clients are configured for this application, which results in key collisions
93+
# Extract and prefix both keys to solve this
94+
- extract:
95+
key: '/cloudops/managed-secrets/auth0/LFX_ONE'
96+
rewrite:
97+
- regexp:
98+
source: '(.*)'
99+
replacement: 'auth0_$1'
100+
- extract:
101+
key: '/cloudops/managed-secrets/auth0/LFX_ONE_Passwordless'
102+
rewrite:
103+
- regexp:
104+
source: '(.*)'
105+
replacement: 'auth0_passwordless_$1'
106+
- find:
107+
tags:
108+
service: "pcc"
109+
rewrite:
110+
- merge:
111+
conflictPolicy: Ignore
92112

93113
# Global annotations to add to all resources
94114
annotations: {}

0 commit comments

Comments
 (0)