aws-observability / helm-charts

The AWS Observability Helm Charts repository contains Helm charts to provide easy mechanisms to setup the CloudWatch Agent and other collection agents to collect telemetry data such as metrics, logs and traces to send to AWS monitoring services.
Apache License 2.0
10 stars 17 forks source link

Remove keyUsages in favor of usages in cert manager template #127

Closed lisguo closed 1 week ago

lisguo commented 1 week ago

Issue #, if available:

Description of changes: keyUsages is not present in the certificates.cert-manager.io crd. This causes issues with helm installation:

Error from server: failed to create typed patch object (amazon-cloudwatch/amazon-cloudwatch-observability-agent-server-cert; cert-manager.io/v1, Kind=Certificate): .spec.keyUsages: field not declared in schema
Error from server: failed to create typed patch object (amazon-cloudwatch/amazon-cloudwatch-observability-agent-client-cert; cert-manager.io/v1, Kind=Certificate): .spec.keyUsages: field not declared in schema

Issue from cert-manager: https://github.com/cert-manager/cert-manager/issues/2407#issuecomment-559579095

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.