From 4fcb767d1f8a0ecacd820c220793eaf1051fcdfe Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Mon, 18 Nov 2024 16:18:49 -0500 Subject: [PATCH] deploy awx-operator via built-in kustomize --- manifests/awx/awx-maabara.yaml | 11 +++++++++++ manifests/awx/kustomization.yaml | 14 ++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 manifests/awx/awx-maabara.yaml create mode 100644 manifests/awx/kustomization.yaml diff --git a/manifests/awx/awx-maabara.yaml b/manifests/awx/awx-maabara.yaml new file mode 100644 index 0000000..7871a30 --- /dev/null +++ b/manifests/awx/awx-maabara.yaml @@ -0,0 +1,11 @@ +--- +apiVersion: awx.ansible.com/v1beta1 +kind: AWX +metadata: + name: awx-maabara +spec: + service_type: LoadBalancer + postgres_data_volume_init: true + postgres_init_container_commands: | + chown 26:0 /var/lib/pgsql/data + chmod 700 /var/lib/pgsql/data diff --git a/manifests/awx/kustomization.yaml b/manifests/awx/kustomization.yaml new file mode 100644 index 0000000..26e09eb --- /dev/null +++ b/manifests/awx/kustomization.yaml @@ -0,0 +1,14 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + # Find the latest tag here: https://github.com/ansible/awx-operator/releases + - github.com/ansible/awx-operator/config/default?ref=2.19.1 + - awx-maabara.yaml + +# Set the image tags to match the git version from above +images: + - name: quay.io/ansible/awx-operator + newTag: 2.19.1 + +# Specify a custom namespace in which to install AWX +namespace: awx