Open maxlemieux opened 1 year ago
Still no update on this?
Same here. If this is an abandoned project, it would be worth noting it in the README.
I just invested some time to fix the apply via kustomize: https://github.com/woehrl01/newrelic-kubernetes-operator/pull/1/files
The problem is now that all the go modules are outdated so that the webhook validation fails with:
Error from server (InternalError): error when creating "./newrelic-op.yaml": Internal error occurred: failed calling webhook "malertspolicy.kb.io": received invalid webhook response: expected response.uid="06efc0e3-2c46-404b-94bc-0adfc97d117e", got ""
I am uncertain if it's worth the trouble to update all those dependencies, too.
One question for the maintainers of this library, will a PR be reviewed and accepted? @thande
@thande I migrated the CRDs to work with current v1 api extensions.
https://github.com/newrelic/newrelic-kubernetes-operator/pull/152
@woehrl01 Checkout my PR, I fixed the admission hooks. Tested, it works ;)
Description
Installation fails on Kubernetes v1.24
Go Version
go version go1.20.4 darwin/amd64
Current behavior
Installation following the readme fails on Kubernetes v1.24.
Errors when applying the kustomize build (both with latest Kustomize, or with v3.8.10) - it uses deprecated API versions for several resources.
Expected behavior
Installation succeeds on recent Kubernetes versions
Steps To Reproduce
Steps to reproduce the behavior:
Debug Output (if applicable)
Additional Context
Updating these references to the current v1 APIs does not solve this, as there are other errors reported by kustomize with recent kustomize versions. Running
kustomize edit fix
does not automatically fix those errors.I tested with a version of kustomize, 3.8.10, from 2021. This resolved the kustomize errors seen with the new version but showed a different error:
So there seems to be something else needed.