From 21111fec90e880ef0a95edc86458f4a0c280d170 Mon Sep 17 00:00:00 2001 From: Marton Soos Date: Mon, 11 Apr 2022 09:12:37 +0200 Subject: [PATCH] Migrate OnePasswordItem resource --- api/v1/onepassworditem_types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v1/onepassworditem_types.go b/api/v1/onepassworditem_types.go index 90e6095..a1aa139 100644 --- a/api/v1/onepassworditem_types.go +++ b/api/v1/onepassworditem_types.go @@ -29,7 +29,7 @@ type OnePasswordItemSpec struct { // Important: Run "make" to regenerate code after modifying this file // Foo is an example field of OnePasswordItem. Edit onepassworditem_types.go to remove/update - Foo string `json:"foo,omitempty"` + ItemPath string `json:"itemPath,omitempty"` } // OnePasswordItemStatus defines the observed state of OnePasswordItem @@ -45,6 +45,7 @@ type OnePasswordItemStatus struct { type OnePasswordItem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` + Type string `json:"type,omitempty"` Spec OnePasswordItemSpec `json:"spec,omitempty"` Status OnePasswordItemStatus `json:"status,omitempty"`