ship icon indicating copy to clipboard operation
ship copied to clipboard

Failed to init Keycloak with postgres subchart dependency

Open dave08 opened this issue 5 years ago • 3 comments

Expected behavior

Finishes the ship init process

Actual behavior

Gets stuck when saving the values with a [ERROR] templates/: render error in "keycloak/templates/statefulset.yaml": template: keycloak/templates/_helpers.tpl:50:12: executing "keycloak.postgresql.fullname" at <{{template "postgresql.fullname" $postgresContext}}>: template "postgresql.fullname" not defined error

Information

  • Ship version: 0.44.0
  • Docker version: 17.05.0-ce
  • Command line run: ship init https://github.com/codecentric/helm-charts/tree/master/charts//keycloak

Steps to reproduce the behavior

values.yaml:

keycloak:
  persistence:
    deployPostgres: true
    dbVendor: postgres

dave08 avatar Jun 06 '19 16:06 dave08

I've been able to reproduce this - it seems that Helm is throwing an error

laverya avatar Jun 06 '19 18:06 laverya

@laverya - I can start looking into the front end to show some error messages for this, should helm throw an error.

MrBenJ avatar Jun 06 '19 20:06 MrBenJ

Well, updating helm didn't resolve the issue (but I merged it anyways as #966 since that needed to happen eventually)

Still investigating

laverya avatar Jun 06 '19 22:06 laverya