Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ansible/inventory/group_vars/all/pxc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
---
zuul_operator_pxc_crd_url: "https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/refs/tags/v1.17.0/deploy/crd.yaml"
zuul_operator_pxc_bundle_url: "https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/refs/tags/v1.17.0/deploy/bundle.yaml"
9 changes: 8 additions & 1 deletion ansible/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
hosts: localhost

tasks:
- name: Ensure PXC CRDs
kubernetes.core.k8s:
src: "{{ zuul_operator_pxc_crd_url }}"
state: present
when: zuul_operator_pxc_crd_url | length > 0
tags: pxc

- name: Ensure PXC namespace
kubernetes.core.k8s:
name: pxc
Expand All @@ -13,7 +20,7 @@

- name: Ensure PXC bundle
kubernetes.core.k8s:
namespace: "zuul"
namespace: "pxc"
src: "{{ zuul_operator_pxc_bundle_url }}"
state: present
when: zuul_operator_pxc_bundle_url | length > 0
Expand Down