charts icon indicating copy to clipboard operation
charts copied to clipboard

[bitnami/keycloak] Not able to reuse pvc/pv from previous deploy

Open sule26 opened this issue 1 year ago • 1 comments

Name and Version

bitnami/keycloak 22.1.1

What architecture are you using?

amd64

What steps will reproduce the bug?

Just apply the chart with default values.

Are you using any custom parameters or values?

global:
  defaultStorageClass: ebs-sc
auth:
  adminUser: admin
tls:
  enabled: true
  existingSecret: tls-keycloak
  usePem: true
production: true
nodeSelector:
  kubernetes.io/arch: amd64
service:
  type: ClusterIP
  http:
    enabled: true
  ports:
    http: 80
    https: 443
  # loadBalancerIP: ""
ingress:
  enabled: true
  ingressClassName: nginx-internal
  hostname: keycloak.internal
  hostnameStrict: true
  servicePort: https
  tls: true
metrics:
  enabled: true
  serviceMonitor:
    enabled: true
logging:
  output: json
  level: INFO

What is the expected behavior?

I expected to configure Keycloak through the UI, uninstall the application, then reinstall it, and still find my settings intact when reopening the UI.

What do you see instead?

I'm encountering the same issue described in this guide. When I delete the PVC and reinstall the application, a new PVC is created, but it binds to a different PV instead of the original one.

Additional information

No response

sule26 avatar Aug 16 '24 20:08 sule26

Hi,

I believe that this is expected, in the sense that you are deleting the PVC with the application data. Could you try re-deploying without deleting the keycloak PVC?

javsalgar avatar Aug 19 '24 07:08 javsalgar

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] avatar Sep 04 '24 01:09 github-actions[bot]

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

github-actions[bot] avatar Sep 09 '24 01:09 github-actions[bot]