When I am running the below command to record the change cause -
kubectl set image deployment.v1.apps/deploy1 nginx=nginx:1.16.0 --record
Then it is recording the change cause but showing that --record has been deprecated.
Flag --record has been deprecated, --record will be removed in the future
deployment.apps/deploy1 image updated
And when I run the command kubectl set image deployment.v1.apps/deploy1 nginx=nginx:1.16.0 without --record then it is not recording the change cause.
So my question is if the --record has been deprecated and with be removed in the future then what is easy alternative of that to record change? ( I mean to record the command using which I have done rollout ).
Thanks in advance.