Skip to content

Commit

Permalink
remove wait & healthchecks
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Aug 8, 2024
1 parent 2a7888a commit 842fcec
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/api/v1beta1/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ type ZarfComponent struct {

// Custom commands to run at various stages of a package lifecycle.
Actions ZarfComponentActions `json:"actions,omitempty"`

// Whether or not to wait for every resource to be ready after deployment. (Defaults to true)
Wait *bool `json:"wait,omitempty"`

// Health checks to run after deployment.
HealthChecks []ZarfHealthCheck `json:"healthChecks,omitempty"`
}

// RequiresCluster returns if the component requires a cluster connection to deploy.
Expand All @@ -82,17 +76,6 @@ func (c ZarfComponent) IsOptional() bool {
return *c.Optional
}

type ZarfHealthCheck struct {
// The APIVersion of the resource to wait for.
APIVersion string `json:"apiVersion" jsonschema:"example=v1"`
// The kind of resource to wait for.
Kind string `json:"kind" jsonschema:"example=Pod,example=Deployment"`
// The name of the resource or selector to wait for.
Name string `json:"name" jsonschema:"example=podinfo,example=app=podinfo"`
// The namespace of the resource to wait for.
Namespace string `json:"namespace,omitempty"`
}

// ZarfComponentOnlyTarget filters a component to only show it for a given local OS and cluster.
type ZarfComponentOnlyTarget struct {
// Only deploy component to specified OS.
Expand Down

0 comments on commit 842fcec

Please sign in to comment.