Commit Graph

154 Commits

Author SHA1 Message Date
Václav Muzikář
500967ecfc Fix createdAt format in Operator CSV (#26428) (#26467)
Closes #26427

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
(cherry picked from commit 7a57bfb504)
2024-01-29 08:45:03 +01:00
Václav Muzikář
a157df995e Update to Quarkus 3.2.9 (#24842) (#24850)
* Update to Quarkus 3.2.9 (#24842)

Closes #24841
Closes #24160

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
Co-authored-by: Bruno Oliveira da Silva <bruno@abstractj.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
# Conflicts:
#	pom.xml

* Fix missing CRD metadata in Operator CSV (#25043)

Closed #24984

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>

(cherry picked from commit 040124bfa7)
Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>

* Downgrade Oracle driver

Closes #24983

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
(cherry picked from commit 1be51ee510)

---------

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2023-11-29 13:59:07 +01:00
Piotr Godowski
002f1a7ce6 check operand StatefulSet is ready for realm import Job to run (#24534)
Closes #24526

Signed-off-by: Piotr Godowski <piotr.godowski@pl.ibm.com>
Co-authored-by: Piotr Godowski <Piotr.Godowski@pl.ibm.com>
2023-11-27 20:17:22 +01:00
Steve Hawkins
f2d48ecbc0 fix: removing the hard expectation of setting the restart condition
closes #24797

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2023-11-27 20:07:47 +01:00
Peter Skopek
0f8d5e9ee5 Add possibility to override fileName and base directory of Keycloak Quarkus distribution ZIP archive (#24518)
Closes #24283

Signed-off-by: Peter Skopek <pskopek@redhat.com>
2023-11-07 10:31:53 +01:00
Alex Szczuczko
a6e4f9a19b Add optional tag to quarkus-container-image-docker (#24582)
This removes from the runtime assembly archives, while still leaving it
available at build time

Closes #24581
2023-11-07 08:40:45 +01:00
Steve Hawkins
4c63f6d7cd Ensures the CRDs are ready for use after installed
Closes #22506

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2023-11-03 23:24:39 +01:00
Steve Hawkins
7462453ce8 fix: exceptions should be ignored in until the condition is met
closes #24477
2023-11-03 23:24:39 +01:00
Václav Muzikář
7b79256754 Remove Quarkus branding from the Operator log (#24419)
Closes #24413

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2023-10-31 18:41:33 +00:00
Pierre Prinetti
f97858c9d6 operator: Replace dead documentation link (#23777)
Before this patch, the documentation link generated for the Operator
page resulted in a 404 Not Found on Github pages.

With this change, the documentation link points to the "Operator" anchor
in the Keycloak docs index. Note that the operator docs don't seem to be
versioned on the Keycloak website.
2023-10-21 19:41:52 +02:00
Steven Hawkins
1c45810594 test: eliminates some possible timing issues with watched secrets tests (#23942)
closes #23940
2023-10-18 08:55:19 +02:00
Alex Szczuczko
f3d0ef442a Optionally accept RELATED_IMAGE_KEYCLOAK as the operand coordinate (#24062)
This changes the quarkus configuration of the operator so that if the
RELATED_IMAGE_KEYCLOAK environment variable is present, it will be
accepted over the default value

Closes #24017
2023-10-17 20:31:38 +00:00
James Hewitt
8bc37ccbb0 Tolerate secrets being missing (#23741)
If any secret was missing, the reconcile would error out. After doing
this a number of times, the controller would stop trying and end up in a
state where the operator would need restarting, or the resource would
need recreating, to continue reconciliation.

This fix stops the reconcile from erroring out so the operator will
reconcile continuously until the secrets are all present.

Fixes #22170
2023-10-06 08:49:26 +00:00
Steven Hawkins
79bfa7c605 fix: remove common-compress (#23744)
closes #23331
2023-10-05 17:09:19 +00:00
Steven Hawkins
643cae4584 Removes the bundle generator from the runtime (#22860)
Closes #22573
2023-08-31 14:02:24 +00:00
Steven Hawkins
abf27e7b06 removing the quarkus-minikube dependency (#22575)
Closes #22517
2023-08-21 13:59:39 +00:00
Steven Hawkins
14c7d96912 removing build time dependencies from the runtime (#22574)
Closes #22496
2023-08-21 13:58:35 +00:00
Peter Zaoral
0466261a63 Remove Brotli dependencies from the distribution and operator (#22510)
* excluded the dependencies from the keycloak-quarkus-server and operator poms

Closes #22482

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2023-08-17 10:23:08 +00:00
Steven Hawkins
902214f6ae removing vertx-uri-template as a dependency (#22502)
there's no usage of UriTemplate (smallrye or vertx in keycloak /
fabric8), so it can be removed from server and the operator

Closes #22468
2023-08-17 07:39:54 +00:00
Steven Hawkins
132cf631f0 removes logging full resources to omit secret data (#22440)
Closes #22080
2023-08-15 15:51:06 +02:00
Václav Muzikář
5f533e8d9f Fix Operator tests on OpenShift
Closes #22032
Closes #22140
Closes #22142
2023-08-04 16:05:19 +02:00
Václav Muzikář
13893cbb96 Update bcpkix and bcprov dependencies (#21543) (#21845)
Closes #21360

(cherry picked from commit 776bcbcbd4)
2023-07-26 06:58:47 +02:00
Steven Hawkins
d655876c7a Adds a pod list rbac (#21850)
Closes #21814
2023-07-20 16:10:55 +00:00
Steven Hawkins
be4eb60849 switches the workaround to JsonNode, which produces a cleaner crd (#21829)
Closes #21739
2023-07-20 08:33:56 +02:00
Václav Muzikář
1c56f9ed11 keycloakCRName and realm are no longer marked as required in KeycloakRealmImport CRD (#21634)
Closes #21607

(cherry picked from commit 6a3ea1a084)
2023-07-17 12:35:11 +02:00
Steven Hawkins
c7920ee7d8 Switches the merging logic to using the override as the basis (#21711)
Ensures additionalProperties are the lowest precedence

Also removes support for setting the image pull secrets via the
unsupported podtemplate

Closes #10503
2023-07-17 08:53:31 +02:00
Pedro Ruivo
165c36f9ff Enable publishNotReadyAddresses for discovery service (#21511)
Closes #21493
2023-07-10 17:02:55 +02:00
Peter Zaoral
2b1c29a6f2 Use Quarkus Platform BOM
Closes #20570
Closes #15870

Co-authored-by: Peter Zaoral <pzaoral@redhat.com>
2023-07-06 12:45:48 -03:00
Václav Muzikář
ad988ca914 Upgrade to Quarkus 3.2.0.Final and QOSDK 6.2.0
Closes #21272
2023-07-03 08:11:18 -03:00
Steven Hawkins
b0e7958906 adds port names to the pod / service (#21291)
Closes #12593
2023-07-03 08:13:30 +02:00
Steven Hawkins
5ee21ab6d1 scrapes pod container statuses when waiting for more to become available (#21257)
Closes #10285
2023-06-30 08:49:48 +00:00
Steven Hawkins
73076a37f9 adding just crd tests of the specs (#21302)
Closes #20936
2023-06-29 16:55:11 +02:00
Steven Hawkins
88992dae19 widens status to be any type. (#21281)
this is to avoid olm complaining about an incompatible schema during
upgrade

Relates to #13074
2023-06-29 08:57:22 +02:00
Steven Hawkins
e9c9f80e8d adds an instance label to support multiple instances (#20906)
Closes #10562 #14220
2023-06-28 18:05:23 +02:00
Steven Hawkins
4dba17253e changes the label prefix to operator.keycloak.org (#21175)
closes #21141
2023-06-28 11:21:02 +02:00
Steve Hawkins
6a92669139 finishes the conversion away from createOrReplace
however this is a broader change given the implications of
serverSideApply vs createOrReplace - mostly the concern of only applying
the managed state not based upon an existing resource

Closes #20850
2023-06-23 11:55:47 -03:00
Martin Bartoš
13a463f71e Avoid calls to Control Plane when the secondary resource is in cache
Closes #21109
2023-06-22 10:03:35 -03:00
Martin Bartoš
0ecdebc000 Incorrect Url on Keycloak Health - Liveness and Readiness, no Startup Probes
Fixes #17388
2023-06-22 05:32:53 -03:00
Steve Hawkins
5701f70157 changes condition status to be a string, rather than a boolean
Closes #13074
2023-06-21 17:14:33 -03:00
Steve Hawkins
4540ca365c infers the default ip/hostname from the client
Closes #21114
2023-06-21 12:30:54 -03:00
Steve Hawkins
14747f45ca removing the usage of MultivaluedStringStringHashMap and ComponentExport
map

upstream improvements make this no longer necessary

Closes #20937
2023-06-21 12:30:41 -03:00
Alex Szczuczko
3246a15442 Use quarkus-operator-sdk-bundle-generator for OLM YAMLs
Closes #10911
2023-06-20 15:01:44 -03:00
Martin Bartoš
c3000984db Upgrade to Quarkus 3.1.1.Final (#20958)
Co-authored-by: Bruno Oliveira da Silva <bruno@abstractj.com>
2023-06-14 08:51:38 -03:00
Steve Hawkins
7e2565c9fe using multiple SchemaSwap annotations instead of the schell script
Closes #10736
2023-06-13 06:00:28 -03:00
Steve Hawkins
c1e96564dc Removes the check for full readiness of 3 replicas
In the ci environment the amount of time between 3 pods being created
and all being ready seems highly variable.  Also since we currently lack
the status information to determine if a deployment is not progressing,
it's best just to remove this check.  The latter check asserting full
readiness of 2 replicas will suffice.

Closes #20888
2023-06-12 12:34:48 -03:00
Steven Hawkins
91a3ab6b87 expands the status handling to account for the prior status (#20856)
Closes #20853
2023-06-08 17:09:39 +02:00
Steven Hawkins
075d913037 enabling keycloak to be a scalable resource (#20828)
Closes #20825
2023-06-07 17:57:25 +02:00
Steven Hawkins
d77041f177 mostly updating the logic to newer fabric8 apis (#20825)
Closes #20822
2023-06-07 14:58:39 +02:00
Václav Muzikář
989ffe2d22 Remove Fabric8 override from the Operator (#20728)
Closes #20130
2023-06-06 13:58:20 +00:00
Steven Hawkins
d045156ba4 Adding the ability to set ingressClassName (#20796)
Closes #20723
2023-06-05 21:10:39 +00:00