Skip to content

Commit

Permalink
Removing CRD deletion call
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarrod Skulavik committed Apr 21, 2020
1 parent c55e1ff commit 80f90e0
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80f90e0

Please sign in to comment.