deploy awx-operator via built-in kustomize

This commit is contained in:
Ibrahim Mkusa 2024-11-18 16:18:49 -05:00
parent fe4b34bbe2
commit 4fcb767d1f
2 changed files with 25 additions and 0 deletions

View File

@ -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

View File

@ -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