Skip to content

Commit

Permalink
Fix main not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ademariag committed Aug 17, 2024
1 parent d5f2273 commit d05435a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
13 changes: 0 additions & 13 deletions inventory/classes/components/keda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,3 @@ parameters:
namespace: ${keda:params:namespace}
name: ${keda:params:chart_name}
helm_values: ${keda:params:helm_values}
mutations:
bundle:
- conditions:
# CRDs need to be setup separately
kind: [CustomResourceDefinition]
filename: '{content.component_name}-crds'
patch:
- conditions:
kind: [CustomResourceDefinition]
patch:
metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true,Replace=true
12 changes: 12 additions & 0 deletions inventory/classes/kapitan/generators/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,21 @@ parameters:
- conditions:
kind: [HorizontalPodAutoscaler, PodDisruptionBudget, VerticalPodAutoscaler]
filename: '{content.component_name}-scaling'
- conditions:
# CRDs need to be setup separately
kind: [CustomResourceDefinition]
filename: '{content.component_name}-crds'
- conditions:
kind: ["*"]
filename: '{content.component_name}-bundle'
patch:
- conditions:
kind: [CustomResourceDefinition]
patch:
metadata:
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true,Replace=true


generators:
kubernetes:
Expand Down

0 comments on commit d05435a

Please sign in to comment.