Skip to content

Commit 9e8db00

Browse files
authored
Merge pull request #36 from stackhpc/ppxc
Add cluster-wide pxc deployment
2 parents 6951979 + 093caed commit 9e8db00

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

ansible/inventory/group_vars/all/pxc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@
44
hosts: localhost
55

66
tasks:
7+
- name: Ensure PXC namespace
8+
kubernetes.core.k8s:
9+
name: pxc
10+
api_version: v1
11+
kind: Namespace
12+
state: present
13+
14+
- name: Ensure PXC bundle
15+
kubernetes.core.k8s:
16+
namespace: "zuul"
17+
src: "{{ zuul_operator_pxc_bundle_url }}"
18+
state: present
19+
when: zuul_operator_pxc_bundle_url | length > 0
20+
tags: pxc
21+
722
- name: Ensure Zuul namespace
823
kubernetes.core.k8s:
924
name: zuul

0 commit comments

Comments
 (0)