Skip to content

Commit

Permalink
make the AnsibleRun resource cluster-scoped to follow other providers (
Browse files Browse the repository at this point in the history
…#286)

now it's possible add an AnsibleRun to a composition function

Signed-off-by: Jan Willies <jan.willies@accenture.com>
  • Loading branch information
janwillies authored Dec 21, 2023
1 parent f0b33f8 commit ac49920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apis/v1alpha1/ansibleRun_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion package/crds/ansible.crossplane.io_ansibleruns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
listKind: AnsibleRunList
plural: ansibleruns
singular: ansiblerun
scope: Namespaced
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
Expand Down

0 comments on commit ac49920

Please sign in to comment.