Skip to content

Commit c382985

Browse files
author
qishiyao
committed
* Update backup with helm content
1 parent 9e6ab25 commit c382985

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

qucheng/v1beta1/backup_types.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ type DbRef struct {
5454
}
5555

5656
type HelmBackup struct {
57-
Chart string `json:"chart"`
58-
Channel string `json:"channel"`
59-
Version string `json:"version"`
60-
Values string `json:"values"`
57+
Chart string `json:"chart,omitempty"`
58+
Channel string `json:"channel,omitempty"`
59+
Version string `json:"version,omitempty"`
60+
Values string `json:"values,omitempty"`
61+
Content string `json:"content,omitempty"`
6162
}
6263

6364
//+genclient

qucheng/v1beta1/groupversion_info.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ limitations under the License.
1515
*/
1616

1717
// Package v1beta1 contains API Schema definitions for the qucheng v1beta1 API group
18-
//+kubebuilder:object:generate=true
19-
//+groupName=qucheng.easycorp.io
18+
// +kubebuilder:object:generate=true
19+
// +groupName=qucheng.easycorp.io
2020
package v1beta1
2121

2222
import (

qucheng/v1beta1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)