Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b9abb2b
fix: clean up values further
bkenez Sep 2, 2025
ca5e4dc
fix: too much
bkenez Sep 2, 2025
f2a289d
Merge branch 'main' into integration-test-credentials
bkenez Sep 2, 2025
e46115e
fix: still
bkenez Sep 2, 2025
3298052
Merge branch 'integration-test-credentials' of https://github.com/cam…
bkenez Sep 2, 2025
6b5656d
fix: 8.5
bkenez Sep 2, 2025
4b786b5
fix: more
bkenez Sep 2, 2025
d442d91
Merge branch 'main' into integration-test-credentials
bkenez Sep 3, 2025
11f41b7
fix: last few
bkenez Sep 3, 2025
55b7aac
Merge branch 'integration-test-credentials' of https://github.com/cam…
bkenez Sep 3, 2025
7b326d4
fix: 8.7
bkenez Sep 3, 2025
a18041f
fix: 8.7
bkenez Sep 3, 2025
7fc1c28
Merge branch 'main' of https://github.com/camunda/camunda-platform-he…
bkenez Sep 3, 2025
d7f381c
fix: move versioned secrets to their own chart version
bkenez Sep 3, 2025
e20f27d
fix: clean up values further
bkenez Sep 2, 2025
f9ba91a
fix: too much
bkenez Sep 2, 2025
762712b
fix: still
bkenez Sep 2, 2025
2355bd9
fix: 8.5
bkenez Sep 2, 2025
9be4849
fix: more
bkenez Sep 2, 2025
f08807f
fix: last few
bkenez Sep 3, 2025
f78886e
fix: 8.7
bkenez Sep 3, 2025
1a9eb68
fix: 8.7
bkenez Sep 3, 2025
7410553
fix: move versioned secrets to their own chart version
bkenez Sep 3, 2025
16b1dac
Merge branch 'main' into integration-test-credentials
bkenez Sep 4, 2025
44d0645
Merge branch 'integration-test-credentials' of https://github.com/cam…
bkenez Sep 18, 2025
003bd00
Merge branch 'main' of https://github.com/camunda/camunda-platform-he…
bkenez Sep 18, 2025
97e9e6e
fix: adjust credentials location and remove version from filename
bkenez Sep 18, 2025
3e4966d
Merge branch 'main' into integration-test-credentials
bkenez Sep 18, 2025
7fc4a81
Merge branch 'main' into integration-test-credentials
bkenez Sep 18, 2025
f6e48c2
Merge branch 'main' into integration-test-credentials
bkenez Sep 23, 2025
7e87a4f
Merge branch 'main' into integration-test-credentials
bkenez Sep 24, 2025
081f44d
Merge branch 'main' into integration-test-credentials
bkenez Oct 1, 2025
641a538
Merge branch 'main' into integration-test-credentials
bkenez Oct 1, 2025
03ad5d5
fix: merge conflicts
bkenez Oct 1, 2025
52fbb29
Merge branch 'integration-test-credentials' of https://github.com/cam…
bkenez Oct 1, 2025
2789d32
fix: move secret action spet
bkenez Oct 1, 2025
0cfbd90
fix: move to external-secrets dir
bkenez Oct 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/actions/cluster-setup-secrets/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,16 @@ runs:
kubectl apply -n "$TEST_NAMESPACE" \
-f .github/config/external-secret/external-secret-certificates.yaml

APP_VERSION=$(helm show chart "$CHART_PATH" | yq .appVersion | grep -o '^[0-9]*\.[0-9]*')
VERSION_FILE=".github/config/external-secret/external-secret-${APP_VERSION}-integration-test-credentials.yaml"

if [[ -f "$VERSION_FILE" ]]; then
echo "✅ Applying version-specific external secret for app version: ${APP_VERSION}"
kubectl apply -n "$TEST_NAMESPACE" -f "$VERSION_FILE"
# Apply external secret configuration for integration tests
# Check for chart-specific external secret first (better approach)
CHART_SPECIFIC_FILE="${CHART_PATH}/test/integration/external-secrets/external-secret-integration-test-credentials.yaml"

if [[ -f "$CHART_SPECIFIC_FILE" ]]; then
echo "✅ Applying chart-specific external secret for integration tests: $CHART_SPECIFIC_FILE"
kubectl apply -n "$TEST_NAMESPACE" -f "$CHART_SPECIFIC_FILE"
else
echo "⚠️ Version-specific external secret not found for app version: ${APP_VERSION}, using fallback"
echo "⚠️ Chart-specific external secret not found, using fallback"
# For backward compatibility with other versions (alpha, future versions).
kubectl apply -n "$TEST_NAMESPACE" \
-f .github/config/external-secret/external-secret-integration-test-credentials.yaml
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ spec:
remoteRef:
key: integration-test
property: console-secret
- secretKey: keycloak-secret
remoteRef:
key: integration-test
property: keycloak-secret
- secretKey: zeebe-secret
remoteRef:
key: integration-test
property: zeebe-secret

# Identity authentication secrets
- secretKey: identity-firstuser-password
remoteRef:
key: integration-test
property: identity-firstuser-password
- secretKey: identity-user-password
remoteRef:
key: integration-test
Expand All @@ -72,6 +72,14 @@ spec:
property: password

# Infrastructure passwords
- secretKey: admin-password
remoteRef:
key: integration-test
property: admin-password
- secretKey: postgres-password
remoteRef:
key: integration-test
property: postgres-password
- secretKey: password
remoteRef:
key: integration-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ spec:
remoteRef:
key: integration-test
property: console-secret
- secretKey: keycloak-secret
remoteRef:
key: integration-test
property: keycloak-secret
- secretKey: zeebe-secret
remoteRef:
key: integration-test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,6 @@ spec:
property: entra-child-app-client-secret

# Component authentication secrets
- secretKey: optimize-secret
remoteRef:
key: integration-test
property: optimize-secret
- secretKey: connectors-secret
remoteRef:
key: integration-test
property: connectors-secret
- secretKey: keycloak-secret
remoteRef:
key: integration-test
property: keycloak-secret

# Identity authentication secrets
- secretKey: identity-user-password
Expand All @@ -50,10 +38,6 @@ spec:
remoteRef:
key: integration-test
property: password
- secretKey: identity-connectors-client-password
remoteRef:
key: integration-test
property: password
- secretKey: identity-connectors-client-token
remoteRef:
key: integration-test
Expand All @@ -66,26 +50,10 @@ spec:
remoteRef:
key: integration-test
property: password
- secretKey: identity-operate-client-password
remoteRef:
key: integration-test
property: password
- secretKey: identity-optimize-client-password
remoteRef:
key: integration-test
property: password
- secretKey: identity-optimize-client-token
remoteRef:
key: integration-test
property: password
- secretKey: identity-tasklist-client-password
remoteRef:
key: integration-test
property: password
- secretKey: identity-zeebe-client-password
remoteRef:
key: integration-test
property: password
- secretKey: identity-keycloak-admin-password
remoteRef:
key: integration-test
Expand Down
Loading