Add a warning for v1alpha1 deprecation when Operator 1.0 is used with webhook enabled.
❯ helm install datadog-operator ./charts/datadog-operator \
> --set datadogCRDs.migration.datadogAgents.conversionWebhook.enabled=true
NAME: datadog-operator
LAST DEPLOYED: Fri Feb 23 14:59:18 2024
NAMESPACE: system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
##############################################################################
#### WARNING: v1alpha1 and conversion webhook deprecation. ####
##############################################################################
The `v1alpha1` reconciliation in the Operator is deprecated since v1.2.0+ and will be removed in v1.7.0.
Once removed, the Datadog Operator cannot be configured to reconcile the v1alpha1 DatadogAgent CRD.
However, you will still be able to apply a v1alpha1 manifest with the conversion webhook enabled (using `datadogCRDs.migration.datadogAgents.conversionWebhook.enabled`).
DatadogAgent `v1alpha1` and the conversion webhook will be removed in v1.8.0.
See the migration page for instructions on migrating to v2alpha1: https://docs.datadoghq.com/containers/guide/datadogoperator_migration/
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
fixes #
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[x] Chart Version bumped
[x] Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
[x] CHANGELOG.md has been updated
[x] Variables are documented in the README.md
[x] For Datadog Operator chart or value changes update the test baselines (run: make update-test-baselines)
What this PR does / why we need it:
Add a warning for
v1alpha1
deprecation when Operator 1.0 is used with webhook enabled.Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
.github/helm-docs.sh
)CHANGELOG.md
has been updatedREADME.md
make update-test-baselines
)