Skip to content

#267 Deploy Keycloak next to kubernetes#283

Open
sahithya23 wants to merge 3 commits intoGreenstand:masterfrom
sahithya23:feature/deploy_keycloak_next
Open

#267 Deploy Keycloak next to kubernetes#283
sahithya23 wants to merge 3 commits intoGreenstand:masterfrom
sahithya23:feature/deploy_keycloak_next

Conversation

@sahithya23
Copy link

@sahithya23 sahithya23 commented Nov 2, 2025

• Purpose of the changes: Deploy keycloak next to Kubernetes
• Any relevant issue numbers: 267

Copy link
Contributor

@dadiorchen dadiorchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sahithya23 for those template folder and files under it, what are they about? Are they must-have files for us to download your code and run the helm command to install keycloak?


## Uninstall Keycloak
```bash
helm uninstall keycloak --namespace keycloak
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So @sahithya23 when we run this, it will use the current default kubectl context to deploy to the switched context env, right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About Template Folder
The templates/ folder is part of the Helm chart structure. It contains the Kubernetes manifest templates that Helm renders at install time.
They define the Keycloak Kubernetes resources such as Deployment, Service, Secrets, etc. Helm uses these templates along with the values.yaml file to generate the actual manifests deployed to the cluster.

Since we are using prepackaged helm chart, template folder has all the resources, we are controlling their behavior through values.yaml file using enabled: true/false
with this helm chart these resources are created: stateful set, service, secrets, pvc.

We can have separate values file for each environment so that we can use same chart across all environments.

About kube context when running Helm
Yes, that's correct — when running the Helm install command, it will deploy to the currently active Kubernetes context set in the user's kubeconfig.

@dadiorchen
Copy link
Contributor

@sahithya23 the sealed secret is part of the code, please commit to the repository. This service is doing the same:

database_sealed_secret: AgAnLgL+8LAv5tV1PE7d7A2L09Bdm4p8hjHqUL6bWx/Usgke8OlRYMrg3v8tZqj1pFiHMq9IE5Sm86TC+7SxHfMmEN44W/e4sdWYXxJ1y3CRY5Ie+3EL9vJOVysqejSD8UxeUA/9yJ/nfTLqLc9o/Ll5NAL1M0YIfUAx/yxZOYRRPOYuML10szXg0GeCO4Dm8Mx9TvTXOH256KWl/SHyHzP9OTXsyjUQ0n9PL3YhqnZWhNaL/ACSmfnmwl+XRizfaIVB+tb1NpgAKHkIjklPW2BhZV2/kda8JGhuKdVGnw6YXXhXWdO4Rt6DHCN1ioNa1i+mTzchh8gRSx7w1u2rv5eGAQWp8Fktcx6nKkHtwSXjMclCN9rA2Dukl5ID2aIb5eKejxzmWHKP0RNLLsrvZrR/xJcKJnot4Ojk1vbBjEE+PMER+u88uC219BT492vIwYAB5pklbZxwu0pehMB8m+IhFXRh3iGl7CmKGBem8SViInzvm740+N5wa/wVI/1Ch0pV6A5OMGt8a6SmsExvyhP9NdjE22BoY9Gy3WMQtqe86l+WlebWHN4IkMgVd+AppTZSJlWGcvgI222KfDFN/Sw0HUcwBNGRSLLvVzHx/VQPd6+vkF5WeyCqi6JsTYZ7WtMd2A3Gu0vm18imwCc6O4fkk0v7n+Jwkq9/ddIxN/bR1rScSroml6+WJQbYRJ2jM48Gd8LiuCCcqZVycOTJm2GH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants