-
Notifications
You must be signed in to change notification settings - Fork 79
[KOGITO-3502] - Sasl mechanism no longer set by Kogito operator #593
Conversation
Codecov Report
@@ Coverage Diff @@
## master #593 +/- ##
==========================================
- Coverage 42.01% 35.11% -6.90%
==========================================
Files 169 145 -24
Lines 9012 6903 -2109
==========================================
- Hits 3786 2424 -1362
+ Misses 4812 4157 -655
+ Partials 414 322 -92
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
spec: | ||
resource: | ||
apiVersion: kafka.strimzi.io/v1beta1 | ||
kind: Kafka |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the name is not set we assume KogitoInfra
's name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if name is not provided under resource then for infinispan we assume kogito-infinispan and for kafka we assume kogito-kafka
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need to add this in the docs since it´s not clear from the interface.
/jenkins test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks
Change detected in the PR, requesting reviews and running pipeline(if required) again |
/jenkins test |
@@ -109,5 +113,7 @@ func getInfinispanAppProps(cli *client.Client, name string, namespace string) (m | |||
appProps[propertiesInfinispanSpring[appPropInfinispanServerList]] = infinispanURI | |||
appProps[propertiesInfinispanQuarkus[appPropInfinispanServerList]] = infinispanURI | |||
} | |||
appProps[propertiesInfinispanSpring[appPropInfinispanSaslMechanism]] = saslPlain | |||
appProps[propertiesInfinispanQuarkus[appPropInfinispanSaslMechanism]] = saslPlain | |||
return appProps, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So right now we always add all properties (Spring Boot and Quarkus) to the config map, no matter which runtime is running?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, because the KogitoInfra can be reused by multiple services, both Quarkus and SpringBoot
Many thanks for submiting your Pull Request ❤️!
https://issues.redhat.com/browse/KOGITO-3502
Please make sure that your PR meets the following requirements:
[KOGITO-XYZ] Subject