Skip to content

Fix missing indentation in namespace-gitlab.yaml

nekofuro requested to merge nekofuro/gitlab:master into master

What does this MR do and why?

Fix missing indentation in namespace-gitlab.yaml

The YAML file was missing proper indentation, causing the Kubernetes decoder to fail with a "missing metadata.name" error.

Screenshots or screen recordings

Without indentation:

{"level":"error","ts":"2023-07-09T13:50:15.783Z","msg":"Reconciliation failed after 40.372121ms, next try in 10m0s","controller":"kustomization","controllerGroup":"kustomize.toolkit.fluxcd.io","controllerKind":"Kustomization","Kustomization":{"name":"flux-system","namespace":"flux-system"},"namespace":"flux-system","name":"flux-system","reconcileID":"a54ac609-85d9-4743-b6af-681b027b00a1","revision":"main@sha1:4c83f00a9d41f7cd22911c4b0ac47fbd690014a7","error":"failed to decode Kubernetes YAML from /tmp/kustomization-4118472146/namespace-gitlab.yaml: missing metadata.name in object {{v1 Namespace} {{ } map[] map[]}} <nil>"}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports