Skip to content

Commit

Permalink
Merge branch 'master' of github.com:argoproj/argo-rollouts into fix-r…
Browse files Browse the repository at this point in the history
…esolveargs-for-gc
  • Loading branch information
zachaller committed Jun 14, 2023
2 parents 879462a + ded934b commit 9366a8e
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 3 deletions.
48 changes: 48 additions & 0 deletions docs/features/kustomize/rollout_cr_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -17124,6 +17124,22 @@
"type": "array",
"x-kubernetes-patch-merge-key": "metricName",
"x-kubernetes-patch-strategy": "merge"
},
"templates": {
"items": {
"properties": {
"clusterScope": {
"type": "boolean"
},
"templateName": {
"type": "string"
}
},
"type": "object"
},
"type": "array",
"x-kubernetes-patch-merge-key": "templateName",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object"
Expand Down Expand Up @@ -17204,6 +17220,22 @@
"type": "array",
"x-kubernetes-patch-merge-key": "metricName",
"x-kubernetes-patch-strategy": "merge"
},
"templates": {
"items": {
"properties": {
"clusterScope": {
"type": "boolean"
},
"templateName": {
"type": "string"
}
},
"type": "object"
},
"type": "array",
"x-kubernetes-patch-merge-key": "templateName",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object"
Expand Down Expand Up @@ -17292,6 +17324,22 @@
"type": "array",
"x-kubernetes-patch-merge-key": "metricName",
"x-kubernetes-patch-strategy": "merge"
},
"templates": {
"items": {
"properties": {
"clusterScope": {
"type": "boolean"
},
"templateName": {
"type": "string"
}
},
"type": "object"
},
"type": "array",
"x-kubernetes-patch-merge-key": "templateName",
"x-kubernetes-patch-strategy": "merge"
}
},
"type": "object"
Expand Down
2 changes: 1 addition & 1 deletion pkg/apiclient/rollout/rollout.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@
"items": {
"$ref": "#/definitions/github.com.argoproj.argo_rollouts.pkg.apis.rollouts.v1alpha1.RolloutAnalysisTemplate"
},
"title": "Templates reference to a list of analysis templates to combine for an AnalysisRun"
"title": "Templates reference to a list of analysis templates to combine for an AnalysisRun\n+patchMergeKey=templateName\n+patchStrategy=merge"
},
"args": {
"type": "array",
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/rollouts/v1alpha1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions pkg/apis/rollouts/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions pkg/apis/rollouts/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,8 +695,10 @@ type RolloutAnalysisBackground struct {

// RolloutAnalysis defines a template that is used to create a analysisRun
type RolloutAnalysis struct {
//Templates reference to a list of analysis templates to combine for an AnalysisRun
Templates []RolloutAnalysisTemplate `json:"templates,omitempty" protobuf:"bytes,1,rep,name=templates"`
// Templates reference to a list of analysis templates to combine for an AnalysisRun
// +patchMergeKey=templateName
// +patchStrategy=merge
Templates []RolloutAnalysisTemplate `json:"templates,omitempty" patchStrategy:"merge" patchMergeKey:"templateName" protobuf:"bytes,1,rep,name=templates"`
// Args the arguments that will be added to the AnalysisRuns
// +patchMergeKey=name
// +patchStrategy=merge
Expand Down

0 comments on commit 9366a8e

Please sign in to comment.