Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Kustomize Container Insights Quickstart Manifest #106

Open
DaveOsmentUbertas opened this issue Nov 9, 2022 · 0 comments
Open

Comments

@DaveOsmentUbertas
Copy link

Hi,

With reference to https://github.com/aws-samples/amazon-cloudwatch-container-insights/blob/master/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluent-bit-quickstart.yaml (I'm referencing the latest version, but this seems to affect all releases of this Manifest) I'm trying to patch changes to this Manifest using Kubernetes default tooling (kubectl) and a Kustomization file.

Per the instructions for deploying this Manifest (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-EKS-quickstart.html) the file contains eight {{ and }} sequences; the presence of these sequences breaks the YAML parser within Kubectl meaning I cannot use kubectl kustomize to patch changes into this Manifest without first replacing the {{ and }} sequences using sed.

I appreciate this may be by design, but would it be possible to update the delimiters within this file to allow direct manipulation of it using Kustomize?


Kustomize Version: v4.5.7
Kustomize Error: error: yaml: invalid map key: map[string]interface {}{"cluster_name":""}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant