Skip to content

Commit

Permalink
Add more resources to the 'after_crs' section of pre-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
c-gerke committed Dec 2, 2024
1 parent 876715a commit 2f88b93
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/krane/deploy_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ def predeploy_sequence
Ingress
Pod
Job
CronJob
DaemonSet
HorizontalPodAutoscaler
PodDisruptionBudget
PodSetBase
PodTemplate
ReplicaSet
StatefulSet
).map { |r| [r, default_group] }

crs = cluster_resource_discoverer.crds.select(&:predeployed?).map { |cr| [cr.kind, { group: cr.group }] }
Expand Down

0 comments on commit 2f88b93

Please sign in to comment.