Yanis Guenane
3899365da7
EE: Allow one to specify extra environment variable
2021-06-17 10:43:52 +02:00
Shane McDonald
f565befdb0
Update build-and-push.yml to use community.docker
2021-06-16 12:41:57 -04:00
Christian M. Adams
bfec61ad8d
Dynamically collect secrets for backup & restore roles
...
- This prevents us from overwriting vars unintentionally at restore time
- This will make it easier to add secrets to be backed up in the future
- Add generated secret names to awx spec backup
- Fail early if secret status doesn't exist
- Skip if secret is not in spec for non-generated secrets
- Secret values must be b64 decoded before secret is created
- Cleanup temp files
2021-06-15 14:17:02 -04:00
Yanis Guenane
754ad98d3c
Do not specify unneeded default
2021-06-14 09:33:39 +02:00
Christian Adams
f1b1293f5f
Merge pull request #372 from rooftopcellist/fail-loud
...
Fail task if pg_dump fails in backup role
2021-06-09 10:58:15 -04:00
Elijah DeLee
c4d197f5ce
add type to control_plane_ee_image
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
Shane McDonald
2622e0e111
Merge pull request #361 from Zokormazo/control-plane-ee
...
Use own attribute for control_plane_ee
2021-06-07 15:43:30 -04:00
Christian M. Adams
69b3f43414
Make postgres image and version separately configurable for backup/restore
...
- Update templated and generated manifest files
2021-06-04 11:00:50 -04:00
Christian M. Adams
ead7532c3c
Add statuses to schemas for awxbackup and awxrestore objects
...
- Fix small docstring typos
2021-06-03 09:22:04 -04:00
Julen Landa Alustiza
83e46ee84b
Use own attribute for control_plane_ee
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-06-02 14:55:53 +02:00
Shane McDonald
b74d6a582e
Bump versions for 0.10.0
2021-06-01 17:07:52 -04:00
Marcelo Moreira de Mello
e37c091d17
Make tower_ingress_type to respect ClusterIP definition
2021-06-01 15:42:39 -04:00
Marcelo Moreira de Mello
446ac0b190
Added ability to specify annotations to ServiceAccount
2021-05-25 12:16:16 -04:00
Yanis Guenane
75458d0678
Do not prepend variables name with tower_
2021-05-25 09:52:13 +02:00
Marcelo Moreira de Mello
5266cc23a9
Adds operator-version to k8s resources
2021-05-12 22:17:36 -04:00
Christian Adams
8519ff93b2
Merge pull request #272 from kimbernator/devel
...
Add support for custom service labels
2021-05-10 15:18:31 -04:00
Shane McDonald
9cca0d0520
Merge pull request #287 from AlanCoding/include_playbook
...
Make awx-operator compatible with Ansible 2.12
2021-05-06 11:05:19 -04:00
Alan Rominger
521648925c
Make awx-operator compatible with Ansible 2.12
2021-05-06 10:49:01 -04:00
Yanis Guenane
ce0a251c1c
olm-catalog: Update with latest content from AWXBackup and AWXRestore
2021-05-05 10:37:23 +02: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 Adams
bd6a5c3156
Merge pull request #133 from rooftopcellist/backup-role
...
Backup role for awx-operator
2021-05-03 15:36:04 -04:00
Jeremy Kimber
fd42802512
Add support for custom service labels
2021-05-03 10:20:56 -05:00
Shane McDonald
8772d0eec5
Merge pull request #266 from shanemcd/bump-19.1.0
...
Bump 19.1.0
2021-05-01 10:27:39 -04:00
Shane McDonald
ca20dcf053
Use 'admin' username in tests
2021-05-01 09:39:50 -04:00
Shane McDonald
acb443432e
Bump version
2021-05-01 08:18:30 -04:00
Shane McDonald
77e7039a2e
Update playbook to allow for deploying custom image version/tag
2021-05-01 07:44:53 -04:00
Christian M. Adams
5ae36367a4
Rename product specific variable names
2021-04-30 10:49:31 -04:00
Christian M. Adams
c817a2234d
Simplify vars needed for restore CR & do not garbage collect secrets
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
ff9248e971
create pvc in namespace of old awx by default, update docs, fix bug with secret statuses
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
5b32c41277
Fix retry for checking postgres pod & fix secrets template
...
- fixed a lot of typos & updated the README.md files
2021-04-30 10:24:37 -04:00
Christian M. Adams
8ed0b1fe61
Template only what is needed from secrets and awx cro
2021-04-30 10:24:37 -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
5669747bbf
Scope pvc and management pod to default namespace
...
- make this configurable via tower_backup_pvc_namespace var
- remove redundant k8s task info
2021-04-30 10:24:36 -04:00
Christian M. Adams
8467209d35
init restore
2021-04-30 10:24:35 -04:00
Christian M. Adams
80c8d87f71
Create an event when pvc is not set to alert the user
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
f17dcdc3e9
Swap vars and defaults, rename to awxbackups
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
Yanis Guenane
1d14ebccad
Extra Settings: Allow one to pass extra API configuration settings.
...
For more advanced usage, a user can do the
extra_volumes/extra_volume_mounts dance. But for simple need adding this
parameter make it easy to just specify an extra parameter.
2021-04-30 11:06:40 +02: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
2fd737fbc2
Merge pull request #204 from TheStally/devel
...
Set Service to use type ClusterIP instead of NodePort when tower_ingress_type is Ingress
2021-04-25 21:59:25 -04:00
Shane McDonald
da43c5ba7d
Merge pull request #226 from fust/fix_postgres_resources
...
Fix postgres resources
2021-04-22 13:33:11 -04:00
TheStally
96b878f049
Add NodePort to tower_ingress_type enum
2021-04-22 08:39:28 +01:00
Marcelo Moreira de Mello
bc34758c91
Split container image and version in 2 variables
2021-04-21 17:18:02 -04:00
Thom Wijtenburg
378a33aaee
Fix PostgreSQL resource requests
2021-04-20 11:14:48 +02:00