Skip to content

Conversation

@wind57
Copy link
Contributor

@wind57 wind57 commented Feb 21, 2025

No description provided.

Signed-off-by: wind57 <[email protected]>
@wind57 wind57 changed the title cleanup drop un-used configmap Feb 21, 2025
Signed-off-by: wind57 <[email protected]>
Signed-off-by: wind57 <[email protected]>
private static final String ISTIO_PILOT_TAR = ISTIO_PILOT.replace('/', '-') + ":" + istioVersion();

private static final String KAFKA = "confluentinc/cp-kafka";
private static final String KAFKA = "confluentinc/confluent-local";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confluent has a new image, that simplifies work that we have to do when when dealing with kafka

deployment.getSpec().getTemplate().getSpec().getContainers().get(0).setImage(imageWithVersion);

V1Service service = (V1Service) yaml("kafka/kafka-service.yaml");
V1ConfigMap configMap = (V1ConfigMap) yaml("kafka/kafka-configmap-startup-script.yaml");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do not need the configmap (and the script it had inside it) to properly run kafka broker

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new image has this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sort of, its an image that has KRaft enabled, by default, so that we don't have to do the hack we did here

# Another solution is to rename the service.
enableServiceLinks: false
volumes:
- name: kafka-start-config-script
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drop the volume and the script

@wind57 wind57 marked this pull request as ready for review February 22, 2025 13:55
@wind57
Copy link
Contributor Author

wind57 commented Feb 22, 2025

@ryanjbaxter simplifying some integration test... ready to be looked at, thank you

@wind57 wind57 requested a review from ryanjbaxter February 22, 2025 14:16
@ryanjbaxter ryanjbaxter added this to the 3.1.6 milestone Feb 22, 2025
@ryanjbaxter ryanjbaxter merged commit f6c1228 into spring-cloud:3.1.x Feb 22, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done
Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants