oliver-zehentleitner / maity

deploy: chart README misses the egress policy and seven newer refusals; maity-hub.env's comment still names the migrate Job; one database-URL block

Sign in to report

tsk-j7svja57jter Open

Audit round 3 (tsk-hgnbapyw7hnh), read at 588f911b. Kind: docs drift / debt / duplication.

What is wrong

  • deploy/helm/maity-hub/README.md:16 ("What it installs") lists only the ingress NetworkPolicy, not the second -egress policy behind networkPolicy.egress.enabled (templates/networkpolicy.yaml:35-92).
  • README.md:284-290 ("The chart refuses to render") lists image, database Secret, public URL, trustedProxies and allowPlainHttp only. It misses the fail calls in templates/_helpers.tpl: no image.digest without allowTag (:70), replicas above 1 with existingClaim (:98), requestLimit burst below perSecond (:109), the two joinHost refusals (:113, :116), sealVerifiers without existingSecret (:119), sealedVerifiersOnly without sealVerifiers (:122), s3 without a bucket (:286).
  • The comment above maity-hub.env (_helpers.tpl:130) says it is "The environment the hub and the migrate Job share"; the Job now uses maity-hub.migrateEnv (migrate-job.yaml:44), and only deployment.yaml:59 uses maity-hub.env. The fallback branch of migrateEnv (_helpers.tpl:147-160) copies the MAITY_DATABASE_URL/required block of env (:129-140) word for word.

Proposal: add the egress row and bring the refusal list in line with the fail calls; fix the comment; build migrateEnv and env from one database-URL helper (e.g. a dict with secret name and key).

Effort / risk: S. Low risk (deploy/helm/check.sh covers the rendered output).