Commit Graph
260 Commits
Author SHA1 Message Date
Shane McDonald c320dc835b Fix image 2021-03-18 14:17:13 -04:00
Shane McDonald f47604998e Merge pull request #116 from rooftopcellist/backup_restore
Optional data migration if source DB configuration is provided
2021-03-18 14:15:30 -04:00
Shane McDonald 7d6743c44d Fix linter 2021-03-18 13:58:26 -04:00
Shane McDonald bb519664cd Add seperate docs for migration 2021-03-18 12:33:05 -04:00
Shane McDonald 92a7bf22a1 Tweak migration logic 2021-03-18 12:31:02 -04:00
Shane McDonald 851ff16c0f Allow for overriding namespace when deploying via playbook 2021-03-18 11:22:04 -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
Yanis Guenane 1cd93c6752 Merge pull request #125 from Spredzy/fix_wrong_variable_name
tower_deployment: Use the proper conditional variable
2021-03-17 10:50:34 +01:00
Christian M. Adams e83e54419a Add no_log where needed, scale down pods before migration 2021-03-16 13:32:16 -04:00
Christian M. Adams 5b89c5c433 Clean db on Tower data is restored to 2021-03-16 13:32:15 -04:00
Christian M. Adams 0e1b12f4b1 Data migration from 3.8 to 4.0 via pg_dump streamed to psql 2021-03-16 13:32:15 -04:00
Christian M. Adams 93d53c712c Use k8s_exec tasks 2021-03-16 13:32:15 -04:00
Christian M. Adams 6a5bdaf2f7 init backup & restore 2021-03-16 13:32:15 -04:00
Shane McDonald 6cc3c47e33 Merge pull request #126 from dericcrago/image_pull_secret
added 'tower_image_pull_secret'
2021-03-15 12:26:01 -04:00
Deric Crago 1beae86c1d added 'tower_image_pull_secret' to 'README.md' 2021-03-15 11:47:07 -04:00
Deric Crago 7a559b9f3b added 'tower_image_pull_secret' 2021-03-15 11:27:37 -04:00
Yanis Guenane cc3a752550 Merge pull request #120 from Spredzy/scram-sha
PostgreSQL: Set scram-sha-256 as default host auth method
2021-03-15 13:16:59 +01:00
Yanis Guenane 7442555869 tower_deployment: Use the proper conditional variable
fixes: https://github.com/ansible/awx-operator/issues/118
2021-03-15 12:58:14 +01:00
Yanis Guenane 10566b46b1 PostgreSQL: Set scram-sha-256 as default host auth method 2021-03-09 11:40:23 +01:00
Yanis Guenane d32cf447ea Merge pull request #119 from Spredzy/better_passwords
Rely on /dev/null to generate passwords
2021-03-09 10:19:39 +01:00
Yanis Guenane 07dda4c8ef Rely on /dev/null to generate passwords 2021-03-09 10:01:38 +01:00
Yanis Guenane a860b0f459 Merge pull request #115 from Spredzy/move_to_secret_base
Move tower_broadcast_websocket_secret to a Secret
2021-03-04 20:56:48 +01:00
Yanis Guenane 9683dc23a4 Move tower_broadcast_websocket_secret to a Secret 2021-03-04 20:21:38 +01:00
Shane McDonald e4fd5aeb32 Merge pull request #76 from shanemcd/new-deployment-model
New deployment model
2021-03-04 11:46:46 -05:00
Shane McDonald b1788be272 Merge pull request #1 from rooftopcellist/patch-ee-receptor
Dynamically set the deployment type for the configmap name
2021-03-03 15:46:30 -05:00
Christian M. Adams 92efe37100 Dynamically set the deployment type for the configmap name 2021-03-03 15:39:37 -05:00
Shane McDonald 21f284fb49 Ignore olm-catalog in yamllint 2021-03-03 13:13:12 -05:00
Shane McDonald d53245b984 Regenerate bundle info 2021-03-03 12:35:07 -05:00
Shane McDonald 9595c6c008 New deployment model 2021-03-03 12:30:17 -05:00
Shane McDonald 9545acd301 Merge pull request #113 from shanemcd/refactor-templates
Refactor templates
2021-03-01 14:14:38 -05:00
Shane McDonald 1ff4d8f6c9 Refactor templates 2021-03-01 13:58:49 -05:00
Yanis Guenane d839088521 Merge pull request #103 from Spredzy/more_flexibility
Augment the OpenAPI schema at the CRD definition level
2021-03-01 15:24:11 +01:00
Yanis Guenane 32a53f3747 Merge pull request #112 from Spredzy/increase_debug_in_ci
Improve CI troubleshooting
2021-03-01 11:00:55 +01:00
Yanis Guenane 70690ccd50 Improve CI troubleshooting 2021-03-01 10:42:36 +01:00
Yanis Guenane c579537d66 Update API and operator interface 2021-02-25 17:44:00 +01:00
Yanis Guenane e589a999a8 kind,api_version: Dynamically retrieve those values 2021-02-25 13:56:42 +01:00
Shane McDonald 53f3f07645 Merge pull request #110 from rooftopcellist/docs_typo
Fix minor typo in README.md
2021-02-24 15:31:27 -05:00
Christian M. Adams b8d12d93fb Fix minor typo in README.md 2021-02-24 14:09:29 -05:00
Yanis Guenane 5f60f6d004 Merge pull request #107 from Spredzy/update_readdme
Update README
2021-02-24 09:45:48 +01:00
Yanis Guenane 87a6db538a Merge pull request #106 from Spredzy/full_openapi_schema
OpenAPI: Extend the schema to all role variables
2021-02-24 09:45:36 +01:00
Yanis Guenane 733d739124 Update README 2021-02-23 15:02:14 +01:00
Yanis Guenane c7abc4b8d6 Merge pull request #108 from ansible/add-license-1
Add LICENSE file
2021-02-23 14:56:21 +01:00
Yanis Guenane 9271cd464e Add LICENSE file 2021-02-23 14:39:14 +01:00
Yanis Guenane f04017ca95 OpenAPI: Extend the schema to all role variables
This is the full implementation of the OpenAPI schema that maps to the
currently existing roles defaults variable.

Prior to this commit, all variables specified at the spec level that
didn't have an entry in the OpenAPI schema at the CRD level were simply
ignored, unless --validate=false was specified.

This commit fixes that and provide a mapping between the CRD level
OpenAPI schema and the variables availabe in <roles>/defaults/main.yml.

This commit is simply about ensuring one can provide all the available
variables. A follow up commit will come to add logic in the OpenAPI
schema definition as it can be shown here[1]

[1]
https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#specifying-a-structural-schema
2021-02-22 16:19:54 +01:00
Yanis Guenane 5690fa7cc1 Merge pull request #102 from Spredzy/templatize_api_version
Make the API version used for status update parametrable
2021-02-17 11:43:25 +01:00
Yanis Guenane a44cfb676d Make the API version used for status update parametrable 2021-02-17 11:21:29 +01:00