Rick Elrod
0d55f9e80d
Revert "[checkpoint_v1] Pin Cython for tests, so that PyYAML can build ( #1493 )" ( #1495 )
2023-07-17 15:30:43 -05:00
Rick Elrod
ef3c95b6b3
[checkpoint_v1] Pin Cython for tests, so that PyYAML can build ( #1493 )
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2023-07-17 12:43:57 -05:00
Rick Elrod
a5ef262f3c
[ci] pin ansible-compat for molecule
...
https://github.com/ansible-community/molecule/issues/3903
Signed-off-by: Rick Elrod <rick@elrod.me >
2023-05-23 18:12:00 -05:00
Seth Foster
2b3fd833a3
Allow TLS 1.2 for Receptor connections ( #1300 )
...
- Required for FIPS environment where TLS 1.3 is
not supported
- TLS 1.3 can still be used if the nodes
both agree to use during handshake.
2023-03-29 19:19:40 -04:00
Guillaume Lefevre
c76ad2cff1
Change ansible k8s_info tasks api_version for Deployment kind to apps/v1 ( #1299 )
...
Co-authored-by: Guillaume Lefevre <guillaume.lefevre@agoda.com >
2023-03-29 15:39:41 -04:00
John Westcott IV
aa673de25d
Merge pull request #1305 from john-westcott-iv/no_jmes
...
Modifying stage playbook to not need jmespath
2023-03-27 21:08:32 -04:00
John Westcott IV
f1512e9405
Modifying stage playbook to not need jmespath
2023-03-27 20:56:56 -04:00
John Westcott IV
d853e050cd
Merge pull request #1304 from john-westcott-iv/fix_jmes_path
...
Adding jmespath to workflow for using json_query
2023-03-27 20:40:10 -04:00
John Westcott IV
9f0c5c8ba9
Adding jmespath to workflow for using json_query
2023-03-27 20:26:14 -04:00
John Westcott IV
1d34d86f32
Merge pull request #1303 from john-westcott-iv/fix-playbook
...
Making helm release playbook more idempotent
2023-03-27 16:18:56 -04:00
John Westcott IV
7164c412f0
Making helm release playbook more idempotent
2023-03-27 16:02:21 -04:00
John Westcott IV
a8a05bb113
Merge pull request #1302 from john-westcott-iv/fix_release
...
Adding missing \ in promote workflow
2023-03-27 14:40:19 -04:00
John Westcott IV
bf91f32f79
Adding missing \ in promote workflow
2023-03-27 14:28:18 -04:00
Dimitri Savineau
1e453aefd3
Merge pull request #1297 from dsavineau/restore_requires_deployment_name
...
restore: Set deployment_name as required
2023-03-23 11:14:32 -04:00
Dimitri Savineau
71b950c243
Merge pull request #1298 from dsavineau/fix_restore_backup_source_enum
...
restore: Fix enum value for backup_source
2023-03-23 11:14:13 -04:00
Dimitri Savineau
b00137cc3e
restore: Fix enum value for backup_source
...
The choice for backup_source are:
- Backup CR
- PVC
This current prevents to create an AWXRestore CR with the Backup CR value
from the OLM UI.
Error "Unsupported value: "Backup CR": supported values: "CR", "PVC"" for
field "spec.backup_source".
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2023-03-22 18:18:51 -04:00
Dimitri Savineau
2cc398d8d4
restore: Set deployment_name as required
...
The deployment_name from the AWXRestore CR doesn't requires to set a
value for this parameter.
That parameter is already required for the AWXBackup CR so it should be
the same for AWXRestore.
Creating an AWXRestore CR without deployment_name set results in a failure
during the Secrets restoration.
"reason":"FieldValueInvalid","message":"Invalid value: \\"-receptor-ca\\":
a lowercase RFC 1123 subdomain must consist of lower case alphanumeric
characters, \'-\' or \'.\', and must start and end with an alphanumeric
character (e.g. \'example.com\', regex used for validation is
\'[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\')"
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2023-03-22 17:59:49 -04:00
Joel
5c91bbd65e
restore use k8s_cp module to read backup files ( #1212 )
2023-03-22 14:27:58 -04:00
Gene Tomilko
88b1a8c125
Add loadbalancerip ( #1265 )
...
* Add ability to configure loadbalancerip on service
* Add docs for configuring loadbalancerip
2023-03-22 18:27:17 +00:00
Christian Adams
6fd969633e
Document the need for quotes on pg secret port value ( #1288 )
2023-03-22 14:17:40 -04:00
Christian Adams
9c788ba3bd
Add more suggestions to Debugging doc ( #1285 )
2023-03-16 17:52:29 -04:00
Seth Foster
c2fd14e39a
Merge pull request #1281 from trippinnik/patch-1
...
Update README.md
2023-03-15 14:29:57 -04:00
Seth Foster
6513e93e7f
Merge pull request #1287 from sugitk/patch-1
...
fixes #1286 expand client_max_body_size to 5Mb
2023-03-15 14:17:18 -04:00
Takashi Sugimura
d0f4898aaa
fix #1286
2023-03-15 08:20:16 +09:00
trippinnik
3d849d9179
Update README.md
...
documentation is incorrect for AUTH_LDAP_GROUP_TYPE and paramaters need to be noted with AUTH_LDAP_GROUP_TYPE_PARAMS
2023-03-09 09:46:46 -05:00
aurel333
fe77f1deae
Fix awx-manager-role bad match between some apiGroups and resources ( #1262 )
...
Co-authored-by: Aurelien Potin <aurelien.potin@michelin.com >
2023-03-08 16:24:03 -05:00
Hao Liu
9156909023
Merge pull request #1263 from rh-dluong/date-format
...
change date format to avoid :
2023-03-08 15:58:58 -05:00
Christian Adams
03e3b68eeb
Helm Release: Need to use shell, not command for multi-line ( #1280 )
2023-03-08 15:55:30 -05:00
Ravi Teja
6cae8dfa32
fix: use sha1 instead of md5 to make the installer work in FIPS ( #1260 )
...
Co-authored-by: RaviTeja Buddabathuni (rbuddaba) <rbuddaba@cisco.com >
2023-03-08 15:10:27 -05:00
Hao Liu
b1ecc89759
Merge pull request #1274 from TheRealHaoLiu/feature-branch-build
...
Add github workflow for publishing feature branch images
2023-03-07 17:05:08 -05:00
Hao Liu
bb85b31411
Add github workflow to publish feature branch img
2023-03-07 16:50:28 -05:00
Christian Adams
7e7c23e176
Fix helm-release task to work in ansible, not GHA env ( #1267 )
2023-03-06 15:25:04 -05:00
John Westcott IV
8442cc7ae8
Merge pull request #1268 from john-westcott-iv/ubuntu-change
...
Changing github actions from ubuntu-18 to ubuntu-latest
2023-03-06 15:06:02 -05:00
John Westcott IV
3faf76d7c9
Changing github actions from ubuntu-18 to ubuntu-latest
...
See https://github.com/actions/runner-images/issues/6002 for deprication warnings
2023-03-06 14:55:32 -05:00
David Luong
61ef5ef005
change date format to avoid :
2023-03-02 13:54:00 -05:00
Peter Hoffmann
86043361c6
Small fix/adjustment in README ( #1257 )
...
* Fix minor typo
2023-02-28 16:20:47 -05:00
Ravi Teja
06194960e9
Bump ansible operator SDK version to v1.26.0 ( #1258 )
...
Co-authored-by: RaviTeja Buddabathuni (rbuddaba) <rbuddaba@cisco.com >
2023-02-28 15:45:02 -05:00
Hao Liu
46da413585
Merge pull request #1193 from stanislav-zaprudskiy/add_termination_grace_period_seconds
...
AWX: Add `termination_grace_period_seconds`
2023-02-28 15:37:51 -05:00
Hao Liu
b5f255cf00
add nodeport_port to instantiate playbook ( #1252 )
2023-02-22 21:18:12 +00:00
Maxence Button
f328b0adb6
Customization of the init_projects_container_image is now possible ( #1248 )
2023-02-22 15:05:23 -05:00
Shane McDonald
1bfd3b2028
Merge pull request #1201 from thedoubl3j/debugging_doc_update
...
Update Installer Debugging Documentation
2023-02-22 14:51:05 -05:00
Christian Adams
edf01f009e
Stage and push helm index where gitconfig is set ( #1251 )
2023-02-22 14:09:35 -05:00
Joel
a3c28be98a
[enhancement] restore postgres database if external db ( #1211 )
...
* restore postgres fix resolvable_db_host
set the resolvable_db_host ansible variable based on the db deployment
2023-02-22 13:56:38 -05:00
Stanislav Zaprudskiy
49d1f00dbd
Do not keep web container running during termination
...
We could let the web container terminate as usual, as there are no
reasons to keep it running as it doesn't participate in
job control. Additionally, it stops receiving traffic with the beginning
of termination
> At the same time as the kubelet is starting graceful shutdown, the
> control plane removes that shutting-down Pod from EndpointSlice (and
> Endpoints) objects where these represent a Service with a configured
> selector
@ https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination
2023-02-22 10:40:40 +01:00
Christian Adams
81939cb521
K8s cpu value example in README.md needs quotes to be valid ( #1220 )
2023-02-20 17:37:53 -05:00
Shane McDonald
6b10a8141c
Merge pull request #1231 from rooftopcellist/auto-assign-nodeport
2023-02-09 20:27:26 -05:00
Christian M. Adams
1ef1f00b3d
Auto-assign NodePort port by default rather than hardcoding a default value
...
- previously, there was no way to auto-assign a port by default
which led to conflicts with other deployments at times
- nodeport_port param can still be used to specify a port if desired
2023-02-09 19:49:46 -05:00
Stanislav Zaprudskiy
336ea58a0a
AWX: Add termination_grace_period_seconds
2023-02-07 16:33:00 +01:00
Stanislav Zaprudskiy
f042cb3d00
Fix lint warnings
2023-02-07 16:31:26 +01:00
Stanislav Zaprudskiy
94d68bf382
Make Deployment to be rolled out on CM and Secrets changes
...
With the previous approach, not all associated (mounted) CM/Secrets
changes caused the Deployment to be rolled out, but also the Deployment
could have been rolled out unnecessary during e.g. Ingress or Service
changes (which do not require Pod restarts).
Previously existing Pod removal (state: absent) was not complete as
other pods continued to exist, but also is not needed with this commit
change due to added Pods annotations.
The added Deployment Pod annotations now cause the new ReplicaSet
version to be rolled out, effectively causing replacement of the
previously existing Pods in accordance with the deployment `strategy`
(https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#deploymentstrategy-v1-apps ,
`RollingUpdate`) whenever there is a change in the associated CMs or
Secrets referenced in annotations. This implementation is quite standard
and widely used for Helm workflows -
https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
2023-02-07 11:58:47 +01:00
Stanislav Zaprudskiy
b3a74362af
Make AWX Pod variable to be calculated respecting creationTimestamp and deletionTimestamp
...
Do not consider Pods marked for deletion when calculating tower_pod to
address replicas scale down case - where normally Pods spawned recently
are being taken for removal. As well as the case when operator kicked
off but some old replicas are still terminating.
Respect `creationTimestamp` so to make sure that the newest Pod is taken
after Deployment application, in which case multiple RS Pods (from old
RS and new RS) could be running simultaneously while the rollout is
happening.
2023-02-07 11:47:49 +01:00
Stanislav Zaprudskiy
ad531c8dce
Do not wait for a new Pod name after Deployment change
...
Proper waiting is already performed earlier during Deplyment{apply: yes, wait: yes} -
e6ac874098/plugins/module_utils/k8s/waiter.py (L27) .
And also not every Deployment change produces new RS/Pods. For example,
changing Deployment labels won't cause new rollout, but will cause
`until` loop to be invoked unnecessarily (when replicas=1).
2023-02-07 11:43:34 +01:00
Stanislav Zaprudskiy
e589ceb661
When applying Deployment wait up to (timeout * replicas)
...
There are cases when having a new Deployment may be taking above the
default timeout of 120s.
For instance, when a Deployment has multiple replicas, and each replica
starts on a separate node, and the Deployment specifies new images, then
just pulling these new images for each replica may be taking above the
default timeout of 120s.
Having the default time multiplied by the number of replicas should
provide generally enough time for all replicas to start
2023-02-07 11:41:32 +01:00
Christian Adams
234a10d185
Add a more descriptive AWX CRD description ( #1208 )
2023-01-31 10:50:12 -05:00
Christian Adams
e0fa1610ca
Fix minor typos in test task names ( #1209 )
2023-01-31 00:05:37 +00:00
Stanislav Zaprudskiy
5a856eeba8
Add additional_labels parameter ( #1160 )
...
* Move label templates into `common` role
So that there is single source of labels management, and labels are
unified across the other roles
* Introduce `additional_labels`
* Fix paths for labels templates
* Return `additional_labels_items` as list
* Add molecule tests
2023-01-30 18:51:08 -05:00
Christian Adams
d26a6bf641
Fix minor helm make target syntax error ( #1206 )
2023-01-27 09:56:40 -05:00
janorn
8d6db0934f
Fix helm chart URLs ( #1204 )
2023-01-27 09:32:46 -05:00
John Westcott IV
c1b2e73123
Merge pull request #1202 from john-westcott-iv/security_requested_change
...
Nominal change to the pr body check
2023-01-25 17:29:50 -05:00
John Westcott IV
6ac8668ead
Nominal change to the pr body check
2023-01-25 17:12:08 -05:00
thedoubl3j
d0516bcdc1
update vars file entry to include over ride examples
2023-01-25 14:41:18 -05:00
Christian Adams
ac5a2538bc
Fix helm index.yaml generation error ( #1199 )
2023-01-24 21:40:42 -05:00
Christian Adams
2bdc87d0a8
Add docs for ingress resource apiVersion configuration ( #1198 )
2023-01-24 22:42:02 +00:00
Joel
ab566c2530
backup role use k8s_cp module to write files ( #1111 )
2023-01-24 17:02:05 -05:00
rakesh561
6a7c3ca2de
Add docs for disabling IPv6
...
* Added procedure to disable ipv6 for AWX deployments when needed.
2023-01-24 04:26:25 +00:00
Miles
f6f58d5c6d
Setup make index for testing ( #1183 )
...
- Reconfigure index file generation
- checkout gh-pages branch in promote.yaml
- fix helm-index make target
- add gh-pages folder in .gitignore
Signed-off-by: Miles Wilson <wilson.mil@icloud.com >
Co-authored-by: Hao Liu <haoli@redhat.com >
Co-authored-by: Christian Adams <rooftopcellist@gmail.com >
2023-01-18 17:53:57 -05:00
kurokobo
b1a547d2a6
fix: add quotes for PGPASSWORD in upgrade_postgres.yml ( fixes #1166 ) ( #1167 )
2023-01-18 11:59:03 -05:00
Christian Adams
43f98eda77
Fix pr_body_check ( #1187 )
2023-01-11 22:16:58 -05:00
Christian Adams
007e47e35c
Add pre-reqs to the backup and restore docs ( #1186 )
2023-01-11 17:18:49 -05:00
David Hageman
21eb83b052
Correct admin password updating ( #1179 )
...
Corrects an issue with admin passwords failing to be updated due to shell escaping. This aligns the operator with the logic in the normal installer.
2023-01-11 11:41:35 -05:00
Dimitri Savineau
1f8414b8cb
molecule: set no_log to false ( #1185 )
...
In order to get information during CI debugging then turning off the
no_log statement will help with non hidden output.
FAILED! => {"censored": "the output has been hidden due to the fact that
'no_log: true' was specified for this result"}
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2023-01-11 11:21:53 -05:00
Shane McDonald
a199a8c104
Merge pull request #1172 from orcema/orcema-patch-readme-CA
...
update Trusting a Custom Certificate Authority
2023-01-04 13:18:37 +08:00
Orce MARINKOVSKI
fb1639a5d4
update Trusting a Custom Certificate Authority
...
I had hard times to identify how to declare to include statement for a custom certifcate bundle within the Kustomize file.
The tricky part for me was to spot the option "disableNameSuffixHash: true" in order to avoid renaming the secret name with an has suffix
2022-12-27 10:43:56 +01:00
Christian Adams
19c6c77c41
Add ability to configmap and include config files for nginx.conf ( #1145 )
2022-12-16 10:36:29 -05:00
Mathijsvw
4ee523ed69
Added pg_dump_suffix doc and crd property ( #1006 )
...
* Added pg_dump_suffix crd property
Signed-off-by: Mathijs van Willigen <mathijs.vanwilligen@student.hu.nl >
2022-12-14 14:56:40 -05:00
Stanislav Zaprudskiy
4c5bae69ef
Add possibility specifying affinity of AWX Pods. ( #1139 )
...
* Add an option to specify affinity rules for the awx pod
In some cases, you may want to use affinity rules instead of a
node selector so you can have more flexbility. For example if you want
to have "soft" rules i.e. run my pod on this node if possible otherwise
run it anywhere
* Rename `node_affinity` to `affinity`
* Maintain defaults and CSV
* Add fields validation
Co-authored-by: Olivier <oliverf1ca@yahoo.com >
2022-12-14 10:39:41 -05:00
Dax Kelson
9bf896e37c
Update README.md ( #1147 )
...
Use awx namespace whent getting AWX instance URL
2022-12-07 14:31:34 -05:00
Christian Adams
cb50f4f3ac
Add docs for Openshift install configuration ( #1140 )
2022-12-07 14:18:06 -05:00
Christian Adams
066e55e179
Bump Ansible Operator SDK version to v1.25.3 ( #1146 )
2022-12-05 16:04:04 -05:00
dru90i
f35bd7cf83
add default cluster name ( #1129 )
...
* add default cluster name
* Update awx.ansible.com_awxrestores.yaml
Co-authored-by: Kirill Smirnov <kirilsmirnov@x5.ru >
2022-11-30 14:29:52 -05:00
Karsten Heymann
95a1fc082b
README.md: Add newline after decoded passwords ( #1137 )
...
`base64 --decode` prints no new line after its output, resulting in the next shell prompt starting immediately after the password. This makes copying the password difficult. Adding an `echo` at the end of the command fixes this.
2022-11-30 15:59:38 +00:00
dale-mittleman
dbd1e59a55
Added flag to disable ipv6 listener ( #1135 )
2022-11-30 10:38:44 -05:00
Christian Adams
61f45147f6
Set Minimum K8s cluster version we expect to work ( #1126 )
2022-11-18 10:27:47 -05:00
Michael Cristina
c20f9b4128
fix default container name ( #1048 )
2022-11-16 20:33:50 -05:00
Seth Foster
15568fe564
docs show extra setting double quotes ( #1123 )
2022-11-16 20:25:28 -05:00
Florian LAUNAY
1baf417504
remove helm chart version from labels ( #1114 )
2022-11-15 16:32:33 -05:00
janorn
7fbf1c42aa
Get tags from remote. Local copy not complete. ( #1075 )
2022-11-10 00:25:51 -05:00
Christian Adams
a5e21b56ae
Backup and restore receptor tls secret with expected generated name ( #1107 )
2022-11-07 11:04:22 -05:00
John Westcott IV
1399504142
Adding community labels on PRs and Issues ( #1108 )
2022-11-04 11:55:47 -04:00
Shane McDonald
e5896d15ed
Merge pull request #1078 from FlorianLaunay/devel
...
use dedicated image for projects persistence PVC init tasks
2022-11-03 19:37:58 -04:00
Christian Adams
6b01ff09ce
Amend permissions for backup dir ( #1109 )
2022-11-03 12:52:48 -04:00
Florian LAUNAY
c708cef4dc
use dedicated image for projects persistence PVC init tasks
2022-11-03 17:26:00 +01:00
Christian Adams
1cf466def2
Add expected postgres version and usage docs ( #1103 )
2022-10-28 15:54:14 -04:00
sivateja04
0fc145b6aa
Enable configuration of route and ingress api versions ( #1098 )
...
* Introduce ingress_api_version and route_api_version
2022-10-26 08:51:15 -04:00
Shane McDonald
e30d26cf7b
Merge pull request #1100 from AlanCoding/still_not_fixed
...
Version 4.0.3 still not fixed, pin to before
2022-10-25 16:50:34 -04:00
Alan Rominger
7c4a731995
Version 4.0.3 still not fixed, pin to before
2022-10-25 16:10:33 -04:00
Dimitri Savineau
d2efea08e6
ci: Add check for no_log statement ( #1096 )
...
Since e966e92 we're using the `no_log` variable to control the no_log
statement value.
This job will check if the no_log statements are correctly set.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2022-10-24 14:37:27 -04:00
Julen Landa Alustiza
23e94f82c0
Merge pull request #1091 from Zokormazo/pin-molecule
...
Avoid molecule 4.0.2
2022-10-18 12:43:40 +02:00
Julen Landa Alustiza
de2e58f222
Avoid molecule 4.0.2
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2022-10-18 12:29:19 +02:00
Christian Adams
1c7c89efb3
Use Task container resource requirements for init container ( #1084 )
2022-10-13 12:27:51 -04:00
Ompragash Viswanathan
096fe100f7
Update config/manifests/bases/awx-operator.clusterserviceversion.yaml ( #1083 )
2022-10-12 14:12:06 -04:00
Christian Adams
58ee2f0c74
Be consistent when naming form entries and with capitalization ( #1082 )
2022-10-12 11:52:45 -04:00
Shane McDonald
93f7484f38
Merge pull request #1077 from chris93111/patch-1
...
fix templating config 0.30
2022-10-06 19:37:42 -04:00
chris93111
225c47dbbc
fix templating config
...
indent the comment and remove last -
2022-10-06 13:21:52 +02:00
Christian Adams
2daf8a1320
Add CSV description for OperatorHub ( #1072 )
2022-10-05 09:17:18 -04:00
Julen Landa Alustiza
5772c706d3
Merge pull request #1073 from Zokormazo/truncate-labels
...
Fix version label truncating
2022-10-05 11:02:26 +02:00
Julen Landa Alustiza
ae0a74bea3
Fix version label truncating
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2022-10-05 10:49:47 +02:00
Christian Adams
97cd7a9b7a
Clarify Restore options in Openshift UI interface ( #924 )
2022-10-05 00:40:40 -04:00
Dimitri Savineau
0975663a52
csv: Use booleanSwitch for no_log parameter ( #1071 )
...
Set the no_log default value in the CRDs and switch from hidden to
boolean in the CSV file so this can be display properly in the UI.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2022-10-04 23:59:43 -04:00
Dimitri Savineau
efdbd61860
csv: Add missing no_log to backup/restore ( #1070 )
...
e966e92 adds the configurable no_log parameter to all CRDs (install, backup
and restore) but only once in the CSV file (for installer).
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2022-10-04 14:10:07 -04:00
Dimitri Savineau
13b45cbb12
Merge pull request #1069 from rooftopcellist/no_log_more
...
More no_log default updates
2022-10-04 11:49:54 -04:00
Christian M. Adams
d3ca9c57c9
One more no_log default update
2022-10-04 11:36:56 -04:00
Christian Adams
9b1b5e676d
Change no_log type to boolean ( #1068 )
2022-10-04 10:48:51 -04:00
Hao Liu
17eb9cf8e8
Merge pull request #1061 from fosterseth/add_custom_ca_docs
...
Add docs for adding execution nodes and custom CA
2022-10-03 16:23:42 -04:00
Seth Foster
ed7e2b2a28
Add docs for adding execution nodes and custom CA
2022-09-29 15:54:29 -04:00
Hao Liu
5b7589accd
Merge pull request #1063 from TheRealHaoLiu/receptor-ca-secret-alternative
2022-09-29 02:04:50 -04:00
janorn
a1e289e189
Add workaround to populate index.yaml ( #1065 )
...
This will download all releases before cr index is being run.
fixes #1053
2022-09-28 23:51:05 -04:00
Hao Liu
0611f3efaa
add migration code for receptor ca secret
...
Signed-off-by: Hao Liu <haoli@redhat.com >
2022-09-28 16:22:20 -04:00
Hao Liu
a94a6f045d
change receptor ca secret to tls secret
...
change the type of secret use for receptor ca to tls secret, to be more "proper"
Signed-off-by: Hao Liu <haoli@redhat.com >
2022-09-27 21:38:07 -04:00
Christian Adams
1892b8f0ea
Explicitly set kind value to AWX ( #1056 )
2022-09-20 23:09:13 -04:00
Christian Adams
57b5795aab
Determine if k8s or ocp and set var accordingly ( #1051 )
...
* conditionally set fsGroup for projects_persistence based on cluster
type
2022-09-20 23:03:05 -04:00
Christian Adams
e8096a5f33
Pre-create dummy rh secret to avoid errors ( #952 )
2022-09-14 19:04:32 -04:00
Israel Blancas
271bce48bd
Upgrade operator-sdk version from 1.22.2 to 1.23.0 ( #1038 )
...
Signed-off-by: Israel Blancas <iblancasa@gmail.com >
2022-09-12 10:04:07 -04:00
Hao Liu
d64c34f8a4
Add receptor firewall rules to control nodes ( #1012 )
...
Support external execution nodes
- Allow receptor.conf to be editable at runtime
- Create CA cert and key as a k8s secret
- Create work signing RSA keypair as a k8s secret
- Setup volume mounts for containers to have access to the needed
Receptor keys / certs to facilitate generating the install bundle
for a new execution node
- added firewall rule, work signing and tls cert configuration to default receptor.conf
The volume mount changes in this PR fulfill the following:
- `receptor.conf` need to be shared between task container and ee container
- **task** container writes the `receptor.conf`
- **ee** consume the `receptor.conf`
- receptor ca cert/key need to be mounted by both ee container and web container
- **ee** container need the ca cert
- **web** container will need the ca key to sign client cert for remote execution node
- **web** container will need the ca cert to generate install bundle for remote execution node
- receptor work private/public key need to be mounted by both ee container and web container
- **ee** container need to private key to sign the work
- **web** container need the public key to generate install bundle for remote execution node
- **task** container need the private key to sign the work
Signed-off-by: Hao Liu <haoli@redhat.com >
Co-Authored-By: Seth Foster <fosterbseth@gmail.com >
Co-Authored-By: Shane McDonald <me@shanemcd.com >
Signed-off-by: Hao Liu <haoli@redhat.com >
Co-authored-by: Shane McDonald <me@shanemcd.com >
Co-authored-by: Seth Foster <fosterbseth@gmail.com >
2022-09-09 15:13:05 -04:00
Christian Adams
1bddb98476
Update requirements.yml and vendor new collections ( #1045 )
2022-08-31 18:46:33 -04:00
Christian Adams
5f183999d0
Fix restore resource requirements field name for management pod resources ( #1044 )
2022-08-31 17:06:01 -04:00
Shane McDonald
3769897131
Merge pull request #1041 from shanemcd/ignore-pycache
...
Add __pycache__ to gitignore
2022-08-30 11:26:02 -04:00
Shane McDonald
7f86231009
Add __pycache__ to gitignore
2022-08-30 11:14:49 -04:00
Shane McDonald
f59dac829a
Merge pull request #1040 from shanemcd/reusable-labels
...
Move labels into reusable templates
2022-08-30 11:13:47 -04:00
Shane McDonald
edecf4d2fe
Move labels into reusable templates
2022-08-30 11:00:43 -04:00
Shane McDonald
4120b5e2b0
Merge pull request #977 from somebadcode/add-ingress-class-name-to-ingress-template
...
Adding ingress class name to ingress template (#716 )
2022-08-29 09:12:52 -04:00
Tobias Dahlberg
8dabca5418
Adding ingress class name to ingress template ( #716 )
2022-08-29 11:11:19 +02:00
Fedor V
1d341a21d0
feat(readme): remove use of NAMESPACE var ( #1028 )
...
- it was used previously, but not anymore
2022-08-25 16:21:58 -04:00
Shane McDonald
f8719db954
Merge pull request #1013 from miles-w-3/debug-helm
...
Streamlined chart build
2022-08-25 11:59:04 -04:00
SweetGeneral
89425826e8
AWX.enable corrected to AWX.enabled ( #1035 )
...
Co-authored-by: sandesh.gupta <sandesh.gupta@olacabs.com >
2022-08-25 09:26:26 -04:00
Shane McDonald
5c572a9ba6
Merge pull request #1033 from mateuszdrab/patch-1
...
Remove reference to cluster.local
2022-08-25 08:44:32 -04:00
Shane McDonald
b7bbfd432d
Merge pull request #1034 from whitej6/jlw-jinj3-filter-update
...
Fixes #1032 - Update filter to jinja 3.x format
2022-08-25 08:42:42 -04:00
Shane McDonald
b17cd16fb7
Merge pull request #1008 from rooftopcellist/fix-helm-pkg-build
...
Fix helm package build redundancy and release automation
2022-08-25 08:38:09 -04:00
Mac Chaffee
dc6cbab501
Import all ldap config classes in settings.py ( #961 )
...
* Import all ldap config classes in settings.py
* Add AUTH_LDAP_GROUP_TYPE example to readme
Signed-off-by: Mac Chaffee <machaffe@renci.org >
2022-08-24 18:00:08 -04:00
Jeremy White
a81be586db
update filter to jinja 3.x format
2022-08-24 14:56:08 -05:00
Mateusz Drab
f2a9e967cc
Remove reference to cluster.local
2022-08-24 20:07:11 +01:00
Christian Adams
9f017d03e6
Make Backup & restore requests and limits configurable ( #1030 )
...
* Add resource specification options to the backup objects
* Add resource specification options to the restore object
Co-authored-by: Ivan Aragonés <26822043+ivarmu@users.noreply.github.com >
Co-authored-by: silvinux <silvinux7@gmail.com >
Co-authored-by: Ivan Aragonés Muniesa <iaragone@redhat.com >
2022-08-23 23:23:01 -04:00
Christian Adams
7d2d1b3c5e
Upgrade to Operator SDK v1.22.2 ( #1001 )
...
* Upgrade to Operator SDK 1.16.0
* Upgrade Operator SDK to v1.22.2 & bump base image version
2022-08-22 18:54:56 -04:00
Shane McDonald
5d0ebd0121
Merge pull request #1029 from shanemcd/delete-logging-code
...
Delete logging overrides in configmap
2022-08-22 11:48:05 -04:00
Shane McDonald
f368a539a9
Delete logging overrides in configmap
2022-08-22 10:56:37 -04:00
Shane McDonald
0aef4cc35f
Merge pull request #1026 from shanemcd/respect-LOG_AGGREGATOR_LEVEL
...
Respect LOG_AGGREGATOR_LEVEL
2022-08-19 13:25:33 -04:00
Shane McDonald
e3701dd3db
Respect LOG_AGGREGATOR_LEVEL
2022-08-18 19:10:54 -04:00
Elijah DeLee
cf98edc282
Merge pull request #976 from jainnikhil30/scale_callback_receiver_workers
...
configure callback receiver workers based on CPU
2022-08-09 07:23:08 -04:00
Nikhil
58a4778c89
configure callback receiver workers based on CPU
2022-08-09 13:18:41 +05:30
Shane McDonald
8e50bdde9b
Merge pull request #1015 from shanemcd/installer-templates-cleanup
...
Organize installer templates into subdirectories
2022-08-05 12:49:51 -04:00
Shane McDonald
60386bc928
Organize installer templates into subdirectories
2022-08-05 10:45:15 -04:00
kurokobo
f1df88dc53
fix: change to safely skip task if backupDirectory is not defined ( #1003 ) ( #1004 )
2022-08-04 10:42:43 -04:00
Miles Wilson
8de6179ac7
Streamlined chart build
2022-08-03 22:48:27 -04:00
Dimitri Savineau
8a3c8e727a
Merge pull request #929 from dsavineau/undefined_limits_key
...
installer: fix undefined limit key in config
2022-08-02 10:05:47 -04:00
Christian Adams
c230016819
Fix helm package build redundancy and release automation ( #1010 )
2022-08-01 21:27:15 +00:00
Christian M. Adams
bea05c97ee
Fix helm package build redundancy and release automation
2022-08-01 16:00:51 -04:00
John Westcott IV
3a6040e0cd
Adding GitHub check to ensure PRs have the proper X/Y/Z flags
2022-08-01 14:09:56 -04:00
John Westcott IV
24f3f440f1
Adding GitHub check to ensure PRs have the proper X/Y/Z flags
2022-08-01 13:04:38 -04:00
Christian Adams
87b0511997
Use new postgres pod label when migrating from old instance ( #1005 )
2022-07-29 16:38:04 -04:00
Christian Adams
fde4a47a14
Bump dependencies stream ( #841 )
...
* Bump Postgresql, Nginx and Redis versions
* pg12 --> pg13 upgrade path
* Set supported pg version as a variable to remain DRY
* Make deleting the old db data pvc after upgrade configurable
* Use labels to find the postgres pod
* backup/restore: fix postgres label selector value
We need to use the deployment_name variable for the postgres instance
name.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
* backup/restore: add missing default supported_pg_version variable
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
* restore: update database_host fact with pg suffix
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
Co-authored-by: Dimitri Savineau <dsavinea@redhat.com >
2022-07-29 13:21:51 -04:00
John Westcott IV
af2e681f1e
Please backup before attempting an upgrade ( #1002 )
2022-07-28 16:19:57 -04:00
lutskevich
82ffa3d348
Restore not managed external postgresql ( #877 )
...
* Restore not managed external postgresql
Update postgres.yml for restore from backup not managed external postgresql db.
* Update postgres.yml
* rm trailing spaces #48
Co-authored-by: Viktor Lutskevich <lutskevich.v@mail366.com >
2022-07-27 16:23:51 -04:00
Ming Quah
db6a5b53ed
Move custom resource definitions into a CRDs folder ( #994 )
...
* Add missing quote for port parameter
* Add step to move CRDs into the correct folder
2022-07-26 18:48:20 -04:00
Shane McDonald
0be17476cd
Merge pull request #979 from stanislav-zaprudskiy/allow_skipping_labels_patching_on_awx_resource
...
Introduce `set_self_labels` in CRDs
2022-07-20 12:41:20 -04:00
Shane McDonald
f4a781ccc5
Merge pull request #984 from bewing/makefile-logic
...
fix helm-chart Makefile issue
2022-07-20 12:40:20 -04:00
John Westcott IV
fcd2c4c023
Merge pull request #982 from john-westcott-iv/pr_template
...
Adding PR template
2022-07-19 04:22:41 -04:00
John Westcott IV
8e30a17a77
Adding PR template
2022-07-19 04:12:38 -04:00
Christian Adams
b3037c1067
Deprecate the backup_pvc_namespace field ( #988 )
...
- Removes backup_pvc_namespace field from OLM forms
- This field has created confusion for users and there is no strong
case for needing this functionality
- Users will still be able to add it to the yaml for the CR if they
want to use it with the cluster-scoped AWX operator
- Remove unneeded advanced descriptors to avoid empty Advanced
configuration expander
fixes AAP-1176
2022-07-18 17:35:11 -04:00
Brandon Ewing
f7ff132a2e
fix helm-chart Makefile issue
...
GNU make resolves the $(wildcard ) macro when starting a block, and
caches it for the duration of the run. In order to correctly remove
namespace references from the generated helm charts, we have to split
the generation and editing into two makefile targets.
2022-07-14 14:38:09 -05:00
Shane McDonald
5f06e90906
Merge pull request #963 from miles-w-3/helm-values
...
Added helm values, templates, and readme
2022-07-12 13:50:27 -04:00
Stanislav Zaprudskiy
36355b6a15
Introduce set_self_labels in CRDs
...
To allow skipping labels maintenance on CRs processed by the operator.
Resolves https://github.com/ansible/awx-operator/issues/756
2022-07-12 10:48:16 +02:00
Miles Wilson
bc08c4bbbe
Added helm values, templates, and readme
2022-07-11 19:59:03 -04:00
Shane McDonald
7697825944
Merge pull request #983 from shanemcd/ingress_path-test
...
Add tests around ingress_path feature
2022-07-11 19:55:28 -04:00
Shane McDonald
8a325293b1
Add tests around ingress_path feature
2022-07-11 19:45:11 -04:00
Shane McDonald
dd53a1d415
Merge pull request #980 from sdktr/958_pgdump_command_customization
...
Fix 958: allow pg_dump backup command customization
2022-07-11 19:30:30 -04:00
Shane McDonald
c5db0e7104
Merge pull request #954 from bewing/helm-namespace
...
remove namespace from helm chart
2022-07-11 19:18:08 -04:00
Stefan de Kooter
59036fc373
Add free format pg_dump backup parameter
2022-07-10 19:03:32 +00:00
Christian Adams
c45a7bd4d7
Add Docs notes for custom secret keys ( #969 )
2022-06-28 11:05:49 -04:00
Shane McDonald
34b6354001
Merge pull request #956 from Cl0udius/add_auto_upgrade_parameter
...
added auto_upgrade flag
2022-06-27 13:39:11 -04:00
Shane McDonald
801f392447
Merge pull request #964 from taishen/devel
...
Add an example of the nodeport_port in readme
2022-06-27 13:38:24 -04:00
Shane McDonald
779572e8ff
Merge pull request #944 from viv-dev/backup-cleanup
...
Option to delete backup dir on PV when AWXBackup object is deleted
2022-06-27 13:35:57 -04:00
Shane McDonald
e7e48f92a0
Merge pull request #962 from rooftopcellist/operator-resource-defaults
...
Add default resource requests for operator container
2022-06-27 13:33:32 -04:00
Brandon Ewing
3cd9ddd8c6
remove namespace from helm chart
...
Helm should be able to set the namespace for the operator at deploy time
via the --namespace option. Use yq to remove all references to
namespaces in the helm chart prior to publishing.
Update CI process to create namespace during install.
Resolves #907
2022-06-27 12:26:14 -05:00
taishen
4e6be0a82c
Add an example of the nodeport_port in readme
2022-06-27 22:02:42 +08:00
Viviana Capote
05943687fe
Added option to also delete backup directory on PVC when AWXBackup CRD object is deleted
2022-06-27 15:45:33 +10:00
Shane McDonald
9676ebc008
Merge pull request #955 from doanminhtu/tudoan/fix-ldap-password-secret-usage
...
Fix ldap bind password secret usage: ldap_password_secret
2022-06-26 10:45:26 -04:00
Christian M. Adams
8352237260
Add default resource requests for operator container
2022-06-24 16:40:45 -04:00
Alexander Stock
35d4954027
added auto_update flag
2022-06-23 15:05:05 +02:00
Shane McDonald
4d6a491766
Merge pull request #959 from mac-chaffee/no-latest
...
Use specific version of redis image
2022-06-23 08:16:21 -04:00
Shane McDonald
fa9eb53f92
Merge pull request #950 from basecom/feature/nginx-ipv6-support
...
Enable ipv6 listening in nginx config
2022-06-23 07:51:41 -04:00
Tu Doan
00c9f5fbd1
Fix ldap secret to secret file
2022-06-23 10:49:27 +07:00
Mac Chaffee
fe82e9259e
Use specific version of redis image
...
Signed-off-by: Mac Chaffee <machaffe@renci.org >
2022-06-22 16:14:39 -04:00
Tu Doan
635d530dc9
Fix ldap bind password secret usage
2022-06-20 17:03:38 +07:00
David Luong
e966e9299f
Resolves #918 to make no_log configurable ( #923 )
2022-06-16 01:03:13 -04:00
John Westcott IV
683d23dbea
Adding feature requests issue type ( #951 )
2022-06-15 17:30:00 -04:00
Roger Sikorski
8b3a297086
enable ipv6 on nginx
2022-06-15 17:37:02 +02:00
John Westcott IV
15830e3536
Merge pull request #947 from john-westcott-iv/github_folder_maintainance
...
.github folder maintainance
2022-06-13 12:20:00 -04:00
John Westcott IV
ef46d7f49c
Changes from PR review
2022-06-13 11:15:52 -04:00
John Westcott IV
a5328b1a09
.github folder maintainance
...
Changing bug_report from markdown to yaml
Adding config.yml for new issues
Adding Code of Conduct and support to the README (along with tags at the
top of the readme)
Adding SECURITY.md
Adding CODE_OF_CONDUCT.md
2022-06-13 08:22:40 -04:00
Christian Adams
0983220fba
Use awx web launch script to pick up the correct supervisor config ( #935 )
...
- reduce resource requests so that CI passes in resource constrained
environments
2022-06-01 19:11:25 -04:00
Dimitri Savineau
ba3b6f5436
installer: fix undefined limit key in config
...
When the task_resource_requirements variable has no "limits" key (which
is the default value) then the config template generation fails
----------------------------------
looking for "config.yaml.j2" at "/opt/ansible/roles/installer/templates/config.yaml.j2"
File lookup using /opt/ansible/roles/installer/templates/config.yaml.j2 as file
fatal: [localhost]: FAILED! => {
"msg": "The task includes an option with an undefined variable. The error was: the inline if-expression on line 36 evaluated to false and no else section was defined.
The error appears to be in /opt/ansible/roles/installer/tasks/resources_configuration.yml: line 30, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Apply Resources
^ here
----------------------------------
The current condition doesn't have a else statement so the template fails
when the "limits" key isn't present.
This rewrite the current if/else statement in jinja template.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com >
2022-05-24 09:29:36 -04:00
Paul Verhoeven
3ac0232e89
Updated the Readme ( #906 )
...
* defaults in Deploying a specific version of AWX added
* Update README.md
updated the README clarified the defaults of Deploying a specific version of AWX
2022-05-09 17:24:43 -04:00
Christian Adams
75c7231afd
Remove unneeded olm-parameter template file ( #901 )
2022-05-04 16:45:18 -04:00
Christian Adams
363aa3642b
added capability to set the redis container resources ( #899 )
...
* added capability to set the redis container resources
* Reduce resource requests so that it can be scheduled on GitHub workflows
Co-authored-by: Cedric Morin <cedric.morin_ext@michelin.com >
2022-05-03 08:53:45 -04:00
Shane McDonald
bf74d5cc34
Merge pull request #799 from mamercad/helm
...
Add Helm functionality
2022-05-02 14:38:24 -04:00
Shane McDonald
46586bd7b6
Rework helm release process
...
This was mostly me working around a limitation in chart-releaser where it does not allow for uploading a chart to an existing release.
2022-05-02 14:12:59 -04:00
Shane McDonald
191be7bf3c
Run test helm install in CI
2022-05-02 14:12:59 -04:00
Shane McDonald
b7e5f235ad
Fix yq target
...
Without this I was seeing:
$ make yq
tar: yq_linux_amd64: Not found in archive
tar: Exiting with failure status due to previous errors
make: *** [Makefile:240: yq] Error 2
2022-05-02 14:12:59 -04:00
Mark Mercado
6cbc6a7234
Set CHART_OWNER as ${{ github.repository_owner }}
2022-05-02 14:12:59 -04:00
Mark Mercado
beba6a900d
Update kustomize build args for v4+
2022-05-02 14:12:59 -04:00
Mark Mercado
7f72260445
Adding document-start markers
2022-05-02 14:12:59 -04:00
Mark Mercado
5b7baa106d
Adding CI for "make helm-chart"
2022-05-02 14:12:59 -04:00
Mark Mercado
9380686395
Handle amd64 versus x86_64
2022-05-02 14:12:59 -04:00
Mark Mercado
0de966153d
Fix kubectl-slice for amd64
2022-05-02 14:12:59 -04:00
Mark Mercado
efaa4718ec
Adding Helm functionality
2022-05-02 14:12:57 -04:00
Shane McDonald
e6a473b765
Merge pull request #887 from ansible/add-content-type-option-header-op
...
Add the X-Content-Type-Options nosniff header
2022-05-02 08:25:48 -04:00
Christian Adams
859384e9f6
Changed default pull secret to agreed upon name ( #896 )
2022-04-29 16:21:03 -04:00
Christian Adams
b66a16508f
Clarify docs on how to configure an External Database ( #895 )
2022-04-29 15:35:07 -04:00
Christian Adams
3da427f31d
Look for a specific pull secret when deployed in certain cloud environments ( #894 )
2022-04-27 15:44:10 -04:00
Shane McDonald
9f2b51a6a9
Fix mistake in debugging docs
2022-04-25 16:32:50 -04:00
Hung Tran
5b73ad172e
Load LDAP password from secret and update guideline ( #659 )
...
* Load LDAP password from secret and update guideline
* Add pod_labels for custom pod labels
Signed-off-by: Loc Mai <lmai@axon.com >
* Omit tls secret if using wildcard cert
* Resolve conflicts
* Remove the ingress changes
* Remove the config changes
* Load LDAP password from secret and update guideline
* Omit tls secret if using wildcard cert
* Resolve conflicts
* Remove the ingress changes
* Remove the config changes
Co-authored-by: hungts <hungts@axon.com >
Co-authored-by: Loc Mai <lmai@axon.com >
Co-authored-by: Max Bidlingmaier <Max-Florian.Bidlingmaier@sap.com >
Co-authored-by: Max Bidlingmaier <maks@konsolan.de >
2022-04-25 16:16:10 -04:00
Shane McDonald
2227301707
Merge pull request #888 from shanemcd/debugging-docs
...
Add docs/debugging.md
2022-04-25 16:11:21 -04:00
Shane McDonald
9f63fc0da5
Add docs/debugging.md
2022-04-25 16:02:30 -04:00
Seth Foster
322aea970d
Merge pull request #886 from fosterseth/make_csrf_settings_boolean
...
Render cookie settings as a boolean
2022-04-25 15:45:42 -04:00
Seth Foster
c4bef95662
Render cookie settings as a boolean
2022-04-25 15:31:09 -04:00
Jeff Bradberry
fa705f6466
Add the X-Content-Type-Options nosniff header
2022-04-25 14:00:07 -04:00
Seth Foster
7fd5083c16
Merge pull request #862 from fosterseth/add_priorityclass_option
...
Add priority class options to high priority pods
2022-04-21 15:40:55 -04:00
Christian M. Adams
daf15a93bf
Reduce the resources requests for CI runs
...
* GitHub Workflows run in a resource constrained environment, we were
asking too much of it, so pods never got scheduled.
2022-04-21 15:10:09 -04:00
Christian M. Adams
dfa0f6d45e
Add docs for priority classes & fix typo
2022-04-21 11:59:15 -04:00
Christian M. Adams
21062f0708
Add default resource requests for postgres containers
2022-04-18 12:30:02 -04:00
Seth Foster
5372771bac
Add priority class options to high priority pods
...
- Add postgres_priority_class
- Add control_plane_priority_class
- Add default requests for postgres pod to ensure at a "Burstable" QoS
2022-04-18 12:29:54 -04:00
Mac Chaffee
8df0969e6a
Fix namespace name in readme ( #868 )
...
Signed-off-by: Mac Chaffee <machaffe@renci.org >
2022-04-15 16:08:43 -04:00
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
379552218d
Add back image_pull_secret field for backwards compatibility ( #870 )
2022-04-14 13:25:54 -04:00
David Luong
1686875321
Customize CSRF options ( #825 )
2022-04-13 19:42:07 -04:00
Christian Adams
1b41d945e6
Check if image_pull_secrets variable is defined ( #865 )
...
* Do not attempt to backup secret if none are defined
2022-04-11 11:10:09 -04:00
Dragutan Alexandr
5e81729bc9
Update README.md ( #858 )
...
cut off svg-content, link preserverd.
2022-04-06 21:39:49 -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
Christian Adams
5f76d4917e
Enable setting a list of image_pull_secrets ( #860 )
...
When there are e.g. multiple authenticated container registries used
we need to be able to add multiple imagePullSecrets to the k8s resource
Co-authored-by: Maximilian Meister <maximilian.meister@pm.me >
2022-04-05 11:51:21 -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
Shane McDonald
ee84625107
Merge pull request #843 from mac-chaffee/kustomize-umbrella
...
Add docs for proper kustomization installs
2022-03-28 16:56:01 -04:00
Mac Chaffee
add76c159b
Mention how to install Kustomize.
...
It's recommended to install the standalone version of kustomize rather
than using the version that ships with kubectl because that version is
typically very old and doesn't match the docs.
2022-03-26 11:53:17 -04:00
Mac Chaffee
375031e1f8
Remove explicit tags to avoid need to bump versions
...
Signed-off-by: Mac Chaffee <machaffe@renci.org >
2022-03-24 19:18:46 -04:00
Christian Adams
ca6ab0a380
Merge pull request #844 from rooftopcellist/update-changelog
...
Add Changelog entries for 0.19.0 release
2022-03-23 18:20:00 -04:00
Christian M. Adams
236bce6970
Add Changelog entries for 0.19.0 release
2022-03-23 18:10:23 -04:00
Mac Chaffee
0a9e9722c5
Add docs for proper kustomization installs
2022-03-23 15:42:24 -04:00
Shane McDonald
58ac0cc369
Merge pull request #835 from shanemcd/stream8
...
Use stream8 for init container
2022-03-22 09:11:19 -04:00
Christian Adams
c3ac2e2cde
Merge pull request #838 from kurokobo/quote
...
fix: add quotes for PGPASSWORD for the backup and restore roles
2022-03-21 10:50:51 -04:00
kurokobo
589a3751e1
fix: add quotes for PGPASSWORD for the backup and restore roles
2022-03-20 16:13:12 +09:00
Shane McDonald
12a58d71fb
Use stream8 for init container
2022-03-18 13:56:15 -04:00
Shane McDonald
6b873b05ab
Merge pull request #822 from kurokobo/operator_version
...
fix: add OPERATOR_VERSION as build-arg to pass the version to operator
2022-03-18 11:06:08 -04:00
Christian Adams
5e97ff7c08
Merge pull request #827 from rooftopcellist/rm-inject-params
...
Add AWX Logo to OLM deployments
2022-03-16 14:15:49 -04:00
Christian M. Adams
86c31a4317
Add AWX Logo to OLM deployments
...
* Remove unnecessary script for injecting olm params, use bases template instead
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2022-03-16 12:01:28 -04:00
Seth Foster
487727b454
Merge pull request #815 from kurokobo/nodeport
...
fix: fix corrupted spec for the service with nodeport type (#814 )
2022-03-15 14:39:13 -04:00
kurokobo
2f47b907fd
fix: add OPERATOR_VERSION as build-arg to pass the version to operator
2022-03-09 22:32:39 +09:00
kurokobo
dbaf64efa0
fix: fix corrupted spec for the service with nodeport type ( #814 )
2022-03-09 21:00:24 +09:00
Shane McDonald
5375fec77d
Merge pull request #811 from shanemcd/format-readme-tables
...
Reformat markdown tables in README.md
2022-03-05 12:12:25 -05:00
Shane McDonald
9980192d9e
Reformat markdown tables in README.md
2022-03-05 12:02:18 -05:00
Shane McDonald
e2fc5f46c0
Merge pull request #803 from rooftopcellist/sts-db-check
...
Run database-check initContainer on postgres sts instead
2022-03-05 11:59:00 -05:00
Shane McDonald
5b3be06e8d
Allow for customizing postgres init container resources
2022-03-05 11:48:13 -05:00
Shane McDonald
3c2405f304
Merge pull request #807 from MrBones757/devel
...
added support for pod annotations to awx deployment
2022-03-05 10:18:50 -05: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
MrBones757
9ca14cef93
added support for pod annotations to awx deployment
2022-02-25 09:54:55 +08:00
Shane McDonald
fbc2d3475c
Merge pull request #800 from ggiinnoo/readme-dummy-proof
...
Added namespace warning | added apply command for missing namespace
2022-02-23 09:30:19 -05:00
Shane McDonald
58f30fb96c
Merge pull request #789 from ubajze/fix-nodeport-port
...
Fix the custom port specification when service type is NodePort
2022-02-23 09:28:42 -05:00
Gino Jansen
c81b78aad6
Added namespace warning | added apply command for missing namespace
2022-02-18 14:31:29 +01:00
Shane McDonald
c02e05925e
Merge pull request #797 from kdelee/sky-is-the-limit
...
only set mem/cpu setting if limit is set
2022-02-15 15:41:52 -05:00
Elijah DeLee
479c009716
only set mem/cpu setting if limit is set
...
Otherwise, we get the too-low setting of the request, which
will be a rough experience for folks who have been using the operator
and are used to the experience of having entire underlying node capacity
Users can still set the setting via extra_settings to get the experience
of having each pod with a individualized capacity, or set a limit.
2022-02-15 15:35:36 -05:00
Shane McDonald
7807bc516e
Merge pull request #791 from kdelee/set_controlpod_mem_cpu
...
set memory setting based on resource settings
2022-02-15 14:12:41 -05:00
Elijah DeLee
3afcd7fd89
set memory and cpu setting based on resource settings
...
This way we can start using this setting in AWX again to help fix
https://github.com/ansible/awx/issues/11640
2022-02-15 14:09:21 -05:00
Shane McDonald
7002131dda
Merge pull request #793 from kurokobo/readme
...
Update TOC in README.md
2022-02-12 13:04:17 -05:00
kurokobo
877943cc27
fix: update TOC in README.md
2022-02-12 16:49:17 +09:00
Shane McDonald
b59a0c5b80
Merge pull request #766 from nodje/Makefile-aarch64-patch
...
Take into account `aarch64` architecture return from uname
2022-02-11 17:36:10 -05:00
Shane McDonald
26b1eb6c87
Merge pull request #776 from arrase/feature/service_annotations
...
Allow service annotations not only for LoadBalancer type
2022-02-11 17:30:56 -05:00
Matthias R. Wiora
39437da72b
feat(readme): add k8s cluster setup instructions ( #592 )
...
Add instructions for using with existing kubernetes cluster
2022-02-11 17:25:37 -05:00
Shane McDonald
e1645a2f8d
Merge pull request #593 from kurokobo/upgrading
...
Add steps to upgrade to 0.14.0
2022-02-11 17:24:10 -05:00
Shane McDonald
224dde769a
Merge pull request #536 from siju-vasudevan/patch-1
...
LDAPSearch Module is missing
2022-02-11 17:20:56 -05:00
Uros Bajzelj
536d7dc842
Fix the NodePort port specification
2022-02-11 10:57:43 +00:00
Shane McDonald
eac2328bd3
Merge pull request #721 from longns1/update-makefile-undeploy
...
update Makefile undeploy
2022-02-10 10:19:10 -05:00
Shane McDonald
3be986c96c
Merge pull request #783 from AlanCoding/loop_control
...
Add some loop control for ansible warnings
2022-02-10 10:18:26 -05:00
Shane McDonald
768bc2f857
Merge pull request #652 from shanemcd/url-prefix-support
...
Support running AWX at non-root path
2022-02-09 10:37:07 -05:00
Alan Rominger
f05faaaaa0
Add some loop control for ansible warnings
2022-02-04 16:12:28 -05:00
Shane McDonald
957566993b
Merge pull request #782 from AlanCoding/not_that_one
...
Avoid broken openshift package
2022-02-04 15:36:33 -05:00
Alan Rominger
c95f3299b0
Avoid broken openshift package
2022-02-04 15:24:49 -05:00
Christian Adams
1a0e3cf410
Merge pull request #772 from rooftopcellist/always-run-pg-initContainer
...
Always run database-check initContainer
2022-02-02 16:16:34 -05:00
Christian Adams
9368b43614
Merge pull request #775 from rooftopcellist/pg-args-advanced
...
Add OLM params for postgres_extra_vars
2022-02-01 17:02:42 -05:00
Juan Ezquerro LLanes
108addc06e
Allow service annotations not only for LoadBalancer
2022-02-01 20:49:37 +01:00
Shane McDonald
3a3260ffb7
Merge pull request #770 from john-westcott-iv/github_meta_changes
...
Adding triage label to any new issue
2022-02-01 13:15:18 -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
Christian M. Adams
4d8f84eb74
Add OLM params for postgres_extra_vars
...
* follow-up for https://github.com/ansible/awx-operator/pull/753
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2022-02-01 08:17:11 -05:00
John Westcott IV
1320c9d175
Fixing linting issues
2022-01-31 12:19:31 -05:00
Christian M. Adams
fab71e054e
Always run database-check initContainer
2022-01-31 09:40:19 -05:00
John Westcott IV
3eede3c922
Adding triage label to any new issue
2022-01-30 13:59:22 -05:00
Christian Adams
d27ce3c34d
Merge pull request #755 from rooftopcellist/mv-data-subPath
...
Use an Init Container to move the pg data subPath in the pvc
2022-01-27 19:55:48 -05:00
Shane McDonald
18d17f2485
Merge pull request #763 from sooslaca/devel
...
Fix issue #762
2022-01-27 08:16:33 -05:00
nodje
47d3ef57f2
Take into account aarch64 architecture return from uname
2022-01-26 09:32:16 +01:00
sooslaca
8f8336b25a
Fix issue #762
...
Fix https://github.com/ansible/awx-operator/issues/762
2022-01-23 16:17:24 +01:00
Shane McDonald
4aeeb8db82
Merge pull request #698 from mhrivnak/remove-warning
...
removes obsolete and confusing warning about project status
2022-01-19 18:21:30 -05:00
Christian M. Adams
5b636bb8ea
Use an Init Container to move the pg data subPath in the pvc
2022-01-13 23:17:33 -05:00
Christian Adams
83939ec007
Merge pull request #726 from Skaopap/feature_topology_constraints
...
Add topology constraints to AWX CRD
2022-01-13 21:16:23 -05:00
bthominet
608478e249
add topolgy_spread_constraints
2022-01-13 09:50:12 +01:00
Christian Adams
cb9e44fd4f
Merge pull request #753 from rooftopcellist/pg-extra-config
...
Add ability to configure extra args for postgres
2022-01-11 14:38:55 -05:00
Christian M. Adams
cbd7da9dcf
Add default for postgres_extra_args variable
2022-01-11 14:18:34 -05:00
chris93111
0f07a475b5
Add ability to configure extra args for postgres
...
* add default extra args postgres
* add postgres_extra_args option to readme
2022-01-11 12:44:18 -05:00
Christian Adams
a2222a9176
Merge pull request #717 from rooftopcellist/scale-down-app
...
Scale down app pod when database is unavailable
2022-01-07 14:33:58 -05:00
longns1
79152d2417
update to make undeploy in Makefile works correctly when namespace is not awx
2022-01-07 15:57:27 +07:00
Christian M. Adams
fdbe607189
Scale down app pod when database is unavailable
2022-01-04 17:07:39 -05:00
Christian Adams
4a43de5101
Merge pull request #702 from rooftopcellist/truncate-version-label
...
Truncate image version label so that it avoids the 63 char k8s limit
2021-12-20 21:41:40 -05:00
Christian M. Adams
345738cba3
Truncate image version label so that it avoids the 63 char k8s limit
...
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-12-16 15:18:22 -05:00
Michael Hrivnak
f4995afb39
removes obsolete and confusing warning about project status
...
This warning originated [two years
ago](6e6cd37ce6 (diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R18) ).
The API is now at `v1beta1`, so it's probably not accurate to call it
"alpha" anymore.
Since AWX and awx-operator are both OSS upstream projects, there is
implicitly no vendor support from Red Hat. The warning about support can
lead to confusion, and potentially imply that some other part of AWX is
supported, as demonstrated in a recent [twitter
thread](https://twitter.com/vwbusguy/status/1470902780311212035 ). When
this warning was written, the operator was self-described as an
"installation method for Ansible Tower or AWX". Since then, it appears
that the operator is focused only on upstream AWX, so that presumably
removes any need to clarify vendor support status.
2021-12-15 17:34:03 -05:00
Christian Adams
35062157e0
Merge pull request #690 from rooftopcellist/wait-for-postgres-2
...
Do not try to wait for Postgres on external db deployments
2021-12-10 15:03:50 -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 Adams
4c51ee28f5
Merge pull request #688 from rooftopcellist/wait-for-postgres
...
Wait for Postgres to initialize before starting containers
2021-12-08 14:56:48 -05:00
Christian M. Adams
fbd5803f10
Wait for Postgres to initialize before starting containers
2021-12-07 17:42:55 -05:00
Christian Adams
8972cae1cc
Merge pull request #686 from rooftopcellist/fix-deploy-target-dev
...
Fix deploy target for the devel branch
2021-12-07 14:36:52 -05:00
Christian M. Adams
1d8b3d9b4c
Fix deploy target for the devel branch
...
* piping a make target within another target causes issues
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-12-07 10:57:33 -05:00
Paul Belanger
57aa585a2e
Merge pull request #663 from pabelanger/temp/catalog
2021-11-19 15:03:18 -05:00
Paul Belanger
752813c23e
Add CONTAINER_CMD to Makefile
...
This allows people to use podman if they want.
Signed-off-by: Paul Belanger <pabelanger@redhat.com >
2021-11-19 14:32:21 -05:00
Christian Adams
48ee59e80f
Merge pull request #662 from rooftopcellist/restore-vars
...
Add in ansible debug logs env var
2021-11-19 13:25:45 -05:00
Christian M. Adams
78fc099c75
Add in ansible debug logs env var
...
* This will be added to the CSV automatically when make bundle is run
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-11-19 10:03:04 -05:00
Shane McDonald
5b577603c8
Merge pull request #627 from steinbrueckri/add-make-task
...
Add make task to create resources without applying to the cluster
2021-11-19 21:08:27 +08:00
Shane McDonald
e5cfac2ba0
Merge pull request #660 from shanemcd/stage-operator
...
Allow for independently staging awx-operator
2021-11-19 16:29:31 +08:00
Shane McDonald
5ca536313a
Add test for DEFAULT_AWX_VERSION
2021-11-19 08:17:16 +00:00
Shane McDonald
eaaf55e7f0
Drive-by lint fix, actually enforce line length
2021-11-19 08:16:34 +00:00
Shane McDonald
5d934ff2b5
Allow for independently staging awx-operator
2021-11-19 06:34:16 +00:00
Shane McDonald
84ab70f779
Fix secret name
2021-11-19 13:22:36 +08:00
Shane McDonald
d74b5baf45
Delete RELATED_ variables from upstream deployment
...
I ran into a bug with this when releasing the latest version of AWX. RELATED_IMAGE_AWX always clobbers the version and does not respect `DEFAULT_AWX_VERSION`
2021-11-19 13:16:24 +08:00
Shane McDonald
246bd829ec
Merge pull request #658 from shanemcd/promote-releases
...
Move to promotion-based release process
2021-11-19 12:22:17 +08:00
Shane McDonald
c28e4729e6
Move to promotion-based release process
2021-11-19 02:29:16 +00:00
Christian Adams
da63fe4653
Merge pull request #656 from rooftopcellist/align-descriptions-2
...
Add back CSV descriptions that got lost
2021-11-18 09:43:19 -05:00
Christian M. Adams
7e2d726b26
Add more descriptions that got lost
2021-11-17 14:46:23 -05:00
Christian Adams
fd38c33f14
Merge pull request #654 from rooftopcellist/security-context-olm-params
...
Add security_context_settings param to olm-params
2021-11-17 14:35:07 -05:00
Christian M. Adams
a16e05d2f6
Add security_context_settings param to olm-params
...
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-11-17 09:47:43 -05:00
Shane McDonald
1ad5c9e981
Merge pull request #653 from rooftopcellist/align-descriptions
...
Minor description update
2021-11-17 21:40:39 +08:00
Christian M. Adams
79ee798df7
Align upstream and downstream descriptions
2021-11-16 15:22:27 -05:00
Shane McDonald
c843194cbd
Support running AWX at non-root path
2021-11-14 04:26:24 +00:00
Shane McDonald
d1d6785b7d
Merge pull request #645 from shanemcd/pod-security-context
...
Add support for arbitrary pod-level securityContext settings
2021-11-11 06:16:56 +08:00
Shane McDonald
138964f7ab
Add support for arbitrary pod-level securityContext settings
...
This allows for doing stuff like this on the custom resource:
```
security_context_settings:
runAsUser: 1000
runAsGroup: 0
```
I added `snakeCaseParameters: False` because without it, variables like `runAsUser` become `run_as_user`... and that doesnt work.
2021-11-10 21:36:42 +08:00
Yanis Guenane
b2479c8014
Merge pull request #632 from Spredzy/fix_control_image
...
control_plane_ee: Honor proper ordering
2021-11-02 11:02:51 +01:00
Yanis Guenane
277b772c46
control_plane_ee: Honor proper ordering
2021-11-02 10:45:11 +01:00
Yanis Guenane
7d20335cff
Merge pull request #630 from Spredzy/fix_handshake
...
Set default images, but use them as a last resort
2021-11-02 10:13:16 +01:00
Yanis Guenane
fc713e7b73
Properly apply default when env lookup returns empty
2021-11-02 09:57:04 +01:00
Yanis Guenane
26856d528d
Merge pull request #629 from Spredzy/hidemoreunhidden
...
OLM: Mark as advanced more fields
2021-11-01 15:02:18 +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
Yanis Guenane
fd03731a72
OLM: Mark as advanced more fields
2021-11-01 14:12:14 +01:00
kurokobo
b0824acc48
Add steps to upgrade to 0.14.0
2021-10-29 22:01:10 -04:00
Richard Steinbrück
782f97c42c
Add make task to create resources without applying to the cluster
2021-10-29 11:24:14 +02:00
Shane McDonald
09088b5b18
Merge pull request #620 from rooftopcellist/rename-image-vars
...
Rename related image vars to be distinct across operators
2021-10-27 12:59:02 -04:00
Christian M. Adams
29879f7064
Rename related image vars to be distinct across operators
2021-10-27 11:26:51 -04:00
Christian Adams
b866d682ef
Merge pull request #616 from rooftopcellist/disconnected
...
Use relatedImages to make disconnected deployments possible
2021-10-26 08:37:20 -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
Yanis Guenane
071b67a814
Merge pull request #617 from rooftopcellist/unique-operator-image
...
Rename operator image name to make it unique from resource & pulp
2021-10-25 21:15:12 +02:00
Christian M. Adams
894b0ffa5f
Rename operator image name to make it unique from resource & pulp operators
2021-10-25 14:02:59 -04:00
Shane McDonald
670b1f7d40
Merge pull request #612 from shanemcd/allow-awx-version-override
...
Allow for overriding default AWX version as env var
2021-10-20 17:13:25 -04:00
Shane McDonald
7b59c36263
Allow for overriding default AWX version as env var
2021-10-20 17:01:23 -04:00
Shane McDonald
c8d4ae16bb
Merge pull request #613 from shanemcd/obtain-version-from-git
...
Obtain version from git
2021-10-18 17:56:01 -04:00
Shane McDonald
2e74c63c9e
Obtain version from git tags
...
If you `git checkout <some-released-tag>` this should just work. If you run this from the HEAD of devel, you will need to run `make docker-build docker-push` and override the appropriate image versions.
2021-10-18 17:37:26 -04:00
Shane McDonald
706dc80f17
Revert "Lookup version from git when building bundle / catalog"
...
This reverts commit 7fd4d46f6e .
2021-10-18 17:37:26 -04:00
Shane McDonald
3d6094a5b0
Merge pull request #606 from rooftopcellist/generate-csv
...
Inject OLM parameters when generating bundle
2021-10-15 14:04:40 -04:00
Christian M. Adams
37470a0943
Inject OLM parameters when generating bundle
...
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-10-14 01:18:27 -04:00
Shane McDonald
b65ba92b08
Merge pull request #605 from shanemcd/get-scm-version-for-bundle
...
Get version from tags when building bundle / catalog
2021-10-13 15:10:25 -04:00
Shane McDonald
7fd4d46f6e
Lookup version from git when building bundle / catalog
...
VERSION = "latest" breaks `make bundle` and `make catalog`.
2021-10-13 14:59:32 -04:00
Shane McDonald
eaff6898a4
Ignore files generated by bundle / catalog Make targets
2021-10-13 14:54:55 -04:00
Shane McDonald
38c64a504d
Merge pull request #559 from oliverf1/redis_capabilities
...
Add an option to specify container capabilities for the redis container
2021-10-13 14:24:23 -04:00
Shane McDonald
563bdd6360
Merge pull request #602 from shanemcd/kind-load-docker-image
...
Copy awx image into kind cluster in molecule tests
2021-10-11 18:25:02 -04:00
Shane McDonald
9eb0e35861
Copy awx image into kind cluster in molecule tests
...
This only happens when overriding the AWX image used in tests.
2021-10-11 18:14:57 -04:00
Shane McDonald
21fe2646b4
Merge pull request #598 from shanemcd/show-me-the-errors
...
Surface any errors that happen while launching demo jt in tests
2021-10-08 14:58:39 -04:00
Shane McDonald
ebbb87f9a6
Surface any errors that happen while launching demo jt in tests
2021-10-08 14:45:57 -04:00
Shane McDonald
ee2980b8bb
Merge pull request #589 from shanemcd/override-awx-image-in-tests
...
Allow for overridding awx image in tests
2021-10-06 20:08:12 -04:00
Shane McDonald
2426956a0a
Allow for overridding awx image in tests
2021-10-06 19:57:36 -04:00
Shane McDonald
391e0bb1b8
Merge pull request #587 from shanemcd/no-hardcoded-versions
...
Introduce latest tag
2021-10-05 21:31:08 -04:00
Shane McDonald
5e7fe9b05f
Tag releases as "latest"
2021-10-05 21:20:10 -04:00
Shane McDonald
685c5efc94
Switch to latest tag
2021-10-05 21:20:02 -04:00
Shane McDonald
e3d5827951
Merge pull request #586 from shanemcd/no-hardcoded-versions
...
Remove hardcoded versions from repo
2021-10-05 21:11:32 -04:00
Shane McDonald
ebb4e76e1c
Merge pull request #585 from shanemcd/fix-devel-workflow
...
Fix devel workflow
2021-10-05 20:58:59 -04:00
Shane McDonald
f62b66d4ae
Remove hardcoded versions from repo
2021-10-05 20:56:29 -04:00
Shane McDonald
1f73e2ca32
Fix devel workflow
2021-10-05 20:51:56 -04:00
Shane McDonald
48f990f4a1
Merge pull request #579 from sdigit/devel
...
Add Ingress path type option
2021-10-04 17:58:14 -04:00
Sean Davis
b1dcf16fc8
Add Ingress path type option ( #1 )
...
* make ingress_path_type an option
* add to spec
2021-10-04 10:31:56 -05:00
Shane McDonald
9e9457cf99
Fix release workflow
2021-10-03 10:19:07 -04:00
Shane McDonald
b59205ce69
Fix release workflow
2021-10-03 10:12:23 -04:00
Olivier
f0c5d1b4e3
Add an option to specify container capabilities for the redis container
...
With some kubernetes clusters and settings, you might need to specify
some capabilities so the container can start. For example, the CHOWN,
SETUID and SETGID capabilties.
Setting the redis_capabilities option will add the capabilities in
the deployment.
2021-10-02 18:43:37 -04:00
Shane McDonald
d6eafcd85b
Merge pull request #577 from shanemcd/awx-19.4.0
...
Bump AWX version
2021-10-02 16:16:07 -04:00
Shane McDonald
eb0d3cdebf
Merge pull request #576 from jamesmarshall24/pr-issue-565
...
Note for wrapping pg password in quotes
2021-10-02 15:32:46 -04:00
Shane McDonald
ad2b49ab29
Update release workflow
...
To work with newer versions of operator-sdk
2021-10-02 15:27:41 -04:00
Shane McDonald
1095bc0518
Use AWX 19.4.0
2021-10-02 15:23:55 -04:00
jamesmarshall24
133dfc5138
Note for wrapping pg password in quotes
...
- Add a note suggesting the password for postgres stringData be wrapped in quotes especially for passwords with special characters.
2021-10-01 16:00:07 -07:00
Shane McDonald
7e4923864f
Merge pull request #567 from craph/devel
...
Fix: Enhance migration documentation
2021-10-01 14:00:30 -04:00
Shane McDonald
ebe5d1e2f4
Merge pull request #569 from shanemcd/sdk-1.x
...
Migrate project to operator-sdk 1.x
2021-10-01 10:44:38 -04:00
Shane McDonald
8b64670146
Work around bug in k8s module with the "template" attribute
2021-09-29 20:24:00 -04:00
Shane McDonald
86e0cf884f
Add smoke test that verifies that basic jobs work
2021-09-29 18:39:27 -04:00
Shane McDonald
eaa4d33aea
Move test requirements out of github action workflow
2021-09-29 18:39:27 -04:00
Shane McDonald
ccff76dec5
Do not set default hostname for ingress
2021-09-29 18:39:27 -04:00
Shane McDonald
91d17eabef
Delete scripts/ directory
2021-09-29 18:39:27 -04:00
Shane McDonald
ca72423ca4
Update release process docs
2021-09-29 18:39:27 -04:00
Shane McDonald
12361d6ff1
Delete files no longer necessary
2021-09-29 18:39:26 -04:00
Shane McDonald
e9ade56842
Add note about upgrading to 0.14.0
2021-09-29 18:39:26 -04:00
Shane McDonald
cf22f9ba52
Fix link to upgrade docs
2021-09-29 18:39:26 -04:00
Shane McDonald
d4c8fd67f3
Update readme
2021-09-29 18:39:26 -04:00
Shane McDonald
d9fbda5e15
Add ability to override namespace when running make deploy
2021-09-29 18:39:26 -04:00
Shane McDonald
aa969e2a93
yamllint: ignore files managed by kustomize
2021-09-29 18:39:26 -04:00
Shane McDonald
d27bb69b96
Lower resource requirements to get CI passing
2021-09-29 18:39:25 -04:00
Shane McDonald
85f3c23788
Whitespace fixes
2021-09-29 18:39:25 -04:00
Shane McDonald
965647f933
Update tests to use kubernetes.core
2021-09-29 18:39:25 -04:00
Shane McDonald
88dd0e648e
Force install of correct kustomize version in GHA
2021-09-29 18:39:25 -04:00
Shane McDonald
59efcb7be8
Install community.docker in tests
2021-09-29 18:39:25 -04:00
Shane McDonald
48ab801c8c
Adopt the new molecule/ directory structure from the operator-sdk 1.x scaffolding
2021-09-29 18:39:25 -04:00
Shane McDonald
65b89ea7bd
Fix ansible-lint
2021-09-29 18:39:24 -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
Shane McDonald
316d08ccb4
Begin to migrate towards operator-sdk 1.x project structure
2021-09-29 18:39:22 -04:00
Raphaël COMBEAU
26fb620a40
Fix: Enhance migration documentation refs: https://github.com/ansible/awx-operator/issues/557
2021-09-28 16:29:42 +02:00
Yanis Guenane
302957e509
Merge pull request #541 from rooftopcellist/restrict-sa
...
Move to namespace-scoped operator for better security & isolation
2021-09-21 09:30:47 +02:00
Christian M. Adams
8bd6cffd7b
Add namespace-scoped upgrade docs & changelog entry
2021-09-20 17:21:42 -04:00
Christian M. Adams
58c3ebf4b0
Move to a per-namespace deployment approach
...
* This increases security, the awx-operator SA has less cluster-wide
access
* This means one operator can only deploy to a single namespace
* If AWX deployments are needed in multiple namespaces, multiple
awx-operators can be deployed to accomplish this.
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-09-20 09:15:10 -04:00
Christian M. Adams
fcbf8b5715
Reduce awx-operator service account permissions
2021-09-20 09:15:09 -04:00
Yanis Guenane
1165492185
Merge pull request #552 from fao89/color
...
Pinning molecule
2021-09-20 10:04:27 +02:00
Fabricio Aguiar
47c32d3e18
Pinning molecule
...
- temporarily pin molecule
- add color to molecule run
2021-09-17 17:20:02 -03:00
siju-vasudevan
38ec4a3b00
LDAPSearch Module is missing
...
Since LDAPSearch Module is missing LDAP authentication is not working if you configure the LDAP configuration via extra_settings.
2021-09-09 10:04:30 +05:30
Christian Adams
c235c6d7e8
Merge pull request #523 from eoq/eoq-patch-1
...
Add Uninstall section
2021-09-08 22:36:37 -04:00
eoq
054d5eb93f
Update README.md
...
added some quotes
2021-09-08 22:14:08 -04:00
eoq
b684a5de35
Update README.md
...
one more tweak to uinstall comments
2021-09-08 16:03:18 -04:00
eoq
e6d7f88a33
Update README.md
...
modified uninstall section based on PR review feedback
2021-09-08 16:01:48 -04:00
Christian Adams
c24f191ec6
Merge pull request #534 from rooftopcellist/mount-receptor-config-followup
...
Make receptor.conf path consistent between containers
2021-09-08 09:46:54 -04:00
Christian M. Adams
fc9cd6bdb1
Make receptor.conf path consistent between containers
2021-09-08 09:11:37 -04:00
Christian Adams
e3b746f1c5
Merge pull request #529 from rooftopcellist/mount-receptor-config
...
Mount receptor config in awx-task container
2021-09-08 08:57:43 -04:00
Christian M. Adams
eb4b5b9b90
Mount receptor config in awx-task container
2021-09-07 18:49:26 -04:00
Christian Adams
f3cdf57f0d
Merge pull request #501 from BongoEADGC6/devel
...
Added nodeport port properties
2021-09-07 09:09:10 -04:00
eoq
cd9bbc3a0e
Add Uninstall section
...
Just a quick instruction on how to remove an AWX deployment from a new user who struggled with it for a bit.
2021-09-05 07:38:16 -04:00
Marcelo Moreira de Mello
4519dbdff7
Merge pull request #512 from thorian93/patch-1
...
Add clarification for inexperienced users
2021-09-02 12:32:18 -04:00
Christian Adams
549b8ca4c2
Merge pull request #508 from rooftopcellist/selective-v1-shift
...
Use v1 extensions because v1beta1 is being removed
2021-08-27 16:56:57 -04:00
Christian M. Adams
1df3df11ce
Use v1 extensions because v1beta1 is being removed
...
Signed-off-by: Christian M. Adams <chadams@redhat.com >
2021-08-27 13:28:07 -04:00
Thorian93
12e38b7f69
Add clarification for inexperienced users
...
We hit that issue ourselves and it took us weeks until someone pointed out our error.
As it feels like this could hit other users inexperienced with kubernetes too, I propose this note.
2021-08-27 09:40:11 +02:00
Cliff Hults
fa410ae882
Fixing nodeport_port table default
2021-08-16 13:46:04 -04:00
Cliff Hults
9b072aa549
Added nodeport properties
2021-08-14 19:50:29 -04:00
Shane McDonald
0da8f41a86
Merge pull request #500 from shanemcd/0.13.0
...
Bump versions / OLM metadata
2021-08-12 23:22:31 -04:00
Shane McDonald
8ac0de159a
Bump versions / OLM metadata
2021-08-12 23:12:22 -04:00
Shane McDonald
dcc32aa052
Merge pull request #499 from rooftopcellist/revert-fs-perm
...
Revert initContainer change to address FS permissions issues
2021-08-12 17:51:17 -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
Christian M. Adams
ebaa407444
Revert "Added fsGroup"
...
This reverts commit 649f0cc3fb .
2021-08-12 15:50:42 -04:00
Christian Adams
47cec1f28d
Merge pull request #485 from tchellomello/fsGroup-pgsql
...
pgsql uses initContainer to address FS permissions
2021-08-12 15:36:46 -04:00
Christian Adams
e636363e9e
Merge pull request #495 from ansible/awx-ee-latest
...
use awx-ee:latest
2021-08-11 16:26:59 -04:00
Elijah DeLee
91d299926a
update name of ee as well as the image
2021-08-11 14:54:24 -04:00
Elijah DeLee
01fe816fe8
use awx-ee:latest
...
We are updating the requirements in awx to get the latest receptor and runner in the task container,
we should also have the latest in the EE
see https://github.com/ansible/awx/pull/10861 and https://github.com/ansible/awx/pull/10858
2021-08-11 11:41:12 -04:00
Marcelo Moreira de Mello
649f0cc3fb
Added fsGroup
2021-07-31 00:56:20 -04:00
Marcelo Moreira de Mello
99d77dff99
pgsql uses initContainer to address FS permissions
2021-07-31 00:50:30 -04:00
Christian Adams
f0b439c125
Merge pull request #464 from js-rwwa/devel
...
Define ingress path as variable for deployments
2021-07-26 09:54:13 -04:00
Marcelo Moreira de Mello
4651216cc0
Merge pull request #413 from tchellomello/fsGroup
...
Use fsGroup and handles NFS shares
2021-07-21 12:06:29 -04:00
Marcelo Moreira de Mello
24916c6fa1
Using fsGroup and extends propers via InitContainer (NFS)
2021-07-21 10:36:55 -04:00
tabjer
e36b1a3b2c
Reset for some changes, updated crd and regenerated files
2021-07-15 08:44:30 +08:00
tabjer
cc6cb4b990
Updated awx-operator, crds for ingress_path
2021-07-12 12:23:11 +08:00
tabjer
0cd6d722af
Updated ingress documentation
2021-07-12 09:20:52 +08:00
tabjer
3a330e4943
Added default ingress_path, made it an overridable var
2021-07-12 09:09:01 +08:00
Marcelo Moreira de Mello
6e59e24c40
Merge pull request #463 from bluikko/patch-1
...
Typo in README.md
2021-07-10 01:23:30 -04:00
bluikko
5c8897554a
Typo in README.md
...
"from-file" mistyped as "from-fle"
2021-07-10 11:46:53 +07:00
Christian Adams
a8881c4de3
Merge pull request #460 from rooftopcellist/no_log_creds
...
Set no_log on all tasks that could leak secrets in logs
2021-07-08 09:11:25 -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
Shane McDonald
3fd13f58f1
Merge pull request #456 from nntrn/patch-1
...
Update README.md
2021-07-06 12:54:13 -04:00
Shane McDonald
c43da3c1d1
Merge pull request #453 from EagleIJoe/fix_route_status
...
added openshift api version
2021-07-06 12:50:51 -04:00
annie tran
f8d5595032
Update README.md
...
Add demonstration for running kubectl inside minikube and add step to create alias
2021-07-06 10:30:48 -05:00
Martin Adler
c9ec522956
added openshift api version
2021-07-05 11:12:34 +02:00
Yanis Guenane
adbdf82aa3
Merge pull request #450 from Zokormazo/secrets
...
Backup and restore secret type
2021-07-02 14:05:17 +02:00
Yanis Guenane
3f75d9a782
Merge pull request #448 from Zokormazo/disown-restored-secrets
...
Remove ownerReference on restored secrets
2021-07-02 14:02:55 +02:00
Julen Landa Alustiza
663c009cf4
Backup and restore secret type
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-07-02 13:07:44 +02:00
Julen Landa Alustiza
c1b29505d9
Remove ownerReference on restored secrets
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-07-02 11:44:12 +02:00
Christian Adams
328c92ffe6
Merge pull request #446 from rooftopcellist/missing-secrets
...
Do not check for default ee-pull-cred secret
2021-07-01 15:17:12 -04: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
Yanis Guenane
e86799e05f
Merge pull request #447 from rooftopcellist/namespace-not-required
...
Namespace not required
2021-07-01 21:01:58 +02:00
Christian M. Adams
1c74472b49
Namespace option always available in catalog for restores
2021-07-01 12:45:22 -04:00
Christian M. Adams
b79ab92714
Use restore namespace as default if none provided
2021-07-01 11:26:53 -04:00
Yanis Guenane
c0ff27a8e6
Merge pull request #444 from Spredzy/hide_postgres
...
Backup and Restore: Hide postgres_image overide
2021-07-01 15:16:46 +02:00
Yanis Guenane
a214264083
Backup and Restore: Hide postgres_image overide
2021-07-01 14:17:07 +02:00
Shane McDonald
869e7e3ef0
Merge pull request #442 from shiinro/devel
...
add image_pull_secret to postgres install
2021-06-30 15:33:27 -04:00
h-dev.inns-tools.ext
1ddbef6105
add image_pull_secret to postgres install
2021-06-30 20:43:33 +02:00
Shane McDonald
80001a192a
Merge pull request #441 from rooftopcellist/add-gen-secrets
...
Fix var so that generated secret names are added to spec backup
2021-06-30 12:52:22 -04:00
Christian M. Adams
8b2bfa7380
Fix var so that generated secret names are added to spec backup
2021-06-30 10:57:42 -04:00
Yanis Guenane
8f43d8fe51
Merge pull request #438 from Spredzy/fix_incorrect_type
...
olm-catalog: Update incorrect type for image_pull_secret
2021-06-29 13:53:50 +02:00
Yanis Guenane
920db19f52
olm-catalog: Update incorrect type for impage_pull_secret
2021-06-29 11:49:52 +02:00
Yanis Guenane
60e9d254d5
Merge pull request #437 from Spredzy/fix_init_container_typo
...
olm-catalog: Setup accurate path var for init_container_image_version
2021-06-29 11:25:16 +02:00
Yanis Guenane
f218feb580
olm-catalog: Setup accurate path var for init_container_image_version
2021-06-29 10:46:23 +02:00
Shane McDonald
555dc8516a
Merge pull request #436 from shanemcd/bump-0.12.0
...
Bump versions for next release
2021-06-28 18:31:19 -04:00
Shane McDonald
34958282d2
Merge pull request #435 from rooftopcellist/keep-spec-newlines
...
Preserve newlines in AWX spec
2021-06-28 17:50:54 -04:00
Christian M. Adams
6b01ada12b
preserve newlines in AWX spec
2021-06-28 17:39:01 -04:00
Shane McDonald
e28d114d78
Bump versions for next release
2021-06-28 17:26:06 -04:00
Julen Landa Alustiza
cd312c6d70
Merge pull request #431 from Zokormazo/ca-fields-to-advanced
...
olm-catalog: Add missing custom trusted CA related fields
2021-06-28 11:02:20 +02:00
Shane McDonald
82422b8510
Merge pull request #412 from tchellomello/enhanhce_docs_ee
...
Enhances ee* documentation
2021-06-25 13:19:07 -04:00
Christian Adams
c7c97da68e
Merge pull request #430 from rooftopcellist/backup-ee-pull-secret
...
Backup ingress, bundle & ee pull secrets
2021-06-25 12:00:12 -04:00
Shane McDonald
657b5b67db
Merge pull request #432 from shanemcd/fix-extra-settings
...
Allow for types other than strings to be passed to extra_settings
2021-06-25 09:56:50 -04:00
Shane McDonald
b664b920dc
Allow for types other than strings to be passed to extra_settings
...
This feature was not working as intended
2021-06-25 09:47:08 -04:00
Julen Landa Alustiza
7ea60efe3e
olm-catalog: Add missing custom trusted CA related fields
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-06-25 11:36:36 +02:00
Christian M. Adams
f5c8b33b40
Backup ingress, bundle & ee pull secrets
2021-06-24 13:50:49 -04:00
Julen Landa Alustiza
a28a744f00
Merge pull request #429 from Zokormazo/explicitly-nullify-ownerreference
...
Explicitly nullify ownerReference on operator created backup pvc
2021-06-24 15:39:47 +02:00
Julen Landa Alustiza
68aaf1db79
Explicitly nullify ownerReference on operator created backup pvc
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-06-24 14:58:18 +02:00
Shane McDonald
b8d6dcfbf2
Merge pull request #427 from shanemcd/fix-secrets-with-newlines
...
Preserve newlines when restored secrets contain newlines
2021-06-23 20:09:08 -04:00
Shane McDonald
0ea9a04028
Preserve newlines when restored secrets contain newlines
2021-06-23 19:57:44 -04:00
Shane McDonald
e448d0ec8e
Merge pull request #425 from rooftopcellist/downgrade-kubernetes-module
...
Downgrade kubernetes module to 1.1.1 because of template bug
2021-06-23 17:20:40 -04:00
Shane McDonald
cb14c9a1fc
Pin to different version of kubernetes.core for CI usage
...
Bugs everywhere!
2021-06-23 17:07:27 -04:00
Shane McDonald
ca52b6c1c7
Merge pull request #423 from dolgovas/devel
...
Update README.md
2021-06-23 16:09:49 -04:00
Christian M. Adams
d3cfc55944
Downgrade kubernetes module to 1.1.1 because of template bug
2021-06-23 14:38:48 -04:00
dolgovas
00fd08e731
Update README.md
...
Add additional information about `image_pull_secret`
2021-06-23 20:06:41 +03:00
Yanis Guenane
e0c865a9f7
Merge pull request #419 from Spredzy/update_vendored
...
vendor: update dir with kubernetes.core
2021-06-23 00:49:50 +02:00
Yanis Guenane
53ffc8fdae
vendor: update dir with kubernetes.core
2021-06-23 00:37:37 +02:00
Shane McDonald
6c1f251558
Merge pull request #417 from shanemcd/fix-uuid
...
Fix SYSTEM_UUID
2021-06-22 15:02:06 -04:00
Shane McDonald
7310b43a5c
Use kubernetes.core
2021-06-22 14:52:54 -04:00
Shane McDonald
9a54ae2937
Delete test-local, run test-minikube in CI
...
bsycorp/kind is broken. See https://github.com/bsycorp/kind/issues/44
2021-06-22 14:35:39 -04:00
Shane McDonald
64c55c8824
Fix SYSTEM_UUID
2021-06-21 09:49:36 -04:00
Marcelo Moreira de Mello
9cc8aeeb4b
Enhance ee documentation
2021-06-18 13:53:22 -04:00
Marcelo Moreira de Mello
d6d39889c4
Merge pull request #401 from tchellomello/custom-ca
...
Added ability to trust a custom bundle CA
2021-06-18 12:07:51 -04:00
Yanis Guenane
68a6a55cfc
Merge pull request #411 from Spredzy/remove_extra_space
...
awx-cro.yml: Remove extra space
2021-06-18 10:23:58 +02:00
Yanis Guenane
ad036c2e65
awx-cro.yml: Remove extra space
...
Fixes: https://github.com/ansible/awx-operator/issues/410
2021-06-18 09:54:49 +02:00
Marcelo Moreira de Mello
f2e43db37c
Added ability to trust a custom bundle CA
2021-06-18 01:48:50 -04:00
Shane McDonald
1fb429b1ed
Merge pull request #409 from shanemcd/bump-0.11.0
...
AWX Operator 0.11.0
2021-06-17 17:10:04 -04:00
Shane McDonald
4d027c7d22
Update README
2021-06-17 16:28:45 -04:00
Shane McDonald
785b9ef70f
Bump versions
2021-06-17 16:28:30 -04:00
Yanis Guenane
d834701612
Merge pull request #407 from Spredzy/ee_resource_requirements
...
EE: Allow one to specify resource requirements
2021-06-17 15:00:06 +02:00
Yanis Guenane
0f4cc52e71
EE: Allow one to specify resource requirements
2021-06-17 12:44:12 +02:00
Yanis Guenane
135ee98146
Merge pull request #406 from Spredzy/tower_ee_extra_env
...
EE: Allow one to specify extra environment variable
2021-06-17 11:19:20 +02:00
Yanis Guenane
3899365da7
EE: Allow one to specify extra environment variable
2021-06-17 10:43:52 +02:00
Shane McDonald
12f9fff6d5
Merge pull request #405 from shanemcd/community.docker
...
Update build-and-push.yml to use community.docker
2021-06-16 12:51:04 -04:00
Shane McDonald
f565befdb0
Update build-and-push.yml to use community.docker
2021-06-16 12:41:57 -04:00
Yanis Guenane
7c02eabbdf
Merge pull request #404 from Spredzy/restore_colon
...
backup: Ensure colon are preserved in awx spec
2021-06-16 15:26:02 +02:00
Yanis Guenane
3398cc2f01
backup: Ensure colon are preserved in awx spec
...
Due to the way the command is run, the field with a colon in it will
generate a broken yaml serialization. This commit aims to keep it
accurate.
2021-06-16 14:17:11 +02:00
Yanis Guenane
5bbe7b6e3e
Merge pull request #397 from rooftopcellist/dynamic_secrets
...
Dynamic secret backup & restore
2021-06-16 10:41:04 +02:00
Yanis Guenane
da1e7674f6
Merge pull request #400 from rooftopcellist/rm_pvc_ownerref
...
Do not clean up pvc when awxbackup cr is deleted
2021-06-16 10:40:34 +02:00
Marcelo Moreira de Mello
d46fdbc3c9
Merge pull request #396 from tchellomello/extra_config
...
Documenting extra_settings usage
2021-06-15 15:09:03 -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
Christian M. Adams
42141cd159
Do not clean up pvc when awxbackup cr is deleted
...
- This is accomplished by explicitly setting ownerRefs to null
2021-06-15 12:23:04 -04:00
Yanis Guenane
1bb6ada3a2
Merge pull request #398 from Spredzy/control_plane_ee
...
olm-catalog: Add missing control_plane_ee_image
2021-06-15 10:31:08 +02:00
Yanis Guenane
baeb822c39
olm-catalog: Add missing control_plane_ee_image
2021-06-15 09:57:26 +02:00
Marcelo Moreira de Mello
e22720dc82
Fixed typo
2021-06-14 16:29:10 -04:00
Marcelo Moreira de Mello
dd70d0e4ec
Fixed typo
2021-06-14 16:27:42 -04:00
Marcelo Moreira de Mello
804e6c3de7
Documenting extra_settings usage
2021-06-14 13:42:52 -04:00
Yanis Guenane
5d597d1e19
Merge pull request #393 from Spredzy/remove_uneeded_default
...
Do not specify unneeded default
2021-06-14 16:43:25 +02:00
Yanis Guenane
ebb3d7b6a5
Merge pull request #392 from Spredzy/favico
...
favicon: update path to favicon.ico
2021-06-14 16:43:14 +02:00
Yanis Guenane
754ad98d3c
Do not specify unneeded default
2021-06-14 09:33:39 +02:00
Yanis Guenane
d47d25b584
favicon: update path to favicon.ico
...
Relates: https://github.com/ansible/awx/pull/10388
2021-06-14 09:31:04 +02:00
Yanis Guenane
ef1c57c932
Merge pull request #388 from Spredzy/fix_label_selector2
...
olm-catalog: Add missing postgres_olm_selector
2021-06-11 13:45:14 +02:00
Yanis Guenane
da912f1189
Merge pull request #387 from Spredzy/remove_unecessary_default
...
olm-catalog: Remove unecessary defaults at the crd level
2021-06-11 13:34:43 +02:00
Yanis Guenane
bb0039c70b
Merge pull request #386 from Spredzy/make_ee_pull_credentials_secret_advanced
...
Make ee pull credentials secret advanced
2021-06-11 13:34:33 +02:00
Yanis Guenane
5833b06c5b
olm-catalog: Add missing postgres_olm_selector
2021-06-11 13:31:30 +02:00
Yanis Guenane
955a15786e
olm-catalog: Remove unecessary defaults at the crd level
2021-06-11 13:07:25 +02:00
Yanis Guenane
e37afab2cd
ee_pull_credentials_secret: Ensure its advanced and a secret type
2021-06-11 12:03:40 +02:00
Christian Adams
c4162752bc
Merge pull request #384 from rooftopcellist/add-generate-files-script
...
Add script to generate files after crd.yml.j2 changes
2021-06-09 14:29:01 -04:00
Christian M. Adams
a30f3f658e
Add script to generate files after crd.yml.j2 changes
2021-06-09 11:49:39 -04: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
Yanis Guenane
7891e88131
Merge pull request #377 from aperigault/aperigault-patch-1
...
Fix service annotations
2021-06-09 09:53:01 +02:00
Shane McDonald
5d7cd9ab1c
Merge pull request #379 from kdelee/register_ees
...
Register ees
2021-06-08 17:21:19 -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
Shane McDonald
156788c56e
Add missing quotes
2021-06-08 16:56:19 -04:00
Elijah DeLee
c4d197f5ce
add type to control_plane_ee_image
2021-06-08 16:56:19 -04:00
Elijah DeLee
f53354d20d
update the README for the changes to execution environments vars
2021-06-08 16:56:19 -04:00
Elijah DeLee
075969f25d
Use new setting for control plan ee
...
Now this is consumed by the awx-manage register_default_execution_environments to
make the EE that is used for project updates
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
46f5b3dcb0
Merge pull request #378 from Spredzy/default_queue_name
...
Use new awx default queue name
2021-06-08 15:19:01 -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
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
aperigault
626b8acaa9
Fix service
2021-06-07 11:41:54 +02: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
e857902dcc
Fail task if pg_dump command fails
2021-06-04 10:31:57 -04:00
Christian Adams
af5983cb68
Merge pull request #362 from rooftopcellist/update-catalog-statuses
...
olm-catalog: Add statuses to schemas for awxbackup and awxrestore objects
2021-06-03 14:37:56 -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
Christian Adams
b37bf06800
Merge pull request #366 from rooftopcellist/release-docs
...
Update Release Process docs
2021-06-02 17:45:51 -04:00
Christian M. Adams
d0523b9eb3
Update Release Process docs
2021-06-02 17:31:19 -04:00
Shane McDonald
543bf3e156
Merge pull request #365 from tchellomello/changelog-0.10.0
...
Changelog for 0.10.0
2021-06-02 17:20:46 -04:00
Marcelo Moreira de Mello
d8f864c88f
Changelog for 0.10.0
2021-06-02 17:07:10 -04:00
Shane McDonald
53e0f1455e
Merge pull request #364 from shanemcd/update-olm
...
Update OLM metadata
2021-06-02 17:04:41 -04:00
Shane McDonald
6347ceb976
Update OLM metadata
2021-06-02 16:42:45 -04:00
Yanis Guenane
a923ee112c
Merge pull request #358 from Spredzy/improve_nginx_conf
...
nginx: Improve security configuration
2021-06-02 20:28:47 +02: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
Yanis Guenane
bc66f8e4bb
Merge pull request #354 from rooftopcellist/fix-postgres-pod-label
...
Update name of default postgres label selector for backup role
2021-06-02 11:36:15 +02:00
Yanis Guenane
f1fe7d8fc5
nginx: Improve security configuration
2021-06-02 11:07:46 +02:00
Yanis Guenane
21df85cbf4
Merge pull request #353 from Spredzy/missing_statuss
...
olm-catalog: Add missing statuses
2021-06-02 09:59:17 +02:00
Shane McDonald
25bdc23d45
Merge pull request #355 from shanemcd/bump-0.10.0
...
Bump versions for 0.10.0
2021-06-01 19:31:13 -04:00
Yanis Guenane
bc2f1bfde9
olm-catalog: Add missing statuses
2021-06-01 23:27:56 +02:00
Christian M. Adams
da75e4b400
update name of default postgres label selector for backup role
2021-06-01 17:12:23 -04:00
Shane McDonald
b74d6a582e
Bump versions for 0.10.0
2021-06-01 17:07:52 -04:00
Shane McDonald
679af90d71
Merge pull request #352 from tchellomello/ingress_readme_fixup
...
Updated README.md to point to released version
2021-06-01 16:46:29 -04:00
Marcelo Moreira de Mello
5e58da7c7e
Updated README.md to point to released version
2021-06-01 16:35:59 -04:00
Shane McDonald
9555a04870
Merge pull request #330 from tchellomello/ingress_minikube
...
Introducing service type definition and reworking Ingress rules
2021-06-01 16:10:32 -04:00
Marcelo Moreira de Mello
e37c091d17
Make tower_ingress_type to respect ClusterIP definition
2021-06-01 15:42:39 -04:00
Shane McDonald
d6c9ebf35c
Merge pull request #324 from Zokormazo/extra_settings_quote
...
Add quotes to string type extra_settings
2021-05-26 12:06:02 -04:00
Julen Landa Alustiza
899a8e7bf5
Add quotes to string type extra_settings
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-05-26 09:19:00 +02:00
Shane McDonald
a8399c5ec0
Merge pull request #333 from tchellomello/sa_annotations
...
Added ability to specify annotations to ServiceAccount
2021-05-25 20:50:25 -04:00
Shane McDonald
cb3451e8dc
Merge pull request #334 from rooftopcellist/extend-service-account-perm
...
Add ability to get/create/delete secrets for the awx service account
2021-05-25 16:02:46 -04:00
Christian M. Adams
61b3cb4c7f
Add ability to get/create/delete secrets for the awx service account
2021-05-25 15:38:05 -04:00
Marcelo Moreira de Mello
446ac0b190
Added ability to specify annotations to ServiceAccount
2021-05-25 12:16:16 -04:00
Yanis Guenane
8c6ccfbca2
Merge pull request #331 from Spredzy/remove_variable_prefix
...
Do not prepend variables name with tower_
2021-05-25 15:58:46 +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 Adams
d0a74edd34
Merge pull request #323 from rooftopcellist/remove_finalizer
...
Fully remove finalizer
2021-05-19 11:39:27 -04:00
Shane McDonald
f6b0fb62b8
Merge pull request #200 from tchellomello/okd_console
...
Added OKD console deployment
2021-05-18 14:15:08 -04:00
Christian M. Adams
fd9205070e
Fully remove finalizer
2021-05-18 11:34:29 -04:00
Christian Adams
e18ce59ea9
Merge pull request #297 from rooftopcellist/pg-labels
...
Make postgres sts labels consistent with k8s recommendations & pulp-operator
2021-05-18 10:37:46 -04:00
Christian Adams
5fd86e07ce
Merge pull request #319 from rooftopcellist/custom_format_backup
...
Use custom pg_dump format for faster restores
2021-05-18 10:33:23 -04: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
b887315c8d
Merge pull request #317 from tchellomello/operator_labels_complementary
...
Extended labels to AWX Backup/Restore
2021-05-17 21:58:14 -04:00
Marcelo Moreira de Mello
08776ca2b6
Extended labels to AWX Backup/Restore
2021-05-17 21:40:37 -04:00
Christian Adams
8a34188854
Merge pull request #273 from tchellomello/contributing
...
Adding contributing guidelines
2021-05-17 18:12:37 -04:00
Marcelo Moreira de Mello
68e0de4d9e
Adding contributing guidelines
2021-05-17 17:54:35 -04:00
Christian M. Adams
f16d9ac55f
Use custom pg_dump format for faster restores
2021-05-17 16:54:49 -04:00
Christian Adams
0239062fa4
Merge pull request #318 from rooftopcellist/storage_class_empty
...
Default to storage class being undefined
2021-05-17 16:52:09 -04:00
Christian M. Adams
82ed9d6d56
Default to storage class being undefined
...
* This is so that users can intentially set it to an empty string if they want to use the default storage class
* conversely, now users can manually create a pvc that does not utilize the default storage class
2021-05-17 16:41:53 -04:00
Christian Adams
1ce36572c4
Merge pull request #302 from rooftopcellist/upgrade_note
...
Add note about how to upgrade AWX and the operator
2021-05-17 16:25:34 -04:00
Christian Adams
708f5d49e8
Merge pull request #315 from rooftopcellist/allow_manual_pvc
...
Allow user to specify empty string for storage class on PVC
2021-05-17 12:27:26 -04:00
Christian M. Adams
818b837fb2
Allow user to specify empty string for storage class on PVC
2021-05-17 12:15:03 -04:00
Marcelo Moreira de Mello
7b7965d506
Merge pull request #308 from tchellomello/operator_version
...
Adds operator-version to k8s resources
2021-05-13 10:00:26 -04:00
Marcelo Moreira de Mello
5266cc23a9
Adds operator-version to k8s resources
2021-05-12 22:17:36 -04:00
Marcelo Moreira de Mello
fd9532ee3f
Merge pull request #303 from tchellomello/tower_loadbalancer_annotations
...
Set initial value for tower_loadbalancer_annotations
2021-05-11 11:15:29 -04:00
Marcelo Moreira de Mello
b2b1e07e45
Set initial value for tower_loadbalancer_annotations
2021-05-10 23:31:01 -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
Christian Adams
123d6e4c29
Merge pull request #299 from rooftopcellist/stuck-finalizer
...
Unset ownerRefs in the installer instead of the finalizer
2021-05-10 13:21:46 -04:00
Christian M. Adams
c16e53da46
Add note about how to upgrade AWX and the operator
2021-05-10 11:54:18 -04:00
Christian M. Adams
c12a1f02ab
Unset ownerRefs in the installer instead of the finalizer
2021-05-07 17:55:01 -04:00
Christian Adams
13e114afc1
Merge pull request #296 from rooftopcellist/pg_custom_archive
...
Use custom archive format when migrating data
2021-05-07 15:20:00 -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 Adams
aed4d07cf1
Merge pull request #295 from rooftopcellist/scale_down_restore
...
Scale down the new deployment before restoring
2021-05-07 15:03:48 -04:00
Christian M. Adams
ca8127448e
Scale down the new deployment before restoring
2021-05-07 11:18:40 -04:00
Christian Adams
e082180cf9
Merge pull request #293 from Zokormazo/restore-kind
...
Restore: set proper kind var after deploying AWX CR
2021-05-07 09:23:02 -04:00
Christian Adams
df2522fa8d
Merge pull request #283 from rooftopcellist/fix-lint-errors
...
Fix file permissions for tmp spec vars file
2021-05-07 09:10:25 -04:00
Julen Landa Alustiza
fc4687ff77
Restore: set proper kind var after deploying AWX CR
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com >
2021-05-07 13:31:29 +02: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
bc1814ce95
Merge pull request #282 from Spredzy/olm_backup_and_restore
...
olm-catalog: Update with latest content from AWXBackup and AWXRestore
2021-05-05 17:26:20 +02:00
Christian M. Adams
c551d05182
Fix file permissions for tmp spec vars file
2021-05-05 09:35:03 -04:00
Yanis Guenane
ce0a251c1c
olm-catalog: Update with latest content from AWXBackup and AWXRestore
2021-05-05 10:37:23 +02:00
Christian Adams
51dd524579
Merge pull request #279 from rooftopcellist/persist-secrets
...
Persist secret names from old deployment & add them to the spec
2021-05-04 14:59:28 -04:00
Christian M. Adams
9532cc754e
Use copy module, not shell
2021-05-04 14:28:59 -04:00
Christian M. Adams
15bc12b7f6
Remove ownerReferences based on secret name from backup
2021-05-04 11:46:09 -04:00
Christian M. Adams
a46938e1be
Retrieve pg secret values consistently, do not hardcode secret names
2021-05-04 10:06:39 -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 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
51435e3c2b
fix example to use correct label
2021-05-03 13:14:49 -05:00
Jeremy Kimber
b204c91baa
set tower_service_labels field to hidden
2021-05-03 13:12:37 -05:00
Marcelo Moreira de Mello
e7fd1e265f
Merge pull request #271 from tchellomello/changelog
...
Added initial CHANGELOG.md
2021-05-03 13:18:42 -04:00
Marcelo Moreira de Mello
42b39eda40
Merge pull request #264 from ansible/tchellomello-bugreport-template
...
Updated bug report template
2021-05-03 13:18:25 -04:00
Marcelo Moreira de Mello
b50cf82639
Added initial CHANGELOG.md
2021-05-03 11:44:47 -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
67a650ce38
Remove isolated logger from configmap
...
Isolated nodes have been removed in upstream AWX
2021-05-01 09:32:09 -04:00
Shane McDonald
acb443432e
Bump version
2021-05-01 08:18:30 -04:00
Shane McDonald
3f2bb3e5db
Regenerate files
2021-05-01 08:18:13 -04:00
Shane McDonald
c318611561
Bump AWX version
2021-05-01 07:45:18 -04:00
Shane McDonald
77e7039a2e
Update playbook to allow for deploying custom image version/tag
2021-05-01 07:44:53 -04:00
Marcelo Moreira de Mello
b7e043eca8
Update bug_report.md
2021-04-30 13:53:59 -04:00
Marcelo Moreira de Mello
78d03e03bb
Updated bug report template
2021-04-30 13:52:09 -04:00
Christian M. Adams
5e2d11835e
Fix rebase issue & remove dynamic kind/version var setting
2021-04-30 13:51:48 -04:00
Marcelo Moreira de Mello
8656ee1a1d
Merge pull request #263 from tchellomello/projects
...
Mounts /var/lib/awx/projects on awx-web container
2021-04-30 13:46:17 -04:00
Marcelo Moreira de Mello
f21ec4de61
Mounts /var/lib/awx/projects on awx-web container
2021-04-30 13:31:31 -04:00
Christian M. Adams
cdbaf9460e
Remove unnecessary intermediate awx_spec var
2021-04-30 10:49:32 -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
9cfb7921bc
update templated files with new var names
2021-04-30 10:49:32 -04:00
Christian M. Adams
36852cd5f5
remove unused variables in restore role
2021-04-30 10:49:32 -04:00
Christian M. Adams
b5c5a1722d
revert unneccesary admin password update
2021-04-30 10:49:31 -04:00
Christian M. Adams
5ae36367a4
Rename product specific variable names
2021-04-30 10:49:31 -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
c817a2234d
Simplify vars needed for restore CR & do not garbage collect secrets
2021-04-30 10:49:31 -04:00
Christian M. Adams
57f9530198
Simplify pvc naming scheme, one pvc per deployment
2021-04-30 10:49:31 -04:00
Christian M. Adams
3e444da7bc
Set ownerRef to null for restore created AWX object to avoid garbage collection
...
- Set defaults for pg type to satisfy conditional
2021-04-30 10:49:30 -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
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
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
fb612c24df
Only write values for spec section of awx object in backup
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
82efe05343
store secrets & definitions in a tempfile dir, fix postgres label
2021-04-30 10:24:36 -04:00
Christian M. Adams
2cbf60fa17
Remove unneeded fqcn for modules & fix CI
2021-04-30 10:24:36 -04:00
Christian M. Adams
ce8c58f542
added secrets logic, fixed permissions issues
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
0580398c90
Finish db restore logic
...
- rename _backup_dir to backup_dir
- add towerBackupClaim status to make the pvc name easier to find for users
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
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
250ff960bd
Add awxbackup CRD creation to molecule to get tests passing
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
f17dcdc3e9
Swap vars and defaults, rename to awxbackups
2021-04-30 10:24:35 -04:00
Christian M. Adams
4839bdcaad
Rename Backup CR to AWXBackup to be more unique
...
- we could alternatively direct users to use the full GVK. Issue is potential conflict with AH operator CRs
2021-04-30 10:24:34 -04:00
Christian M. Adams
91dda5cb16
backup secrets to YAML files
2021-04-30 10:24:34 -04:00
Christian M. Adams
0a82fec359
Refactor backup role & store secrets as well
2021-04-30 10:24:34 -04:00
Christian M. Adams
13397f41ad
use meta.data to keep pods and pvcs unique in the same namespace
2021-04-30 10:24:34 -04:00
Christian M. Adams
9e44e21a66
Rename pvc name var to be consistent with other backup variables
2021-04-30 10:24:34 -04:00
Christian M. Adams
54efda1a25
Use default cluster storage class if none is provided
2021-04-30 10:24:34 -04:00
Christian M. Adams
bcd1410438
init backup CR files
2021-04-30 10:24:33 -04:00
Christian M. Adams
fdcc745f11
Add watcher for backup CR
2021-04-30 10:24:33 -04:00
Christian M. Adams
4a5ca184c0
Use storage class to dynamically create volume for backups
2021-04-30 10:24:33 -04:00
Christian M. Adams
e037feafbf
Create management pod and pvc for backup
2021-04-30 10:24:33 -04:00
Christian M. Adams
0220c75884
wip deployment podspec or sts
2021-04-30 10:24:33 -04:00
Shane McDonald
5f668d76f0
Merge pull request #262 from Spredzy/extra_settings
...
Extra Settings: Allow one to pass extra API configuration settings.
2021-04-30 10:01:47 -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
06ab6d2dad
Merge pull request #257 from Spredzy/rename_postgres_parameters
...
PostgreSQL: Properly handle variable name difference when using Red Hat containers
2021-04-30 09:35:35 +02:00
Yanis Guenane
6b0ecacc63
Merge pull request #258 from Spredzy/fix_tower_ee_images
...
Properly hide tower_ee_images
2021-04-30 09:35:20 +02:00
Yanis Guenane
2965a9091e
PostgreSQL: Properly handle variable name difference when using Red Hat containers
2021-04-29 18:16:20 +02:00
Yanis Guenane
160209698c
Properly hide tower_ee_images
2021-04-29 17:39:57 +02: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
Shane McDonald
68774a3ccc
Merge pull request #250 from rooftopcellist/ee-vars
...
Add templated EE volume mount var to operator config
2021-04-28 11:33:13 -04:00
Shane McDonald
70b7991cdf
Merge pull request #253 from Spredzy/base_component_on_deployment_type
...
Deployment type: Make more fields dynamic based on that field
2021-04-28 11:32:37 -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
fb183f4eab
Merge pull request #251 from tchellomello/redeploy-it
...
Handle statefulset updates
2021-04-27 23:29:19 -04:00
Marcelo Moreira de Mello
3d5a9eae31
Handle statefulset updates
2021-04-27 17:16:57 -04:00
Christian M. Adams
e55d83ffa0
Add templated EE volume mount var to operator config
2021-04-27 15:54:37 -04:00
Yanis Guenane
fd9ce8f0cb
Merge pull request #249 from Spredzy/fix_wrong_indentation
...
olm manifests: fix wrong identation making file incorrect
2021-04-27 14:19:30 +02:00
Yanis Guenane
126228774c
olm manifests: fix wrong identation making file incorrect
...
Currently the file is inacurrate and yaml parsing would fail on line 166
with
> syntax error: expected <block end>, but found '<block mapping start>'
(syntax)
2021-04-27 13:24:52 +02: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
Shane McDonald
b781300977
Merge pull request #248 from shanemcd/devel
...
Fix service type logic
2021-04-26 14:10:43 -04:00
Shane McDonald
c0e164d763
Fix service type logic
2021-04-26 13:58:44 -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
ee9800c258
Merge pull request #244 from ilijamt/ee-conf-wrong
...
added missing comma, to AWX execution_environments.py file
2021-04-24 11:58:41 -04:00
stal
5b38c85f8a
Extra changes for new tower_ingress_type NodePort
2021-04-24 15:16:49 +01:00
Ilija Matoski
72c122dff9
added missing comma, to AWX execution_environets.py file
2021-04-24 14:34:19 +02:00
Shane McDonald
3e8834e057
Merge pull request #243 from ansible/shanemcd-patch-3
...
Update default ee version
2021-04-23 14:24:28 -04:00
Shane McDonald
5779afd858
Update default ee version
2021-04-23 13:58:01 -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
Marcelo Moreira de Mello
cd181bc1fd
Merge pull request #235 from tchellomello/split_image_expr
...
Split container image and version in 2 variables
2021-04-22 13:31:46 -04:00
Marcelo Moreira de Mello
01f1321bd4
Merge branch 'devel' into split_image_expr
2021-04-22 10:28:32 -04:00
Marcelo Moreira de Mello
52768c9a65
updated coumentation
2021-04-22 10:18:46 -04:00
TheStally
96b878f049
Add NodePort to tower_ingress_type enum
2021-04-22 08:39:28 +01:00
TheStally
a00052a8ca
Fix template logic
2021-04-22 08:37:31 +01:00
Thom Wijtenburg
4596c30e9d
Make displayName for PostgreSQL parameters single line
2021-04-22 07:07:51 +02:00
Marcelo Moreira de Mello
051500fff1
updated documentation
2021-04-21 17:51:40 -04:00
Marcelo Moreira de Mello
bc34758c91
Split container image and version in 2 variables
2021-04-21 17:18:02 -04:00
Shane McDonald
e3f027d625
Merge pull request #212 from tchellomello/change_pull_policy_redis
...
Inherit imagePullPolicy to redis container
2021-04-21 16:44:07 -04:00
Marcelo Moreira de Mello
46fca2af5a
updated
2021-04-21 15:41:18 -04:00
Marcelo Moreira de Mello
dc073c85ed
updated
2021-04-21 15:02:33 -04:00
Marcelo Moreira de Mello
597356f317
Handles deleting and recreating statefulset and deployment when needed
2021-04-21 14:58:21 -04:00
Shane McDonald
0655122a57
Merge pull request #234 from shanemcd/stop-using-devel
...
Stop telling folks to use devel
2021-04-21 13:32:06 -04:00
Shane McDonald
51ea411a79
Stop telling folks to use devel
2021-04-21 13:19:43 -04:00
Shane McDonald
776dba5e23
Merge pull request #216 from gamuniz/document_env_config
...
added documentation around environment variables
2021-04-21 10:21:59 -04:00
Shane McDonald
6858dcfa7a
Merge pull request #231 from daenney/migration-docs
...
migration: Clarify you can migrate in-place
2021-04-21 09:15:29 -04:00
Daniele Sluijters
ea018be298
migration: Clarify you can migrate in-place
...
Closes #213
2021-04-21 15:01:39 +02:00
Thom Wijtenburg
841d1f94f2
Change default resource requirement to object
2021-04-20 11:52:56 +02:00
Thom Wijtenburg
262b1cca34
Update variable table for PostgreSQL service
2021-04-20 11:33:24 +02:00
Thom Wijtenburg
378a33aaee
Fix PostgreSQL resource requests
2021-04-20 11:14:48 +02:00
Marcelo Moreira de Mello
09652056b7
Added initial upgrade documentation
2021-04-20 00:23:10 -04:00
Marcelo Moreira de Mello
39ef816f5e
Updated logic to avoid crash during upgrades
2021-04-19 23:19:13 -04:00
Gabe Muniz
f68dc77ea3
added documentation around environment variables
2021-04-15 17:33:31 -04:00
Shane McDonald
51b2a211cb
Merge pull request #214 from gamuniz/expose_extra_volume_config
...
Expose extra volume config
2021-04-15 16:08:11 -04:00
Gabe Muniz
9de67ad898
added default value for ee extra mounts
2021-04-15 15:25:45 -04:00
Gabe Muniz
8922e9fe7d
added warning about kubernetes api naming
2021-04-15 11:09:32 -04:00
Gabe Muniz
90f25ab20c
added ability to mount to Execution container with example
2021-04-15 10:01:46 -04:00
Gabe Muniz
6c476a994e
added ability to mount conf.d and fixed underscore api issue
2021-04-14 16:18:44 -04:00
stal
1b87616a11
Add tower_ingress_type NodePort
2021-04-14 20:15:15 +01:00
Gabe Muniz
8d65b84b89
expose settings to use custom volumes and volume mounts
2021-04-14 14:49:42 -04:00
Marcelo Moreira de Mello
13f7b2ae30
Fixed indentation lint
2021-04-14 12:00:26 -04:00
Marcelo Moreira de Mello
bdcd95ab55
Fixing lint
2021-04-14 11:45:46 -04:00
Marcelo Moreira de Mello
032d6b790a
Added OKD console deployment
2021-04-14 11:41:54 -04:00
Shane McDonald
125b6fbe58
Merge pull request #208 from a-eperez/devel
...
Include support for nodeSelector and tolerations in AWX Postgres pod
2021-04-14 11:25:34 -04:00
Ernesto Pérez
d4d9d2a982
Correction, replace tower_tolerations by tower_postgres_tolerations
2021-04-14 09:59:50 +02:00
Ernesto Pérez
1cc47f7570
Correction, replace tower_node_selector by tower_postgres_selector
2021-04-14 09:56:06 +02:00
Marcelo Moreira de Mello
83a85d15c0
Inherit imagePullPolicy to redis container
2021-04-13 21:28:55 -04:00
Ernesto Pérez
0ab33a17df
Fix yaml missing starting space in comment
2021-04-13 14:33:47 +02:00
Ernesto Pérez
30e4ad0d3d
Postgres selector and tolerations description included in README.md
2021-04-13 14:00:15 +02:00
Ernesto Pérez
151ff11745
Add nodeSelector and tolerations for Postgres pod
2021-04-13 13:50:14 +02:00
Shane McDonald
b942794179
Merge pull request #206 from tchellomello/pwd_quotes
...
Removed jinja2 filter 'quote' for db password
2021-04-12 16:36:53 -04:00
Marcelo Moreira de Mello
57071129bf
Removed jinja2 filter 'quote' for db password
2021-04-12 16:23:21 -04:00
stal
0f90847c07
Add Service types to docs based on Ingress used
2021-04-12 21:14:54 +01:00
stal
e091b32c4b
use ClusterIP service when ingress type is Ingress
2021-04-12 19:35:29 +01:00
Marcelo Moreira de Mello
298d39c57b
Added support to override pg_sslmode
2021-04-12 12:48:00 -04:00
Shane McDonald
9503d3cf48
Merge pull request #197 from RylandDeGregory/rylanddegregory-patch-1
...
Update docs and service Template for LoadBalancer ingress type
2021-04-08 12:45:05 -04:00
Ryland DeGregory
95f04abdfd
Added conditional to validate that tower_loadbalancer_annotations is defined
2021-04-08 12:24:56 -04:00
Ryland DeGregory
7e3f5047a1
Updated protocol var in LoadBalancer ingress spec
2021-04-08 12:20:08 -04:00
Shane McDonald
5c77cf004b
Merge pull request #192 from shanemcd/gha-release-workflow
...
Add GHA workflow for pushing releases to Quay
2021-04-08 09:10:08 -04:00
Shane McDonald
295ed47c43
Add GHA workflow for pushing releases to Quay
2021-04-08 07:26:45 -04:00
Shane McDonald
d8b7ed81b5
Merge pull request #189 from shanemcd/bump-19
...
Version bump for AWX 19
2021-04-07 18:00:16 -04:00
Shane McDonald
f4980917d2
Merge pull request #186 from tchellomello/build
...
Added build.sh to facilitate local tests
2021-04-07 17:27:45 -04:00
Shane McDonald
1c9173f48a
Regenerate OLM metadata
2021-04-07 17:24:14 -04:00
Shane McDonald
f6b7a32a33
Bump version
2021-04-07 17:24:08 -04:00
Shane McDonald
aa03a7f268
Ensure CRD exists before deploying Operator
2021-04-07 17:20:52 -04:00
Shane McDonald
136b2c47f8
Remove unnecessary variables from molecule CR
2021-04-07 17:20:04 -04:00
Shane McDonald
0043c375d8
Merge pull request #184 from no-12/devel
...
add tower_image_pull_secret as property of AWX resource
2021-04-07 16:30:05 -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
Shane McDonald
cb70e97366
Merge pull request #180 from tchellomello/add_labels_to_awx_kind
...
Added expected labels to AWX kind
2021-04-07 16:29:37 -04:00
Marcelo Moreira de Mello
1d21dc7f20
Added build.sh to facilitate local tests
2021-04-07 16:28:10 -04:00
Marcelo Moreira de Mello
4d4ed3e827
Added labels to AWX kind resource
2021-04-07 14:24:34 -04:00
Nico Ohnezat
0eb4286b71
add tower_image_pull_secret as property of AWX resource
2021-04-07 17:55:18 +02:00
Shane McDonald
f73cff3cb3
Merge pull request #177 from tchellomello/persistent_vol
...
Introducing ability to mount /var/lib/projects
2021-04-07 11:14:30 -04:00
Marcelo Moreira de Mello
54c8a7beef
Fixed webUI form drop-down
2021-04-06 22:52:00 -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
Shane McDonald
a0c6565e59
Merge pull request #174 from shanemcd/cleanup
...
Clean up instances of tower_ee_image
2021-04-05 16:30:28 -04:00
Shane McDonald
bac795a36a
Clean up instances of tower_ee_image
2021-04-05 15:50:29 -04:00
Shane McDonald
c9acc30009
Merge pull request #170 from tylerauerbeck/update-actions
...
Update GH Actions to run on push to devel
2021-04-03 17:34:45 -04:00
Shane McDonald
0cf0fd52c7
Merge pull request #171 from shanemcd/tower-ee-images
...
More flexibility for customizing default EEs
2021-04-03 17:32:27 -04:00
Shane McDonald
2b8530b3e2
Update instantiate playbook to document tower_ee_images
2021-04-03 17:21:53 -04:00
Shane McDonald
550756c33c
Update CRD stuff related to tower_ee_image -> tower_ee_images rename
2021-04-03 17:21:49 -04:00
Shane McDonald
4230120884
More flexibility for customizing default EEs
2021-04-03 17:15:56 -04:00
Tyler Auerbeck
90b88676c5
Update README; Update GHA to run on push to devel
2021-04-03 14:42:24 -04:00
Shane McDonald
862123e2d6
Merge pull request #169 from shanemcd/fix-instantiate
...
Fix instantiate playbook when development_mode var is not provided
2021-04-03 13:05:42 -04:00
Shane McDonald
c1a2f6e649
Fix instantiate playbook when development_mode var is not provided
2021-04-03 12:54:43 -04:00
Shane McDonald
c0d3047dab
Merge pull request #166 from ilijamt/wrong-supervisor-conf
...
fix wrong conf file for SUPERVISOR_WEB_CONFIG_PATH in kubernetes deployment file
2021-04-03 12:45:52 -04:00
Shane McDonald
1a50cd339e
Merge pull request #162 from Spredzy/add_bundle_dockerfile
...
bundle.Dockerfile: Add the Dockerfile so user can build their own bundle
2021-04-03 12:45:30 -04:00
Shane McDonald
30db53d250
Merge pull request #164 from tchellomello/unique_labels
...
Use k8s labels to create unique matchLabels for svc and deployments
2021-04-03 12:44:31 -04:00
Shane McDonald
1309cc63c9
Merge pull request #165 from TrueTickets/athak/add-nodeselector-and-tolerations
...
Add support for nodeSelector and tolerations
2021-04-03 12:42:17 -04:00
Shane McDonald
32b862c79b
Update roles/installer/templates/tower_deployment.yaml.j2
2021-04-03 12:36:55 -04:00
Shane McDonald
e09a468d2c
Merge pull request #168 from shanemcd/goodbye-travis
...
Remove usage of Travis CI
2021-04-03 12:35:51 -04:00
Shane McDonald
adb896f294
Remove usage of Travis CI
2021-04-03 12:26:13 -04:00
Shane McDonald
2fd3158c7b
Merge pull request #167 from shanemcd/remove-environment-sh
...
Remove usage of environment.sh
2021-04-03 12:25:20 -04:00
Shane McDonald
ba2672a0b0
Remove usage of environment.sh
...
This is no longer sourced in the launch scripts.
2021-04-03 12:07:02 -04:00
Shane McDonald
7c02a9728a
Merge pull request #136 from tylerauerbeck/gha
...
Intial GH Actions - Publish latest build and CI
2021-04-03 11:58:55 -04:00
Ilija Matoski
9b327f6ad5
fix wrong conf file
2021-04-03 13:30:55 +02:00
Atha Kouroussis
2a3f700fde
Update README and OLM catalog manifests
2021-04-02 11:03:54 -03:00
Yanis Guenane
d221c64f62
README.md: Extend README.md to explain how to generate the bundle
2021-04-02 15:43:26 +02:00
Yanis Guenane
0f1cc494fe
bundle.Dockerfile: Add the Dockerfile so user can build their own bundle
2021-04-02 15:34:42 +02:00
Atha Kouroussis
be68adbf01
Add support for nodeSelector and tolerations
2021-04-01 18:28:07 -03:00
Marcelo Moreira de Mello
185238c199
Use k8s labels on managed resources
2021-04-01 14:04:59 -04:00
Yanis Guenane
210ac2c419
Merge pull request #157 from tchellomello/ldaps
...
Added ability to specify LDAP CA cert
2021-04-01 09:56:52 +02:00
Marcelo Moreira de Mello
658cf92a3b
Make sure we only proceed with ldap-ca.crt is a valid secret
2021-03-31 11:25:25 -04:00
Yanis Guenane
d3f7594aea
Merge pull request #160 from tchellomello/warning_admin_pass
...
tower_admin_password_secret warning note @ docs
2021-03-31 14:24:21 +02:00
Marcelo Moreira de Mello
939dd0b295
Warning for tower_admin_password_secret
2021-03-30 22:34:27 -04:00
Shane McDonald
51e384292c
Merge pull request #159 from tchellomello/typo
...
Fixed typo on migration docs
2021-03-30 12:00:02 -04:00
Marcelo Moreira de Mello
f27f1d188c
Fixed typo on migration docs
2021-03-30 10:44:28 -04:00
Marcelo Moreira de Mello
8974e3446a
Added ability to configure LDAP CA
2021-03-29 22:19:22 -04:00
Shane McDonald
57a408e384
Merge pull request #155 from shanemcd/update-awx-ee
...
Use newer awx-ee image
2021-03-29 13:04:36 -04:00
Shane McDonald
1fa391a9f1
Bump awx-ee version
2021-03-29 12:39:57 -04:00
Shane McDonald
7885f8e454
Merge pull request #154 from starcraft66/patch-1
...
Create kustomization.yaml
2021-03-29 09:39:19 -04:00
Yanis Guenane
32ac0941dc
Merge pull request #156 from Spredzy/hidden_tower_ee_image
...
olm-catalog: Set tower_ee_image as hidden
2021-03-29 14:48:24 +02:00
Yanis Guenane
371d826dd4
olm-catalog: Set tower_ee_image as hidden
2021-03-29 14:09:39 +02:00
Shane McDonald
aeebe6cc4b
Allow group to access receptor socket
2021-03-28 15:09:18 -04:00
Shane McDonald
257a3ba807
Allow tower_ee_image to be specified in CR
2021-03-28 15:09:03 -04:00
Shane McDonald
ecdfaf6c0d
Pin version of awx-ee
2021-03-28 15:08:49 -04:00
Shane McDonald
bc28071205
Update variable name
2021-03-28 15:07:39 -04:00
Shane McDonald
8962d501b3
Delete unnecessary file
2021-03-28 15:07:14 -04:00
Shane McDonald
e91031fa73
Fix deployment playbook
2021-03-28 15:06:41 -04:00
Tristan
cb2a059e16
Update kustomization.yaml
2021-03-28 01:25:18 -04:00
Tristan
5e5c7bbdaf
Create kustomization.yaml
...
Creating a kustomization.yaml file will allow awx-operator to be added as a remote resource in a Kustomize deployment.
e.g. :
```
resources:
- https://github.com/ansible/awx-operator/deploy?ref=0.7.0
```
2021-03-28 01:10:50 -04:00
Shane McDonald
8b241e7871
Merge pull request #153 from billett83/devel
...
Handling HTTP loadbalancer
2021-03-26 09:54:49 -04:00
cbillett83@outlook.com
0740fc2bc1
fixes #151 Handling HTTP loadbalancer
2021-03-26 11:20:13 +00:00
billett83
a3cf6c4ea8
Merge pull request #2 from ansible/devel
...
merge changes
2021-03-26 11:05:21 +00:00
Shane McDonald
697ff11fa7
Merge pull request #144 from rooftopcellist/more_unique_pg_pod
...
Name pg pod in a more unique way
2021-03-25 11:20:14 -04:00
Yanis Guenane
0d6980b9b4
Merge pull request #145 from Spredzy/liveliness
...
Update liveness probe defaults
2021-03-24 21:04:48 +01:00
Yanis Guenane
387932e960
Update liveness probe defaults
...
The liveness probes default are too agressive and can lead to
undeployable operators[1][2] - We are bumping them as per the
operator-sdk default in 1.0[3]
[1] https://github.com/operator-framework/operator-sdk/issues/3216
[2] https://github.com/operator-framework/operator-sdk/issues/3267
[3]
ea43495073
Fixes: https://github.com/ansible/awx-operator/issues/131
2021-03-24 20:33:07 +01:00
Yanis Guenane
79e62755b8
Merge pull request #143 from Spredzy/update_bundle_params
...
Update bundle variables to catchup with latest commits
2021-03-24 20:25:38 +01: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
Shane McDonald
7e67838adb
Merge pull request #137 from Zokormazo/backup-read-default-old-configuration
...
Check the default old PostgreSQL configuration
2021-03-24 11:53:53 -04:00
Shane McDonald
7010ab1fc6
Update deploy/olm-catalog/awx-operator/manifests/awx-operator.clusterserviceversion.yaml
2021-03-24 11:52:33 -04:00
Shane McDonald
4eb4abf4f5
Merge pull request #141 from billett83/devel
...
fixes #140 - Allow for private hosted awx-ee image
2021-03-24 09:14:21 -04:00
Yanis Guenane
451e2b6497
Update bundle variables to catchup with latest commits
2021-03-24 14:07:36 +01:00
cbillett83@outlook.com
60479971b8
resolve build failure
2021-03-24 10:19:14 +00:00
cbillett83@outlook.com
76092c366e
alow private hosted awx-ee image
2021-03-24 10:02:33 +00:00
billett83
e09c48d67c
Merge pull request #1 from ansible/devel
...
Merge changes
2021-03-23 16:44:07 +00:00
Shane McDonald
556cb23a14
Merge pull request #138 from shanemcd/bump-18
...
Bump version / update default AWX image / fix CRD
2021-03-23 11:31:52 -04:00
Shane McDonald
62ec946e4f
Use latest version of quay.io/ansible/awx
2021-03-23 11:15:55 -04:00
Shane McDonald
693ce5a17e
Fix CRD
...
Fallout from https://github.com/ansible/awx-operator/pull/128
2021-03-23 11:15:51 -04:00
Shane McDonald
385a4f65a1
Bump version
2021-03-23 11:15:47 -04:00
Shane McDonald
3df272da27
Merge pull request #128 from billett83/devel
...
fixes #127 Provided service type LoadBalancer
2021-03-23 09:49:34 -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
Tyler Auerbeck
d713dce7e0
Intial GH Actions
2021-03-21 20:42:19 -04:00
Yanis Guenane
b00de51fb9
Merge pull request #132 from Spredzy/add_display_name
...
olm-catalog: Add displayName for the resource
2021-03-19 11:30:50 +01:00
Yanis Guenane
c81266af66
olm-catalog: Add displayName for the resource
2021-03-19 11:14:27 +01:00
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
cbillett83@outlook.com
76acd335b9
removed extra space
2021-03-18 11:12:03 +00:00
cbillett83@outlook.com
1570c0a883
Minor Changes from Spredzy
2021-03-18 10:58:00 +00:00
Christian M. Adams
c22577bc80
Make data migration idempotent
2021-03-17 16:03:46 -04:00
billett83
a65834dbf3
Update README.md
...
Co-authored-by: Shane McDonald <me@shanemcd.com >
2021-03-17 15:27:40 +00:00
billett83
e990c6bed2
Update README.md
...
Co-authored-by: Shane McDonald <me@shanemcd.com >
2021-03-17 15:27:35 +00:00
billett83
4297b158dc
Update ansible/instantiate-awx-deployment.yml
...
Co-authored-by: Shane McDonald <me@shanemcd.com >
2021-03-17 15:27:30 +00:00
billett83
f099b15ff8
Update ansible/templates/crd.yml.j2
...
Co-authored-by: Shane McDonald <me@shanemcd.com >
2021-03-17 15:21:11 +00:00
billett83
add62c2973
Update deploy/awx-operator.yaml
...
Co-authored-by: Shane McDonald <me@shanemcd.com >
2021-03-17 15:20:33 +00:00
billett83
084e0b38a8
Update deploy/crds/awx_v1beta1_crd.yaml
...
Co-authored-by: Shane McDonald <me@shanemcd.com >
2021-03-17 15:20:25 +00:00
billett83
c6c94ce48d
Update deploy/olm-catalog/awx-operator/manifests/awx-operator.clusterserviceversion.yaml
...
Co-authored-by: Shane McDonald <me@shanemcd.com >
2021-03-17 15:20:16 +00:00
cbillett83@outlook.com
781d3e0ec7
Provided service type LoadBalancer
2021-03-17 11:59:57 +00: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
Yanis Guenane
d3e7c308c4
Merge pull request #100 from Spredzy/improved_req_mems
...
Requirements: Improve CRD OpenAPI schema
2021-02-16 18:31:08 +01:00
Yanis Guenane
53fd88a4e1
Requirements: Improve CRD OpenAPI schema
2021-02-16 18:14:17 +01:00
Yanis Guenane
3b9b4225ae
Merge pull request #96 from Spredzy/default_and_v1
...
Move to apiextensions.k8s.io/v1 and enable default value on CRD
2021-02-16 15:32:34 +01:00
Yanis Guenane
1a58392804
Merge pull request #98 from Spredzy/improve_local_test
...
Discard .cache from linting and commiting
2021-02-16 14:55:29 +01:00
Yanis Guenane
78eab6873e
Merge pull request #99 from Spredzy/fix_logs
...
CI: Properly return logs when deployment fails
2021-02-16 14:55:19 +01:00
Yanis Guenane
25fc21a6cd
Enum: allow various casing
2021-02-16 14:30:31 +01:00
Yanis Guenane
a39b914963
CI: Bump bsycorp/kind to v1.17.9
2021-02-16 14:30:31 +01:00
Yanis Guenane
a4ee609a76
CRD: Add default value to openAPIV3Schema
2021-02-16 14:30:31 +01:00
Yanis Guenane
fbae5cf590
CRD: Move to apiextensions.k8s.io/v1
2021-02-16 14:30:31 +01:00
Yanis Guenane
6f965c9180
CI: Properly return logs when deployment fails
2021-02-16 14:16:12 +01:00
Yanis Guenane
4e8308c90d
Discard .cache from linting and commiting
2021-02-16 14:14:36 +01:00
Yanis Guenane
e5e996569c
Merge pull request #93 from Spredzy/resource_requirements
...
Allow greater flexibility to specify resource requests/limits
2021-02-10 16:52:45 +01:00
Yanis Guenane
fd4e3b2d4c
Allow greater flexibility to specify resource requests/limits
2021-02-10 15:58:48 +01:00
Yanis Guenane
025dfa54df
Merge pull request #95 from Spredzy/tls_custom_passthrough
...
TLS: Enable passthrough termination mechanism
2021-02-10 15:34:51 +01:00
Yanis Guenane
1fe7c4dd20
TLS: Enable passthrough termination mechanism
...
Depends-On: https://github.com/ansible/awx-operator/pull/94
2021-02-10 15:20:27 +01:00
Yanis Guenane
b5536ffd80
Merge pull request #94 from Spredzy/tls_customization
...
TLS: Enable customization of TLS behavior on route when using edge mechanism
2021-02-10 15:19:56 +01:00
Yanis Guenane
c895ca0f6d
TLS: Enable customization of TLS behavior on route
2021-02-10 12:11:29 +01:00
Yanis Guenane
121c034e6c
Merge pull request #91 from Spredzy/improved_ux
...
Update CSV with richer fields
2021-02-09 22:43:54 +01:00
Yanis Guenane
452bb128c6
Update CSV with richer fields
2021-02-09 22:23:05 +01:00
Yanis Guenane
821198c05e
Merge pull request #90 from Spredzy/standar_gc
...
Secret: Create a toggle to garbage collect secrets in finalizer
2021-02-09 22:22:37 +01:00
Yanis Guenane
8049dfac9c
Secret: Create a toggle to garbage collect secrets in finalizer.
2021-02-09 22:08:24 +01:00
Yanis Guenane
8481390bac
Merge pull request #92 from Spredzy/fix_ci
...
travis.yml: Explicitly list ansible as a dep
2021-02-09 22:07:52 +01:00
Yanis Guenane
0eab2f9686
travis.yml: Explicitly list ansible as a dep
2021-02-09 21:52:51 +01:00
Yanis Guenane
72fd95994b
Merge pull request #88 from Spredzy/admin_password
...
Admin Password: Allow one to specify an admin password secret else generate it
2021-02-09 09:28:50 +01:00
Yanis Guenane
e858f34f2c
Admin Password: Allow one to specify an admin password secret else generate it
2021-02-08 19:29:55 +01:00
Yanis Guenane
90bfe5073b
Merge pull request #89 from Spredzy/secret_key
...
Secret Key: Allow one to specify a secret key else generate it
2021-02-08 19:25:43 +01:00
Yanis Guenane
dfb96d1e18
Secret Key: Allow one to specify a secret key else generate it
2021-02-08 19:11:44 +01:00
Yanis Guenane
5cf9f72f60
Merge pull request #84 from Spredzy/database_configuration
...
PostgreSQL: Allow one to provide her own db configuration secret
2021-02-08 19:08:03 +01:00
Yanis Guenane
e5f1041350
PostgreSQL: Allow one to provide her own db configuration secret
...
If a user provide its own secret by using the
`tower_postgres_configuration_secret` use this variable, else try to use
`<instance>-postgres-configuration` secret. Else create one and use a
local database.
2021-02-08 15:13:56 +01:00
Yanis Guenane
f5ac42dfe2
Merge pull request #87 from Spredzy/fix_yamlliny
...
yamllint: Fix warning
2021-02-08 14:23:43 +01:00
Yanis Guenane
0149afcd9e
yamllint: Fix warning
2021-02-08 14:05:16 +01:00
Yanis Guenane
5efd45570e
Merge pull request #85 from Spredzy/fix_creds
...
tower_config: Remove credential from tower_config.yml
2021-02-08 09:48:58 +01:00
Yanis Guenane
357e8ad2c9
tower_config: Remove credential from tower_config.yml
2021-02-08 09:34:56 +01:00
Yanis Guenane
c5cd12e662
Merge pull request #86 from Spredzy/change_role_names
...
Rename base roles
2021-02-08 09:31:17 +01:00
Yanis Guenane
ad476e4782
Rename base roles
2021-02-05 22:23:23 +01:00
Yanis Guenane
3a2d3d889a
Merge pull request #82 from Spredzy/normalize
...
deployment_type: Introduce the new variable
2021-02-05 21:32:10 +01:00
Yanis Guenane
285be0faff
deployment_type: Introduce the new variable.
2021-02-05 21:19:16 +01:00
Yanis Guenane
38c57a61d0
Merge pull request #83 from Spredzy/database_configuration
...
PostgreSQL: Remove unused/wrongly used variable
2021-02-05 18:33:26 +01:00
Yanis Guenane
7837db6e53
Merge pull request #81 from Spredzy/change_default_admin_username
...
tower_admin_user: default to admin
2021-02-05 18:32:43 +01:00
Yanis Guenane
2daae08790
PostgreSQL: Remove unused/wrongly used variable
2021-02-05 16:11:28 +01:00
Yanis Guenane
c378e0da9f
Merge pull request #79 from Spredzy/toc_readme
...
README: Add a ToC at the top of the README
2021-02-05 16:01:21 +01:00
Yanis Guenane
470870526b
tower_admin_user: default to admin
2021-02-05 15:38:44 +01:00
Yanis Guenane
ae7aae4048
README: Add a ToC at the top of the README
2021-02-05 12:19:21 +01:00
Yanis Guenane
90023b8d75
Merge pull request #74 from Spredzy/trim_csv
...
Remove boiler plated ao-logs run from CSV file
2021-01-28 16:24:14 +01:00
Yanis Guenane
9189333611
Remove boiler plated ao-logs run from CSV file
2021-01-28 16:00:27 +01:00
Yanis Guenane
4e11d45386
Merge pull request #73 from Spredzy/bump_csv
...
Bump awx-operator tag in CSV
2021-01-26 21:32:03 +01:00
Yanis Guenane
9c53c4067e
Bump awx-operator tag in CSV
2021-01-26 21:17:23 +01:00