fixes for issues found while preparing workload demo
Signed-off-by: Jared Watts <jbw976@gmail.com>
This commit is contained in:
parent
c50d3b43f4
commit
289424b8c0
|
|
@ -242,7 +242,8 @@ type EKSClusterStatus struct {
|
|||
// EKSCluster is the Schema for the resources API
|
||||
// +k8s:openapi-gen=true
|
||||
// +groupName=compute.aws
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase"
|
||||
// +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER-NAME",type="string",JSONPath=".status.clusterName"
|
||||
// +kubebuilder:printcolumn:name="ENDPOINT",type="string",JSONPath=".status.endpoint"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER-CLASS",type="string",JSONPath=".spec.classRef.name"
|
||||
|
|
|
|||
|
|
@ -95,7 +95,8 @@ type RDSInstanceStatus struct {
|
|||
// RDSInstance is the Schema for the instances API
|
||||
// +k8s:openapi-gen=true
|
||||
// +groupName=database.aws
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase"
|
||||
// +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name"
|
||||
// +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.engineVersion"
|
||||
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
|
|
|
|||
|
|
@ -103,7 +103,8 @@ type AKSClusterStatus struct {
|
|||
// AKSCluster is the Schema for the instances API
|
||||
// +k8s:openapi-gen=true
|
||||
// +groupName=compute.azure
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase"
|
||||
// +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER-NAME",type="string",JSONPath=".status.clusterName"
|
||||
// +kubebuilder:printcolumn:name="ENDPOINT",type="string",JSONPath=".status.endpoint"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER-CLASS",type="string",JSONPath=".spec.classRef.name"
|
||||
|
|
|
|||
|
|
@ -53,7 +53,8 @@ type SQLServer interface {
|
|||
// MysqlServer is the Schema for the instances API
|
||||
// +k8s:openapi-gen=true
|
||||
// +groupName=database.azure
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase"
|
||||
// +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name"
|
||||
// +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.version"
|
||||
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
|
|
@ -80,7 +81,8 @@ type MysqlServerList struct {
|
|||
// PostgresqlServer is the Schema for the instances API
|
||||
// +k8s:openapi-gen=true
|
||||
// +groupName=database.azure
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase"
|
||||
// +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name"
|
||||
// +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.version"
|
||||
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ type KubernetesClusterSpec struct {
|
|||
// KubernetesCluster is the Schema for the instances API
|
||||
// +k8s:openapi-gen=true
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase"
|
||||
// +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classReference.name"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER-CLASS",type="string",JSONPath=".spec.classReference.name"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER-REF",type="string",JSONPath=".spec.resourceName.name"
|
||||
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
|
|
@ -154,7 +153,7 @@ type WorkloadStatus struct {
|
|||
// +k8s:openapi-gen=true
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER",type="string",JSONPath=".spec.targetCluster.name"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER",type="string",JSONPath=".status.clusterRef.name"
|
||||
// +kubebuilder:printcolumn:name="NAMESPACE",type="string",JSONPath=".spec.targetNamespace"
|
||||
// +kubebuilder:printcolumn:name="DEPLOYMENT",type="string",JSONPath=".spec.targetDeployment.metadata.name"
|
||||
// +kubebuilder:printcolumn:name="SERVICE-EXTERNAL-IP",type="string",JSONPath=".status.service.loadBalancer.ingress[0].ip"
|
||||
|
|
|
|||
|
|
@ -112,7 +112,8 @@ type GKEClusterStatus struct {
|
|||
// GKECluster is the Schema for the instances API
|
||||
// +k8s:openapi-gen=true
|
||||
// +groupName=compute.gcp
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase"
|
||||
// +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER-NAME",type="string",JSONPath=".status.clusterName"
|
||||
// +kubebuilder:printcolumn:name="ENDPOINT",type="string",JSONPath=".status.endpoint"
|
||||
// +kubebuilder:printcolumn:name="CLUSTER-CLASS",type="string",JSONPath=".spec.classRef.name"
|
||||
|
|
|
|||
|
|
@ -96,7 +96,8 @@ type CloudsqlInstanceStatus struct {
|
|||
// CloudsqlInstance is the Schema for the instances API
|
||||
// +k8s:openapi-gen=true
|
||||
// +groupName=database.gcp
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase"
|
||||
// +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state"
|
||||
// +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name"
|
||||
// +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.databaseVersion"
|
||||
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ type ProviderStatus struct {
|
|||
// Provider is the Schema for the instances API
|
||||
// +k8s:openapi-gen=true
|
||||
// +groupName=gcp
|
||||
// +kubebuilder:printcolumn:name="PROJECT-ID",type="string",JSONPath=".spec.projectID"
|
||||
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
type Provider struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue