Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Prevent ApplicationSet controller from creating invalid Applications, causing 'unable to delete application resource' in Argo CD #136

Merged
merged 1 commit into from Mar 1, 2021

Conversation

jgwest
Copy link
Member

@jgwest jgwest commented Feb 25, 2021

Fixes #112

This PR:

  • Use the Argo CD "github.com/argoproj/argo-cd/util/argo" package's ValidateDestination and ValidatePermissions to verify generated application validity
  • Adds unit tests to verify some of the desired validations

… causing 'unable to delete application resource' in Argo CD
@jgwest jgwest marked this pull request as ready for review February 25, 2021 11:44
@jgwest jgwest requested a review from wtam2018 February 25, 2021 11:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants