Jeremy Kimber
5af7e7f4b9
Ensure custom control plane EE is defined prior to creation of application credentials ( #873 )
...
Co-authored-by: Jeremy Kimber <jeremy.kimber@garmin.com >
2022-04-15 16:04:47 -04:00
Christian Adams
d8f91d112e
Stop updating the admin user password ( #874 )
...
* This is overwriting changes the user makes to the admin password via
the app itself
2022-04-14 16:35:37 -04:00
Christian Adams
575e594314
Wait for the postgres pod to enter the ready state before starting containers ( #861 )
2022-04-06 08:29:53 -04:00
gamuniz
94c5c41a24
reording the django tasks to avoid race condition aap-2847 ( #855 )
...
* Reorder the django init tasks to avoid race condition - aap-2847
2022-04-01 14:55:57 -04:00
kurokobo
589a3751e1
fix: add quotes for PGPASSWORD for the backup and restore roles
2022-03-20 16:13:12 +09:00
Christian M. Adams
192611eea8
Run database-check initContainer on postgres sts instead
...
- This avoids issues with multple initContainers trying to mount the
postgres pvc at once, as is the case when there are multiple
replicas.
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2022-03-05 10:07:07 -05:00
Christian M. Adams
960d1f8a32
Fix volume mount syntax error
...
* conditionally run database-check init container only for managed db
deployments
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2022-02-01 10:50:48 -05:00
sooslaca
8f8336b25a
Fix issue #762
...
Fix https://github.com/ansible/awx-operator/issues/762
2022-01-23 16:17:24 +01:00
Christian M. Adams
fdbe607189
Scale down app pod when database is unavailable
2022-01-04 17:07:39 -05:00
Christian M. Adams
3150d55af6
Do not try to wait for Postgres on external db deployments
...
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-12-09 19:31:37 -05:00
Christian M. Adams
fbd5803f10
Wait for Postgres to initialize before starting containers
2021-12-07 17:42:55 -05:00
Shane McDonald
eaaf55e7f0
Drive-by lint fix, actually enforce line length
2021-11-19 08:16:34 +00:00
Yanis Guenane
fc713e7b73
Properly apply default when env lookup returns empty
2021-11-02 09:57:04 +01:00
Christian M. Adams
7eb6d0e0f5
Set default images, but use them as a last resort
...
* Only use them if user did not set an image, or RELATED_IMAGES_ var
is not set
Signed-off-by: Christian M. Adams <chadams@redhat.com >
(cherry picked from commit bb957be9e6 )
2021-11-01 14:58:24 +01:00
Christian M. Adams
29879f7064
Rename related image vars to be distinct across operators
2021-10-27 11:26:51 -04:00
Christian M. Adams
8aee279634
Use relatedImages to make disconnected deployments possible
...
* Add ability to pass images in from the CSV for disconnected installs
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-10-26 00:26:16 -04:00
Shane McDonald
69203723ef
Update scaffolding to pass yamllint
2021-09-29 18:39:24 -04:00
Shane McDonald
e97def4429
meta -> ansible_operator_meta
2021-09-29 18:39:24 -04:00
Christian M. Adams
8952d8fd64
Revert "pgsql uses initContainer to address FS permissions"
...
This reverts commit 99d77dff99 .
2021-08-12 15:51:15 -04:00
Marcelo Moreira de Mello
99d77dff99
pgsql uses initContainer to address FS permissions
2021-07-31 00:50:30 -04:00
Christian M. Adams
68b00efe5e
Set no_log on all tasks that could leak secrets in logs
2021-07-07 18:19:31 -04:00
Martin Adler
c9ec522956
added openshift api version
2021-07-05 11:12:34 +02:00
Christian M. Adams
cf2cd14154
Do not check for default ee-pull-cred secret
...
* fix nested var ref for awx_spec.spec
2021-07-01 15:05:18 -04:00
Shane McDonald
7310b43a5c
Use kubernetes.core
2021-06-22 14:52:54 -04:00
Marcelo Moreira de Mello
f2e43db37c
Added ability to trust a custom bundle CA
2021-06-18 01:48:50 -04:00
Shane McDonald
2777c5e00a
Dont register instance in operator
...
This happens in the app
2021-06-08 17:05:56 -04:00
Shane McDonald
6b57caeb92
Fix quoting issue
...
This was causing Ansible to always report changed=2
2021-06-08 16:56:19 -04:00
Julen Landa Alustiza
1fc22749a5
Use awx-manage register_default_execution_environments
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-06-08 16:56:17 -04:00
Yanis Guenane
e96298b5a8
Use new awx default queue name
...
Relates: https://github.com/ansible/awx/pull/10324
2021-06-07 17:36:23 +02:00
Yanis Guenane
223fe988aa
Do not shadow other variables
2021-05-25 15:38:35 +02:00
Yanis Guenane
75458d0678
Do not prepend variables name with tower_
2021-05-25 09:52:13 +02:00
Christian M. Adams
406bbf90fa
Make postgres sts labels consistent with k8s recommendations & pulp-operator
...
- k8s recommended labels: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
2021-05-18 10:02:15 -04:00
Marcelo Moreira de Mello
5266cc23a9
Adds operator-version to k8s resources
2021-05-12 22:17:36 -04:00
Christian M. Adams
c12a1f02ab
Unset ownerRefs in the installer instead of the finalizer
2021-05-07 17:55:01 -04:00
Christian M. Adams
9145b32d11
Use custom archive format when migrating data
...
- this approach is compatible with the RH postgresql container
2021-05-07 15:04:20 -04:00
Christian M. Adams
8af0681373
Persist secret names from old deployment & add them to the spec
...
- renamed some more variables to be consistent with the pulp-operator
- removed unneeded vars from backup & restore crds
- added a way to parse spec at restore time by including vars to
get around the issue of triply nested quotes when using to_json
2021-05-04 10:06:29 -04:00
Christian M. Adams
5e2d11835e
Fix rebase issue & remove dynamic kind/version var setting
2021-04-30 13:51:48 -04:00
Christian M. Adams
5439681a39
Fix rebase issue due to order or pg config tasks
2021-04-30 10:49:32 -04:00
Christian M. Adams
d743936ee4
Update admin user password with value in provided/generated secret
2021-04-30 10:49:31 -04:00
Christian M. Adams
867bc258b9
Allow custom postgres pod label to support user managed pg pods
...
- Only set resolvable pg host path for pg container when managed
2021-04-30 10:49:30 -04:00
Christian M. Adams
38a6a02f85
Add secret names as statuses on the AWX object
...
- set migrate data status even if custom name for old postgres config is not used
- Allow users to change pg name, pw & db name for a managed postgres
- set default value for postgres-configuration type as unmanaged if secret is created
- Make pg port configurable for managed deployments
2021-04-30 10:49:27 -04:00
Christian M. Adams
90f4d71606
Make pg port configurable for managed deployments
2021-04-30 10:32:07 -04:00
Christian M. Adams
8f760e2842
Allow users to change pg name, pw & db name for a managed postgres
...
- set default value for postgres-configuration type as unmanaged if secret is created
2021-04-30 10:32:05 -04:00
Christian M. Adams
2cbf60fa17
Remove unneeded fqcn for modules & fix CI
2021-04-30 10:24:36 -04:00
Christian M. Adams
b9d0852c83
Fix small namespace issue
2021-04-30 10:24:36 -04:00
Christian M. Adams
8422f6fbd9
rename db task vars with awx instead of tower for consistency
2021-04-30 10:24:35 -04:00
Christian M. Adams
6bc149bae2
template awxbackup crd into awx-operator.yml for easy deployment
2021-04-30 10:24:35 -04:00
Christian M. Adams
e1dca00f46
Fix backup reconciliation loop, add error status
2021-04-30 10:24:35 -04:00
Christian M. Adams
91dda5cb16
backup secrets to YAML files
2021-04-30 10:24:34 -04:00
Marcelo Moreira de Mello
7361defa17
Merge pull request #198 from tchellomello/ssl_pg
...
Added support to override PosgreSQL sslmode
2021-04-28 15:51:01 -04:00