I'm trying to use an init container to install a kibana plugin but I'm getting an error.
Events:
Type Reason Age From Message
Warning ReconciliationError 11m (x18 over 30m) kibana-controller Reconciliation error: Deployment.apps "logs-kb" is invalid: spec.template.spec.initContainers[0].image: Required value
I'm hoping I don't need to specify the image in the podtemplate and can leave it to eck to populate this correctly. Am I doing something wrong?
Here's my kibana spec
apiVersion: kibana.k8s.elastic.co/v1beta1
kind: Kibana
metadata:
name: logs
namespace: tools
spec:
version: 7.4.2
count: 1
elasticsearchRef:
name: logs
http:
tls:
selfSignedCertificate:
disabled: true
podTemplate:
spec:
initContainers:
- name: install-plugins
command: ['sh', '-c', '|bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/v0.1.31/logtrail-7.4.1-0.1.31.zip' ]