diff --git a/apis/v1alpha1/ansibleRun_types.go b/apis/v1alpha1/ansibleRun_types.go index 29c9ee0..4b17d66 100644 --- a/apis/v1alpha1/ansibleRun_types.go +++ b/apis/v1alpha1/ansibleRun_types.go @@ -93,6 +93,7 @@ type AnsibleRunStatus struct { // AnsibleRun represents a set of Ansible Playbooks. // +kubebuilder:subresource:status // +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +// +kubebuilder:resource:scope=Cluster type AnsibleRun struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` diff --git a/package/crds/ansible.crossplane.io_ansibleruns.yaml b/package/crds/ansible.crossplane.io_ansibleruns.yaml index 0a3eac4..c40f145 100644 --- a/package/crds/ansible.crossplane.io_ansibleruns.yaml +++ b/package/crds/ansible.crossplane.io_ansibleruns.yaml @@ -13,7 +13,7 @@ spec: listKind: AnsibleRunList plural: ansibleruns singular: ansiblerun - scope: Namespaced + scope: Cluster versions: - additionalPrinterColumns: - jsonPath: .metadata.creationTimestamp