I get a warning in the pipeline every time when I use the KubernetesManifest task
##[warning]Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
Environment type (Please select at least one enviroment where you face this issue)
[ ] Self-Hosted
[X] Microsoft Hosted
[X] VMSS Pool
[ ] Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2022
Relevant log output
C:\ProgramData\Chocolatey\bin\kubectl.exe scale deployment/tenant000-prime-1-services-deploy --replicas=0 --namespace tenant000
Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
deployment.apps/tenant000-prime-1-services-deploy scaled
##[warning]Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
C:\ProgramData\Chocolatey\bin\kubectl.exe rollout status deployment/tenant000-prime-1-services-deploy --timeout 10s --namespace t200000-ns
Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
deployment "tenant000-prime-1-services-deploy" successfully rolled out
##[warning]Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
C:\ProgramData\Chocolatey\bin\kubectl.exe annotate deployment tenant000-prime-1-services-deploy azure-pipelines/run=tenant000 "azure-pipelines/pipeline=\"EMEA - Dev Upgrade SINGLE - EUWE-AKSLAB00001\"" "azure-pipelines/pipelineId=\"200\"" "azure-pipelines/jobName=\"Upgrade tenant000\"" azure-pipelines/runuri=https://dev.azure.com/PaletteSoftware/Operations/_build/results?buildId=203240 azure-pipelines/project=Operations azure-pipelines/org=https://dev.azure.com/PaletteSoftware/ --overwrite --namespace tenant000
Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
deployment.apps/tenant000-prime-1-services-deploy annotated
##[warning]Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
C:\ProgramData\Chocolatey\bin\kubectl.exe annotate pod tenant000-prime-1-services-deploy-7899bb84c6-vctnw azure-pipelines/run=tenant000 "azure-pipelines/pipeline=\"EMEA - Dev Upgrade SINGLE - EUWE-AKSLAB00001\"" "azure-pipelines/pipelineId=\"200\"" "azure-pipelines/jobName=\"Upgrade tenant000\"" azure-pipelines/runuri=https://dev.azure.com/PaletteSoftware/Operations/_build/results?buildId=203240 azure-pipelines/project=Operations azure-pipelines/org=https://dev.azure.com/PaletteSoftware/ --overwrite --namespace tenant000
Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
pod/tenant000-prime-1-services-deploy-7899bb84c6-vctnw annotated
##[warning]Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
New issue checklist
Task name
KubernetesManifest
Task version
No response
Issue Description
I get a warning in the pipeline every time when I use the KubernetesManifest task
##[warning]Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2022
Relevant log output
Full task logs with system.debug enabled
Repro steps