open-policy-agent / kube-mgmt

Sidecar for managing OPA instances in Kubernetes.
Apache License 2.0
239 stars 106 forks source link

use nindent instead of indent in resources for mgmt deployment #170

Closed kleug closed 2 years ago

kleug commented 2 years ago

resolve https://github.com/open-policy-agent/kube-mgmt/issues/168

Actually with the chart release (7.0.6) when you try to set some specific resource limits to the kube-mgmt deployment like for exemple.

mgmt:
  limits:
    cpu: 0.5
    memory: 128Mi
  requests:
    cpu: 0.1
    memory: 64Mi

The release will fail because of the render of the deployment.yaml For fix it we need to give the correct indent to the added ressource.

Signed-off-by: Remy Genisson genisson.remy@gmail.com