Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d78fb9f
miograting from bitnami to redhat img & codecentric chart
sandeepbh5 Sep 25, 2025
4e9d27e
adding argo app for realm-config
sandeepbh5 Sep 25, 2025
b6cc8a4
fixing trivy errors
sandeepbh5 Sep 25, 2025
329d0ca
fixing lint issue
sandeepbh5 Sep 25, 2025
0cf0094
Merge branch 'main' into bitnami-to-redhat-keycloak
sandeepbh5 Sep 25, 2025
f74119d
fixing new helm chart's args
sandeepbh5 Sep 29, 2025
97ac3e1
Merge branch 'main' into bitnami-to-redhat-keycloak
sandeepbh5 Sep 30, 2025
74b65bb
making the value string
sandeepbh5 Sep 30, 2025
58ccf10
fixed erorrs in pod run,
sandeepbh5 Sep 30, 2025
b291b77
Use platform-keycloak-http FQDN for secrets-config OIDC endpoints
sandeepbh5 Sep 30, 2025
fe33700
updating the platform-keycloak service name (as per the new chart)
sandeepbh5 Sep 30, 2025
9b6afef
updating the urls as per new service name
sandeepbh5 Oct 1, 2025
4928ae9
Merge branch 'main' into bitnami-to-redhat-keycloak
sandeepbh5 Oct 1, 2025
3182e78
Fix keycloak-tenant-controller: use admin-cli client and add backward…
sandeepbh5 Oct 1, 2025
3bf9a02
Fix Keycloak tenant controller authentication for Codecentric migration
sandeepbh5 Oct 7, 2025
e0c1e3b
feat: add system-client setup for Codecentric Keycloak
sandeepbh5 Oct 7, 2025
26fe0f9
fix: add URL encoding for admin password in system-client setup
sandeepbh5 Oct 7, 2025
7068ef3
fix: simplify system-client setup with portable bash syntax
sandeepbh5 Oct 7, 2025
80e0c4f
correcting indentation
sandeepbh5 Oct 7, 2025
044311a
Merge branch 'main' into bitnami-to-redhat-keycloak
sandeepbh5 Oct 7, 2025
0e632db
fix: Keycloak authentication for fresh deployments
sandeepbh5 Oct 7, 2025
59a331d
feat: permanent Keycloak authentication fix for fresh deployments
sandeepbh5 Oct 8, 2025
4b5bc10
update: set deployRepoRevision to latest commit with all fixes
sandeepbh5 Oct 8, 2025
f48c8e3
Update root-app to use latest revision with Keycloak fixes
sandeepbh5 Oct 8, 2025
7d590bb
Update deployRepoRevision to latest commit with Keycloak fixes
sandeepbh5 Oct 8, 2025
1c92acd
Use branch name for deployRepoRevision to support local development
sandeepbh5 Oct 8, 2025
d94fb6e
fix: improve admin-cli client configuration for Codecentric Keycloak
sandeepbh5 Oct 8, 2025
165b06b
fix: revert admin-cli to direct access grants for orch-library compat…
sandeepbh5 Oct 8, 2025
3b55876
fix: add missing edge-manager-m2m-client to Keycloak realm
sandeepbh5 Oct 8, 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
70 changes: 70 additions & 0 deletions argocd/applications/configs/platform-keycloak-config-job.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# SPDX-FileCopyrightText: 2025 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

apiVersion: batch/v1
kind: Job
metadata:
name: platform-keycloak-config-import
namespace: orch-platform
annotations:
helm.sh/hook: post-install,post-upgrade
helm.sh/hook-weight: "1"
helm.sh/hook-delete-policy: hook-succeeded
spec:
template:
metadata:
labels:
app: keycloak-config-import
sidecar.istio.io/inject: "false"
spec:
restartPolicy: OnFailure
containers:
- name: keycloak-config-cli
image: quay.io/adorsys/keycloak-config-cli:5.12.0-26.0.7
imagePullPolicy: IfNotPresent
env:
- name: KEYCLOAK_URL
value: "http://platform-keycloak:8080"
- name: KEYCLOAK_USER
value: "admin"
- name: KEYCLOAK_PASSWORD
valueFrom:
secretKeyRef:
name: platform-keycloak
key: admin-password
- name: IMPORT_MANAGED_GROUP
value: "no-delete"
- name: IMPORT_MANAGED_REQUIRED_ACTION
value: "no-delete"
- name: IMPORT_MANAGED_ROLE
value: "no-delete"
- name: IMPORT_MANAGED_CLIENT
value: "no-delete"
- name: KEYCLOAK_AVAILABILITYCHECK_ENABLED
value: "true"
- name: KEYCLOAK_AVAILABILITYCHECK_TIMEOUT
value: "120s"
volumeMounts:
- name: keycloak-config
mountPath: /opt/keycloak-config-cli/configs
readOnly: true
securityContext:
runAsNonRoot: true
runAsUser: 1000
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: "RuntimeDefault"
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
volumes:
- name: keycloak-config
configMap:
name: platform-keycloak-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: 2025 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

# Template for creating the Keycloak database secret
# This secret contains the PostgreSQL connection information for Keycloak
#
# IMPORTANT: Update the values below to match your environment before applying!
#
# For local deployment, the secret is typically created by mage commands
# For production, ensure you have the correct database connection details

apiVersion: v1
kind: Secret
metadata:
name: platform-keycloak-local-postgresql
namespace: orch-platform # Update to your actual namespace
type: Opaque
stringData:
# Database connection details - UPDATE THESE VALUES!
PGHOST: postgresql.orch-database.svc.cluster.local # PostgreSQL service name
PGPORT: "5432" # PostgreSQL port
PGUSER: orch-platform-keycloak_user # Database username
PGDATABASE: orch-platform-keycloak # Database name
PGPASSWORD: your-database-password-here # Database password - CHANGE THIS!

# Additional fields that might be used
password: your-database-password-here # Alternative password field
Loading
Loading