aerokube / charts

Aerokube Helm Charts Repository
https://charts.aerokube.com/
Apache License 2.0
12 stars 35 forks source link

Adding multiple quotas failing with nil pointer #250

Open soumyathampi opened 5 months ago

soumyathampi commented 5 months ago

Hi,

I am trying to add multiple quotas to moon deployment and facing this error

Error: UPGRADE FAILED: template: moon2/templates/service-accounts.yaml:2:36: executing "moon2/templates/service-accounts.yaml" at <$quota.namespace>: nil pointer evaluating interface {}.namespace

quota:
  moon: null
  alfa-team:
    namespace: dois-moon-ccg
    skipCreateNamespace: true
    serviceAccountName: custom
    password: ccg-team-password
    serviceAccountAnnotations: {}
  beta-team:
    namespace: dois-moon-jive
    skipCreateNamespace: true
    serviceAccountName: custom
    serviceAccountAnnotations: {}

This is the changes added in values.yaml.