Skip to content

Commit

Permalink
fixed ApplicationSet kind
Browse files Browse the repository at this point in the history
Signed-off-by: Noam Gal <[email protected]>
  • Loading branch information
ATGardner committed Nov 17, 2022
1 parent c16f305 commit 8da771a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/commands/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ func createAppSet(o *createAppSetOptions) ([]byte, error) {

appSet := &argocdv1alpha1.ApplicationSet{
TypeMeta: metav1.TypeMeta{
Kind: argocdv1alpha1.ApplicationSetSchemaGroupVersionKind.Kind,
// do not use argocdv1alpha1.ApplicationSetSchemaGroupVersionKind.Kind because it is "Applicationset" - noticed the lowercase "s"
Kind: "ApplicationSet",
APIVersion: argocdv1alpha1.ApplicationSetSchemaGroupVersionKind.GroupVersion().String(),
},
ObjectMeta: metav1.ObjectMeta{
Expand Down

0 comments on commit 8da771a

Please sign in to comment.