Add version fields to PropagatedVersion
-
/*
Copyright 2018 The Kubernetes Authors.
@@ -15,7 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
-
package v1alpha1
import (
@@ -50,6 +48,14 @@ type PropagatedVersionSpec struct {
// PropagatedVersionStatus defines the observed state of PropagatedVersion
type PropagatedVersionStatus struct {
+ TemplateVersion string `json:"templateversion,omitempty"`
+ OverrideVersion string `json:"overrideversion,omitempty"`
+ ClusterVersions []ClusterResourceVersion `json:"clusterversions,omitempty"`
+}
+
+type ClusterResourceVersion struct {
+ ClusterName string `json:"clustername,omitempty"`
+ ResourceVersion string `json:"resourceversion,omitempty"`
}
// Validate checks that an instance of PropagatedVersion is well formed
