Commit Graph

28 Commits

Author SHA1 Message Date
Leo Puvilland
65f06a461c communishift: allow overriding of max pods, and increase pods of openscanhub to 16
Signed-off-by: Leo Puvilland <leo@craftcat.dev>
2024-03-11 13:49:52 +00:00
Kevin Fenzi
da6667921a communishift: and a typo. sigh
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-16 13:40:48 -08:00
Kevin Fenzi
57065ba607 communishift: how about single quotes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-16 13:38:45 -08:00
Kevin Fenzi
0a7b19d541 communishift: set defaults
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-16 13:35:06 -08:00
Leo Puvilland
7151598324 bugfix: replace communishift_project_name with item.value.name 2023-11-16 12:58:19 -08:00
Leo Puvilland
125f956f06 rework communishift to allow for per-project resource requirements 2023-11-16 19:52:58 +00:00
Francois Andrieu
7e979cb2f7 communishift: set default resource limits for pods
Once a resource quota is set for a namespace, kube will refuse to
schedule any pod without limits set, including build pod.
This can be difficult to figure out unless you know where to look, and
can be challenging for new openshift/kubernetes users.
Setting a default limit would, at least, avoid the non-schedulable
issue.
2023-02-05 22:46:55 +00:00
David Kirwan
d37f87ec1a communishift: Fixing tags on the deploy operator task
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-08 11:55:06 +01:00
David Kirwan
78e58efee1 communishift: Create k8s secret for the communishiftauthorization
operator

Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-09-08 11:47:43 +01:00
David Kirwan
2b4b5fefd0 communishift: Create directory for operator keytab
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-29 11:31:33 +01:00
David Kirwan
ed3f658523 communishift: Update variable cluster hostname
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-29 11:09:10 +01:00
David Kirwan
d9fa6611ae communishift: Add task to create namespace for communishift authorization operator
Create IPA keytab for communishift authorization operator

Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-29 10:50:50 +01:00
David Kirwan
ae32caf150 communishift: Added task for creating Openshift ResourceQuota
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-23 09:06:20 +01:00
David Kirwan
ccafc89498 communishift: Added task for creating Openshift Role, RoleBindings
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-22 12:06:36 +01:00
Lenka Segura
81a5f3db0d communishift: Added EFS secrets to project namespace
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-18 16:47:06 +02:00
Lenka Segura
b4368593fe communishift: Added task for creating Openshift Group
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-18 12:38:59 +02:00
David Kirwan
e9bced043b communishift: Configure AWS EFS to continue on fail
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-16 15:29:22 +01:00
David Kirwan
b1a0394649 communishift: Added tasks for creating project namespaces
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-16 15:00:28 +01:00
David Kirwan
2007abcbd0 communishift: Added role for creating AWS EFS resources on demand
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-16 14:38:34 +01:00
David Kirwan
fa8a2f38df communishift: configuration playbook to take project parameter list
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 14:03:04 +01:00
David Kirwan
34529598be communishift: removing never tag
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 12:14:10 +01:00
David Kirwan
916c1cf419 communishift: setting never tag to create efs role
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 12:10:42 +01:00
David Kirwan
0f31a890c4 communishift: debugging role
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 11:49:41 +01:00
David Kirwan
27acedb9b8 communishift: debugging variable substitution
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 11:37:06 +01:00
David Kirwan
f34a42b1f6 communishift: EFS create task
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-11 11:17:46 +01:00
David Kirwan
c290e2969a Communishift: Testing playbook/role structure
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-10 10:18:07 +01:00
David Kirwan
93ac27512a Communishift: Testing playbook structure
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-09 15:11:19 +01:00
David Kirwan
b430063f7f CommuniShift: Playbook and role for communishift tenant onboarding.
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
2022-08-09 14:52:04 +01:00