Function shipcat::helm::template_check[][src]

pub fn template_check(
    mf: &Manifest,
    reg: &Region,
    skipped: &[String],
    tpl: &str
) -> Result<()>
Expand description

Helper to validate the assumption of the charts

This is an addon to checks done through kubeval. We don’t validate kubernetes schemas in here, but we do validate consistency of:

  • labels: app.kubernetes.io/name, app.kubernetes.io/version, app.kubernetes.io/managed-by
  • ownerReferences (need ShipcatManifest, !controller, uid propagated, name correct)