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
1 change: 1 addition & 0 deletions ansible/inventory/group_vars/all/pxc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zuul_operator_pxc_bundle_url: "https://raw.githubusercontent.com/percona/percona-xtradb-cluster-operator/refs/tags/v1.17.0/deploy/bundle.yaml"
15 changes: 15 additions & 0 deletions ansible/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@
hosts: localhost

tasks:
- name: Ensure PXC namespace
kubernetes.core.k8s:
name: pxc
api_version: v1
kind: Namespace
state: present

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

- name: Ensure Zuul namespace
kubernetes.core.k8s:
name: zuul
Expand Down