Skip to content

Commit 5e8d2f0

Browse files
committed
Update PXC deployment
1 parent 093caed commit 5e8d2f0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ansible/inventory/group_vars/all/pxc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
---
2+
zuul_operator_pxc_crd_url: "https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/refs/tags/v1.17.0/deploy/crd.yaml"
13
zuul_operator_pxc_bundle_url: "https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/refs/tags/v1.17.0/deploy/bundle.yaml"

ansible/run.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
hosts: localhost
55

66
tasks:
7+
- name: Ensure PXC CRDs
8+
kubernetes.core.k8s:
9+
src: "{{ zuul_operator_pxc_crds_url }}"
10+
state: present
11+
when: zuul_operator_pxc_crd_url | length > 0
12+
tags: pxc
13+
714
- name: Ensure PXC namespace
815
kubernetes.core.k8s:
916
name: pxc
@@ -13,7 +20,7 @@
1320

1421
- name: Ensure PXC bundle
1522
kubernetes.core.k8s:
16-
namespace: "zuul"
23+
namespace: "pxc"
1724
src: "{{ zuul_operator_pxc_bundle_url }}"
1825
state: present
1926
when: zuul_operator_pxc_bundle_url | length > 0

0 commit comments

Comments
 (0)