Donovan Murphy
ed8133be2d
add Service Account annotation
...
Signed-off-by: Donovan Murphy <dono@dono.email >
2020-02-19 20:29:42 -06:00
softwarefactory-project-zuul[bot]
4dee5eddeb
Merge pull request #5989 from egmar/support-for-imagePullSecrets
...
Added support for K8S imagePullSecrets
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-19 19:45:12 +00:00
softwarefactory-project-zuul[bot]
709482bdac
Merge pull request #5980 from shanemcd/downstream_oc_changes
...
properly configure AWX loggers for openshift installs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-19 19:35:12 +00:00
Egor Margineanu
74a31224e0
Moved imagePullSecrets into ServiceAccount definition
2020-02-19 10:45:07 +02:00
Egor Margineanu
667b27fe78
Added support for K8S imagePullSecrets
2020-02-19 10:11:34 +02:00
Donovan Murphy
5e4d73b6a3
fix indent
2020-02-18 20:27:57 -06:00
Ryan Petrello
3a95114c3a
properly configure AWX loggers for openshift installs
...
see: https://github.com/ansible/tower/issues/3793
2020-02-18 12:50:46 -05:00
Jonas DOREL
c94680eaba
Add openshift label app
2020-02-15 14:49:05 +01:00
Jake McDermott
3831efb3be
Use pod uid as instance uuid
...
Inject the pod uid as an environment variable and use it for the
SYSTEM_UUID in the settings file defined by the configmap.
2020-02-12 13:52:09 -05:00
Ashley Nelson
bc97d11270
Add support for no_proxy
2020-01-31 10:05:32 -06:00
Ashley Nelson
ab3a728032
Add custom venv support for proxies
2020-01-29 18:08:38 -06:00
loitho
930b46810f
Add a uwsgi param to prevent SAML error
...
Add the uwsgi_param 'HTTP_X_FORWARDED_PORT' to nginx configuration,
This prevents the python-saml "invalid_response" error
related issue : #5570 and #1016
Signed-off-by: loitho
2019-12-31 03:45:35 +01:00
Shane McDonald
0b4ae74698
Remove some unused stuff from k8s secret
2019-12-12 19:36:56 -05:00
Shane McDonald
dcbb2813b5
Pull in downstream changes to k8s installer
2019-12-02 08:12:51 -05:00
Christian Adams
94fa4deab3
Set default values for analytics settings
2019-11-21 12:29:15 -05:00
softwarefactory-project-zuul[bot]
da5eb710cd
Merge pull request #5358 from ilijamt/patch-1
...
Allow deployments on Kubernetes version 1.16
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-11-21 13:27:15 +00:00
Ilija Matoski
e2cd86089b
Allow deployments on Kubernetes version 1.16
2019-11-20 23:54:10 +01:00
Martin Adema
80b75a163a
Configurable image registry and service account for Postgres deployment.
2019-11-20 14:15:59 +01:00
softwarefactory-project-zuul[bot]
c0abb063f9
Merge pull request #5001 from khawaga/kubernetes_ingress_tls
...
Kubernetes Ingress TLS support
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-11-12 15:34:40 +00:00
Shane McDonald
24da2b78b8
Dont require pg_admin_password unless we're using it.
2019-11-05 15:26:48 -05:00
Shane McDonald
0d68ca8f14
Allow for overriding container groups image from k8s installer
2019-11-04 09:35:03 -05:00
Shane McDonald
d3b137fbc4
Fix broken k8s installs
...
Related: https://github.com/ansible/awx/issues/5205
The following commit introduced this bug:
712b07c136 (diff-a2ef2d6347894a92a6b882e3793fb06c)
2019-11-03 16:03:19 -05:00
Shane McDonald
8356327c2b
Downstream k8s installer changes
2019-10-22 15:57:40 -04:00
Alice Hunter
e5dfc62dce
Fixed bug with python check
2019-10-22 23:06:06 +11:00
Wander Boessenkool
8ecc1f37f0
Move python healthcheck script from probes to configMap
2019-10-18 10:15:21 +02:00
Wander Boessenkool
c49e64e62c
Make HTTPConnection import python 2,3 agnostic
2019-10-17 23:36:33 +02:00
Wander Boessenkool
00c9d756e8
Move installtime hardcoded rabbitmq credentials to environment variables for healthcheck
2019-10-17 23:23:29 +02:00
Wander Boessenkool
9ab58e9757
Change healthcheck from wget and grep to python with httplib
2019-10-17 22:25:20 +02:00
Wander Boessenkool
d6134fb194
Change /bin/ash to /bin/sh as requested by @shanecmd
2019-10-17 21:37:51 +02:00
Wander Boessenkool
038fd9271d
Properly escape quotes
2019-10-14 17:53:28 +02:00
Wander Boessenkool
e87055095c
Change 'rabbitmqctl status' to a wget | grep
...
- This reduces CPU usage from 250 millis on idle to 25 millis on idle
- Default rabbitmq user needs administrator privileges
2019-10-14 14:53:53 +02:00
Khaled Elkhawaga
267e297eca
add variable to set tls secret for kubernetes ingress
...
Signed-off-by: Khaled Elkhawaga <k.elkhawaga@gmail.com >
2019-10-11 00:52:24 +02:00
Christian Adams
ec1e93cc69
Upgrade to postgres 10.6
...
- use awx-python in shebang in dev env
- scl enable where needed for rhel7 & container installs
- use scram-sha-256 pg user hashing by default
- ensure psycopg2 is using the correct PG_CONFIG at build time for the right libpq version
2019-09-12 12:52:43 -04:00
Jose OrPa
04ab736f09
#3778 Upgrading postgresql to v10
2019-09-12 12:52:42 -04:00
Gabriel Totusek
f705eba7ed
Add support for kubernetes tolerations, nodeSelector, and affinity
2019-08-11 23:10:56 -07:00
Ashley Nelson
036e1ad82e
Add dynamic custom venv setup
...
Add support for python3 venvs
2019-07-08 18:49:31 -05:00
Marcelo Mello
52712a0d9a
Introduces the ability to pass annotations to the Kubernetes Ingress Controllers
2019-06-20 16:40:08 -04:00
Marcelo Mello
7d77727a60
project_data_dir is not required in the awx_task containers
2019-06-19 21:35:49 -04:00
Marcelo Mello
47560fdf7c
Fixes ca_trust_dir and project_data_dir for Kubernetes
2019-06-19 21:21:35 -04:00
Yanis Guenane
11630a8803
Installer: quote password where it applies
...
Prior to this change, password having shell interpretable character
would break the installer (e.g '&', '(', etc... )
This commits rely on the `quote` filter from ansible to ensure those
password are properly quoted where it applies
Fixes: https://github.com/ansible/awx/issues/3943
Signed-off-by: Yanis Guenane <yguenane@redhat.com >
2019-06-03 11:50:52 +02:00
itdependsnetworks
f085b828e4
Update the ports for memcache and rabbitmq to be variablized
2019-05-16 19:59:57 -04:00
Ryan Petrello
50f9c70afd
remove references to the (now defunct) fact receiver
2019-05-01 23:48:05 -04:00
Shane McDonald
298eaa0b32
Move secret key from configmap to secret
2019-03-29 15:24:50 -04:00
Shane McDonald
fcf6b4ae45
Fix bug where init scripts didnt create the admin user correctly
2019-03-27 19:43:47 -04:00
Shane McDonald
2b6cf97157
Do not set credentials via environment variables
2019-03-26 15:13:28 -04:00
Ryan Petrello
eed94b641e
add a custom DB backend that provides system-level SQL profiling
...
run this command on _any_ node in an awx cluster:
$ awx-manage profile_sql --threshold=2.0 --minutes=1
...and for 1 minute, the timing for _every_ SQL query in _every_ awx
Python process that uses the Django ORM will be measured
queries that run longer than (in this example) 2 seconds will be
written to a per-process sqlite database in /var/lib/awx/profile, and
the file will contain an EXPLAIN VERBOSE for the query and the full
Python stack that led to that SQL query's execution (this includes not
just WSGI requests, but background processes like the runworker and
dispatcher)
$ awx-manage profile_sql --threshold=0
...can be used to disable profiling again (if you don't want to wait for
the minute to expire)
2019-02-14 15:04:46 -05:00
softwarefactory-project-zuul[bot]
5f01c3f5a8
Merge pull request #2994 from coreywan/pod-limits
...
Add POD Limits
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 04:28:11 +00:00
Corey Wanless
aebeeb170e
adds pod limits
...
Signed-off-by: Corey Wanless <corey.wanless@wwt.com >
2019-01-16 09:23:18 -06:00
Shane McDonald
04da4503db
Python 3 / Upstream Kubernetes
2019-01-15 14:09:05 -05:00
Ryan Petrello
4858868428
configure an HA policy for openshift/k8s installs
2018-12-14 14:08:30 -05:00