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
Yanis Guenane
4706aa9a1e
Deployment type: Make more fields dynamic based on that field
2021-04-28 12:12:06 +02:00
Marcelo Moreira de Mello
3d5a9eae31
Handle statefulset updates
2021-04-27 17:16:57 -04:00
Marcelo Moreira de Mello
3c26af0cd7
Merge pull request #217 from tchellomello/crashing
...
Updated logic to validate changes on configmaps, deployments and statefulsets
2021-04-26 17:04:20 -04:00
Marcelo Moreira de Mello
bc34758c91
Split container image and version in 2 variables
2021-04-21 17:18:02 -04:00
Marcelo Moreira de Mello
46fca2af5a
updated
2021-04-21 15:41:18 -04:00
Marcelo Moreira de Mello
597356f317
Handles deleting and recreating statefulset and deployment when needed
2021-04-21 14:58:21 -04:00
Marcelo Moreira de Mello
39ef816f5e
Updated logic to avoid crash during upgrades
2021-04-19 23:19:13 -04:00
Marcelo Moreira de Mello
298d39c57b
Added support to override pg_sslmode
2021-04-12 12:48:00 -04:00
Shane McDonald
c44c3fb095
Merge pull request #176 from rooftopcellist/fix-mismatched-db-name
...
Fix data migrations when the database names do not match
2021-04-07 16:29:52 -04:00
Marcelo Moreira de Mello
4d4ed3e827
Added labels to AWX kind resource
2021-04-07 14:24:34 -04:00
Marcelo Moreira de Mello
584d45d315
Introducing ability to mount /var/lib/projects
2021-04-06 12:53:08 -04:00
Christian M. Adams
43aa01ce5f
Fix data migrations when the database names do not match
2021-04-05 17:14:47 -04:00
Marcelo Moreira de Mello
185238c199
Use k8s labels on managed resources
2021-04-01 14:04:59 -04:00
Marcelo Moreira de Mello
8974e3446a
Added ability to configure LDAP CA
2021-03-29 22:19:22 -04:00
Christian M. Adams
746dc2738f
Name pg pod in a more unique way
...
- this is to make it possible to run migration with multiple deployments in the same pod
2021-03-24 13:37:39 -04:00
Julen Landa Alustiza
60199f79aa
Check the default old PostgreSQL configuration
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-03-23 12:59:29 +01:00
Shane McDonald
7d6743c44d
Fix linter
2021-03-18 13:58:26 -04:00
Shane McDonald
92a7bf22a1
Tweak migration logic
2021-03-18 12:31:02 -04:00
Shane McDonald
79534a1465
Dont require database names to match when doing migration
2021-03-18 11:22:04 -04:00
Shane McDonald
64c10f29c4
Uncomment status tasks
2021-03-18 11:22:04 -04:00
Shane McDonald
94a4861d13
Bulk removal of no_log statements
...
The operator would be impossible to debug with these
2021-03-18 11:22:04 -04:00
Shane McDonald
da26472a03
Fix reconcilation loop after data migration changes
2021-03-18 11:22:00 -04:00
Christian M. Adams
c22577bc80
Make data migration idempotent
2021-03-17 16:03:46 -04:00