UNCLASSIFIED - NO CUI

Certain unconfigured values leads to deployment failure

When the following values are not set:

  • .Values.caCerts
  • .Values.initSysctl.enabled or .Values.elasticsearch.configureNode
  • .Values.plugins.install

Leads to empty configuration in initContainer section and a failure in the creation of the deployment:

Helm upgrade failed: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.initContainers): invalid type for io.k8s.api.core.v1.PodSpec.initContainers: got "map", expected "array"

After configuring a plugin to install under .Values.plugins.install the deployment creation was successful and HR was reconciled successfully.

Edited by Ryan Garcia