deploy awx-operator via built-in kustomize
This commit is contained in:
parent
fe4b34bbe2
commit
4fcb767d1f
11
manifests/awx/awx-maabara.yaml
Normal file
11
manifests/awx/awx-maabara.yaml
Normal 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
|
14
manifests/awx/kustomization.yaml
Normal file
14
manifests/awx/kustomization.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user