diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 44f73ee7d40..a20ecd3ae9a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -68,22 +68,7 @@ stages: Dockerfile: 'outdock4' buildContext: '$(System.DefaultWorkingDirectory)' tags: '$(tag)' - -- stage: PurgeCRDs - jobs: - - job: RemoveCRDs - displayName: Delete CRDs - steps: - - task: Kubernetes@1 - displayName: Fetch kubeconfig - inputs: - connectionType: 'Kubernetes Service Connection' - kubernetesServiceEndpoint: 'ASO-AKS' - namespace: 'azureoperator-system' - command: 'login' - checkLatest: true - - bash: kubectl get crd --no-headers | awk '{print $1}' | xargs -L 1 -I % sh -c '{ kubectl delete crd %; sleep 3; }' - + - stage: Deploy jobs: - job: InstallControllers