Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Commit

Permalink
fix 'operator-sdk generate openapi' issue
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomc committed May 29, 2019
1 parent 58a1bfa commit 196a51c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type ExternalSecretSpec struct {
// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html

// The ExternalSecretBackend to use to retrieve the secret
Backend string `json:"Backend"`
Backend string `json:"backend"`
// The Key of the secret held in the ExternalBackend
Key string `json:"Key"`
Key string `json:"key"`
}

// ExternalSecretStatus defines the observed state of ExternalSecret
Expand All @@ -28,9 +28,9 @@ type ExternalSecretStatus struct {
// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html

// The ExternalSecretBackend to use to retrieve the secret
Backend string `json:"Backend"`
Backend string `json:"backend"`
// The Key of the secret held in the ExternalBackend
Key string `json:"Key"`
Key string `json:"key"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
16 changes: 0 additions & 16 deletions pkg/apis/externalsecretoperator/v1alpha1/zz_generated.deepcopy.go

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

0 comments on commit 196a51c

Please sign in to comment.