Skip to content

Commit

Permalink
Merge pull request #169 from kubefirst/force_destroy
Browse files Browse the repository at this point in the history
chore: add optional ForceDestroy to ClusterDefinition
  • Loading branch information
D-B-Hawk authored Sep 26, 2023
2 parents 97f0101 + 659c8b1 commit 94272c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/types/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ type ClusterDefinition struct {
SubdomainName string `json:"subdomain_name,omitempty"`
DnsProvider string `json:"dns_provider,omitempty" binding:"required"`
Type string `json:"type" binding:"required,oneof=mgmt workload"`
ForceDestroy bool `bson:"force_destroy,omitempty" json:"force_destroy,omitempty"`


//Git
GitopsTemplateURL string `json:"gitops_template_url"`
Expand Down

0 comments on commit 94272c3

Please sign in to comment.