I have a problem when Im trying to install kong ingress with helm using postgresql. Im using helm chart to install that, using this values.yaml file:
env:
database: 'postgres'
pg_host: '172.21.3.90'
pg_port: 5432
pg_user: 'kongtest'
pg_password: 'kongtest'
pg_database: 'kongtest'
ingressController:
installCRDs: false
ingressClass: kong-test
admin:
enabled: true
http:
enabled: true
tls:
enabled: false
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: kong-test
konghq.com/strip-path: "true"
path: /kong
helm install kong-test kong/kong -f values.yaml
And when I see pods status this are stuck on Init:0/1
kong-test-kong-58c6d94bd9-t7vds 0/2 Init:0/1 0 133m
kong-test-kong-init-migrations-kndjn 0/1 Completed 0 133m
and the pod logs show me this:
F1203 14:31:13.859375 25215 helpers.go:115] error: a container name must be specified for pod kong-test-kong-58c6d94bd9-t7vds, choose one of: [ingress-controller proxy] or one of the init containers: [wait-for-db]
Another interesting thing is that the seeds have been executed correctly, checking the database it has been populated correctly with the tables that kong creates.