Removing CRD deletion call
@@ -69,21 +69,6 @@ stages:
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
