Forgive the brevity, this is me passing along an error report from a slack thread.
Given a set of values like the following:
values: {
monitoring: {
enabled: true,
},
tls: {
enabled: true,
},
console: {
enabled: true,
config: {
kafka: {
tls: {
enabled: false,
}
},
},
},
external: {
enabled: false,
},
// Listener configuration
listeners: {
// Disable TLS for admin API since we do not expose it externally
// and have had issues running some rpk commands which access
// both the admin API and Kafka API behind TLS.
admin: {
tls: {
enabled: false,
},
external: {
tls: {
enabled: false,
}
}
}
}
}
servicemonitor.yml will generate an incorrect ServiceMonitor because it does not consult the listeners values for information on TLS.
We should make some intermediate renderings/helpers to consolidate TLS definitions and then use that to control whether or not our ServiceMonitor uses http or https.
Forgive the brevity, this is me passing along an error report from a slack thread.
Given a set of values like the following:
servicemonitor.yml
will generate an incorrectServiceMonitor
because it does not consult thelisteners
values for information on TLS.We should make some intermediate renderings/helpers to consolidate TLS definitions and then use that to control whether or not our
ServiceMonitor
uses http or https.JIRA Link: K8S-100