-
Notifications
You must be signed in to change notification settings - Fork 1.1k
drop un-used configmap #1880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drop un-used configmap #1880
Conversation
Signed-off-by: wind57 <[email protected]>
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"; |
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.
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"); |
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 do not need the configmap (and the script it had inside it) to properly run kafka broker
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.
The new image has this?
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.
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 |
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.
drop the volume and the script
|
@ryanjbaxter simplifying some integration test... ready to be looked at, thank you |
No description provided.