Skip to content

Commit

Permalink
feat: support components in kustomize
Browse files Browse the repository at this point in the history
Signed-off-by: pashakostohrys <[email protected]>
  • Loading branch information
pasha-codefresh committed Nov 3, 2023
1 parent 481cf81 commit efc8699
Show file tree
Hide file tree
Showing 20 changed files with 1,947 additions and 839 deletions.
7 changes: 7 additions & 0 deletions assets/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6395,6 +6395,13 @@
"type": "string"
}
},
"components": {
"type": "array",
"title": "Components specifies a list of kustomize components to add to the kustmization before building",
"items": {
"type": "string"
}
},
"forceCommonAnnotations": {
"type": "boolean",
"title": "ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps"
Expand Down
266 changes: 266 additions & 0 deletions manifests/core-install.yaml

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions manifests/crds/application-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,12 @@ spec:
description: CommonLabels is a list of additional labels
to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether
to force applying common annotations to resources for
Expand Down Expand Up @@ -647,6 +653,12 @@ spec:
description: CommonLabels is a list of additional labels
to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether
to force applying common annotations to resources
Expand Down Expand Up @@ -1092,6 +1104,12 @@ spec:
description: CommonLabels is a list of additional labels to
add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize components
to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether to force
applying common annotations to resources for Kustomize apps
Expand Down Expand Up @@ -1410,6 +1428,12 @@ spec:
description: CommonLabels is a list of additional labels
to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize components
to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether to
force applying common annotations to resources for Kustomize
Expand Down Expand Up @@ -1881,6 +1905,12 @@ spec:
description: CommonLabels is a list of additional labels
to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether
to force applying common annotations to resources
Expand Down Expand Up @@ -2213,6 +2243,12 @@ spec:
description: CommonLabels is a list of additional
labels to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether
to force applying common annotations to resources
Expand Down Expand Up @@ -2689,6 +2725,13 @@ spec:
description: CommonLabels is a list of additional
labels to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before
building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies
whether to force applying common annotations
Expand Down Expand Up @@ -3038,6 +3081,13 @@ spec:
description: CommonLabels is a list of additional
labels to add to rendered manifests
type: object
components:
description: Components specifies a list of
kustomize components to add to the kustmization
before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies
whether to force applying common annotations
Expand Down Expand Up @@ -3502,6 +3552,12 @@ spec:
description: CommonLabels is a list of additional
labels to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether
to force applying common annotations to resources
Expand Down Expand Up @@ -3844,6 +3900,12 @@ spec:
description: CommonLabels is a list of additional
labels to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether
to force applying common annotations to resources
Expand Down Expand Up @@ -4330,6 +4392,12 @@ spec:
description: CommonLabels is a list of additional
labels to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether
to force applying common annotations to resources
Expand Down Expand Up @@ -4672,6 +4740,12 @@ spec:
description: CommonLabels is a list of additional
labels to add to rendered manifests
type: object
components:
description: Components specifies a list of kustomize
components to add to the kustmization before building
items:
type: string
type: array
forceCommonAnnotations:
description: ForceCommonAnnotations specifies whether
to force applying common annotations to resources
Expand Down
Loading

0 comments on commit efc8699

Please sign in to comment.