mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Add up.sh and down.sh development scripts for consistency with other ansible operators (#1991)
This commit is contained in:
24
dev/awx-cr/awx-cr-settings.yml
Normal file
24
dev/awx-cr/awx-cr-settings.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
apiVersion: awx.ansible.com/v1beta1
|
||||
kind: AWX
|
||||
metadata:
|
||||
name: awx
|
||||
spec:
|
||||
service_type: clusterip
|
||||
ingress_type: route
|
||||
no_log: false
|
||||
|
||||
# Secrets
|
||||
admin_password_secret: custom-admin-password
|
||||
postgres_configuration_secret: custom-pg-configuration
|
||||
secret_key_secret: custom-secret-key
|
||||
|
||||
# Resource Requirements
|
||||
postgres_storage_requirements:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
|
||||
# Extra Settings
|
||||
extra_settings:
|
||||
- setting: MAX_PAGE_SIZE
|
||||
value: "500"
|
||||
13
dev/awx-cr/awx-k8s-ingress.yml
Normal file
13
dev/awx-cr/awx-k8s-ingress.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: awx.ansible.com/v1beta1
|
||||
kind: AWX
|
||||
metadata:
|
||||
name: awx
|
||||
spec:
|
||||
service_type: nodeport
|
||||
ingress_type: ingress
|
||||
|
||||
# Secrets
|
||||
admin_password_secret: custom-admin-password
|
||||
postgres_configuration_secret: custom-pg-configuration
|
||||
secret_key_secret: custom-secret-key
|
||||
13
dev/awx-cr/awx-openshift-cr.yml
Normal file
13
dev/awx-cr/awx-openshift-cr.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: awx.ansible.com/v1beta1
|
||||
kind: AWX
|
||||
metadata:
|
||||
name: awx
|
||||
spec:
|
||||
service_type: clusterip
|
||||
ingress_type: Route
|
||||
|
||||
# Secrets
|
||||
admin_password_secret: custom-admin-password
|
||||
postgres_configuration_secret: custom-pg-configuration
|
||||
secret_key_secret: custom-secret-key
|
||||
7
dev/secrets/admin-password-secret.yml
Normal file
7
dev/secrets/admin-password-secret.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: custom-admin-password
|
||||
stringData:
|
||||
password: 'password'
|
||||
7
dev/secrets/custom-secret-key.yml
Normal file
7
dev/secrets/custom-secret-key.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: custom-secret-key
|
||||
stringData:
|
||||
secret_key: 'awxsecret'
|
||||
12
dev/secrets/external-pg-secret.yml
Normal file
12
dev/secrets/external-pg-secret.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: external-pg-secret
|
||||
stringData:
|
||||
database: 'awx'
|
||||
host: 'awx-postgres'
|
||||
password: 'test'
|
||||
port: '5432'
|
||||
type: 'managed'
|
||||
username: 'awx'
|
||||
Reference in New Issue
Block a user