UNCLASSIFIED - NO CUI

Skip to content

Draft: Resolve "kustomize build failed"

Alfredo Diaz requested to merge 50-kustomize-build-failed into main

General MR

Summary

Customer input: Trying to deploy an instance of BigBang within Azure. I'm following the directions at 'https://repo1.dso.mil/big-bang/customers/template', and just applied kubectl apply -f bigbang.yaml command. I have the git repository authenticating with our own git repo, but am receiving am 'kustomize build failed' error when running the command kubectl get -n bigbang kustomizations (reference attached screenshot).

image

Here is the error status: kustomize build failed: accumulating resources: accumulation err='accumulating resources from 'repo-ca-credentials.yaml.enc': missing Resource metadata': must build at directory: '/tmp/kustomization-339484760/dev/repo-ca-credentials.yaml.enc': file is not directory kustomize build failed: accumulating resources: accumulation err='accumulating resources from 'repo-ca-credentials.yaml.enc': missing Resource metadata': must build at directory: '/tmp/kustomization-339484760/dev/repo-ca-credentials.yaml.enc': file is not directory

Relevant logs/screenshots

(Include any relevant logs/screenshots)

Linked Issue

Upgrade Notices

N/A

Closes #50 (closed)

Edited by Alfredo Diaz

Merge request reports

Loading